Log In · Register

 
 
Closed TopicStart new topic
Div help, need help positioning boxes.
xgrizzy
post Jun 4 2008, 06:02 PM
Post #1


Senior Member
***

Group: Member
Posts: 60
Joined: Mar 2008
Member No: 626,923



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
post Jun 6 2008, 09:28 AM
Post #2


Senior Member
******

Group: Staff Alumni
Posts: 2,435
Joined: Feb 2007
Member No: 506,205



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
post Jun 6 2008, 11:17 AM
Post #3


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



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
post Jun 6 2008, 06:20 PM
Post #4


Senior Member
***

Group: Member
Posts: 60
Joined: Mar 2008
Member No: 626,923



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
post Jun 6 2008, 07:21 PM
Post #5


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



don't do percentage. that is most likely why you're having problems positioning.
position with pixels. (px instead of %).
 
xgrizzy
post Jun 6 2008, 07:38 PM
Post #6


Senior Member
***

Group: Member
Posts: 60
Joined: Mar 2008
Member No: 626,923



alright got it.
thanks for answering my question.
:D
 
Smarmosaur
post Jun 6 2008, 07:57 PM
Post #7


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



no problem. glad to help. feel free to PM me if you have any more questions. :]
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: