Cetanu Posted October 26, 2009 Share Posted October 26, 2009 #myGallery { width: 560px !important; height: 240px !important; } What does the exclamation do?!?!?!? It looks like a comment, but I totally don't understand. Even more, W3C validator says it works, so it must be right >.> Thanks! Quote Link to comment Share on other sites More sharing options...
Mchl Posted October 26, 2009 Share Posted October 26, 2009 http://www.w3.org/TR/CSS21/cascade.html#important-rules Quote Link to comment Share on other sites More sharing options...
Cetanu Posted October 26, 2009 Author Share Posted October 26, 2009 http://www.w3.org/TR/CSS21/cascade.html#important-rules Yay! Thanks. Now, what is the difference between "author" and "user" style sheets? I may know what they are, just by a different title. Quote Link to comment Share on other sites More sharing options...
haku Posted October 27, 2009 Share Posted October 27, 2009 You can name stylesheets whatever you want (with exceptions...). They are just arbitrary names. Side note: using the ! in CSS is usually bad practice. Quote Link to comment Share on other sites More sharing options...
Mchl Posted October 27, 2009 Share Posted October 27, 2009 'Author' style sheet is the CSS associated with page, 'User' sheet is associated with browser. Usually browser settings override styles associated with page (one of the reasons being people with impaired vision who need to have large bright letters on dark background). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.