Sent by Marshall Roch on 7 November 2002 02:02
I have 2 stylesheets... the first to create the overall layout of the
site, and the second which is specific to the content on the homepage.
On the homepage, both stylesheets are linked through @import.
<style type="text/css">@import url("/style/style.css");</style>
<style type="text/css">@import url("/style/index.css");</style>
style.css:
p { margin: .2em 0 .8em 0; }
index.css:
p { margin: 0; padding: 0; }
The css validator throws an error:
* Line : 2 Level : 2 Redefinition of margin-left : p
* Line : 2 Level : 2 Redefinition of margin-bottom : p
* Line : 2 Level : 2 Redefinition of margin-top : p
* Line : 2 Level : 2 Redefinition of margin-right : p
I was under the impression that p's margin /could/ get redefined. If
that's not the case, how would I go about fixing this if I need the
margin to be set to .2em 0 .8em 0 for all pages but the main page?
Thanks, hopefully that made sense...
Marshall Roch
_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning