Help - Search - Members - Calendar
Full Version: Div help
Forums > Resource Center > Webmasters' Corner > Resolved Topics
xgrizzy
So I made a div layout for my myspace and here's how it turned out

myspace.com/rawrlayouttester1

I was looking at it in FF
but then I checked it in IE & it's misaligned D:
How do I position the boxes properly?
& move it up more because there's a huge gap at the top. o_o
schizo
I'm almost positive that it's because you have the "top:20%;" part in the positioning of your layers. If you get rid of that and just do the margin from the top in pixels and no percents, it should all line up in both browsers.
Smarmosaur
i don't even want to look at that layout again. it's horrible.

but for positioning...
as said above, use pixels, not percent.

if that doesn't help, try this...

CODE
top: #px;
_top: #px;
left: #px;
_left: #px;


firefox will read the normal ones, top and left. only IE will read the _top and _left. :]
xgrizzy
Sorry, this is pretty much my first time making a Div n_n
& the flashing part hurts your eyes sorry ^^;
Alright I''l try that.
:]
but wait. . .
I can't find where it is though.
Where Do I edit the percentage?
Smarmosaur
don't do percentage. that is most likely why you're having problems positioning.
position with pixels. (px instead of %).
xgrizzy
alright got it.
thanks for answering my question.
:D
Smarmosaur
no problem. glad to help. feel free to PM me if you have any more questions. :]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.