Topic: top margin in mozilla (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=10783" title="Pages that link to Topic: top margin in mozilla (Page 1 of 1)" rel="nofollow" >Topic: top margin in mozilla <span class="small">(Page 1 of 1)</span>\

 
WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 08-05-2002 00:34 Edit Quote

Does anyone know how the margin-top property works in mozilla? It seems not to be working for me:
http://www.sinc.sunysb.edu/Stu/dcurran/business/business.html

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 08-05-2002 04:22 Edit Quote

I see this in one place:

#content {
margin-top: 10px;
margin-left: 10px;
}

and this in another:

#content {
margin: 60px 0px 0px 175px;
...
}

Perhaps Mozilla is incorrectly using the first margin declaration rather than the second? It would be a bug, but a possibility. Comment out the first one.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 08-05-2002 14:34 Edit Quote

I deleted the first one. And the same problem. You could tell it is disreguarding the first one as the margin left was perserved at 175 px.

I wish I knew what was going on with this. On mozilla the same thing is happening on another one of my pages: http://www.flrba.com

I realy want to fix this but don't know how to.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 08-05-2002 14:50 Edit Quote

http://bugzilla.mozilla.org/show_bug.cgi?id=1583

I found this over at bugzilla, however, it says the problems has been fixed. I am really confused. Do I just need to give up on my current way of doing things? It works in both opera and IE, of course it doesn't work on NS 4.7 but I am still really confused as to what is going on.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 08-05-2002 15:00 Edit Quote

By the way, if you're using XHTML 1.0 strict (which you are), you should *not* have comment tags inside your CSS style tags; the correct behavior of a browser in this case is to ignore all your styles. Same with script tags.

(Will come back to this later)

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 08-06-2002 00:02 Edit Quote

Ok, thanks for the tip. I'll get rid of them.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 08-06-2002 02:11 Edit Quote

I hope you don't mind if I add a little something onto my problems with that page. Opera doesn't seem to like the right: and bottom: properties for absolute alignments. Does anyone know a work around for that one?



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu