Topic: top margin in mozilla (Page 1 of 1) Pages that link to <a href="https://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

posted posted 08-05-2002 00:34

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

posted posted 08-05-2002 04:22

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

posted posted 08-05-2002 14:34

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

posted posted 08-05-2002 14:50

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

posted posted 08-05-2002 15:00

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

posted posted 08-06-2002 00:02

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

posted posted 08-06-2002 02:11

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:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu