Whats the CSS for mozilla margins?
Cheers.
| SitePoint Sponsor |

Whats the CSS for mozilla margins?
Cheers.
Webdesigner in Training
Currently Studying: PHP





Hello
?
margin-top:1em;
margin-right:1em;
margin-bottom:1em;
margin-left:1em;
or use this way
.x{margin:1em 1em 1em 1em;} (top right bottom left)
Last edited by all4nerds; Apr 3, 2006 at 04:48.




I'm sorry I have to comment here. Sure IE sucks, Opera is around as is Netscape, but they are like the also rans at a political election.
Mozilla, Firefox or Mozilla Firefox, is a web browser too, they all have the same css spec as to how you create margins.
Thats the point of CSS, or have I missed the point here?




thats what I was thinking. surely it all gets declared in the same way?


Yes, the syntax is the same for all browsers; it's defined by the CSS specification.
Off Topic:
IE/Win has some serious margin-related bugs, though: it doubles certain margins on floated elements and doesn't handle collapsing margins correctly.
Birnam wood is come to Dunsinane

so whats the point of -moz-margin-start, etc
and all the other CSS that starts with -moz?
Webdesigner in Training
Currently Studying: PHP
That isn't standard CSS and is specific to Mozilla browsers.
Bookmarks