Ok, im trying to position text on the screen exactly where I want
I have about 20 different things placed on the screen
using <div style='position: absolute; top: x; left: y;'>
and i've been told to change that by a friend...
So im looking for a way to do the same thing purely in css
however, my text is not, and CAN NOT be grouped all in one, so using something like
p {
top:30px
left:25px
}
or w/e it is, wont work
Can anyone tell me what to use o_O?
Positioning text on the screen exactly with css
Moderator: General Moderators
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
umm... this is pure css man
That's inline css, but it's still css.
absolute positioning is more often than not, a bad idea... in my opinion. I'd consider setting up something a little less 1998ish. What exactly are you trying to accomplish? Maybe with more details I can better assist you?
Code: Select all
<div style='position: absolute; top: x; left: y;'> absolute positioning is more often than not, a bad idea... in my opinion. I'd consider setting up something a little less 1998ish. What exactly are you trying to accomplish? Maybe with more details I can better assist you?
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
hmm
Just position content on the page
specificly
not like 'left right center etc..' more like 385, 591 for exact coordinates
specificly
not like 'left right center etc..' more like 385, 591 for exact coordinates
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
hmm
let me try and draw it o_O
nvm, bad idea lol
nvm explaining bad idea (removes spaces LOL)
if you had msn/aim/icq/yahoo I could send you a screen shot of it?
Please lol
nvm, bad idea lol
nvm explaining bad idea (removes spaces LOL)
if you had msn/aim/icq/yahoo I could send you a screen shot of it?
Please lol