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! Link to comment https://forums.phpfreaks.com/topic/179104-solved-in-css/ 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 Link to comment https://forums.phpfreaks.com/topic/179104-solved-in-css/#findComment-944986 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. Link to comment https://forums.phpfreaks.com/topic/179104-solved-in-css/#findComment-945028 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. Link to comment https://forums.phpfreaks.com/topic/179104-solved-in-css/#findComment-945147 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). Link to comment https://forums.phpfreaks.com/topic/179104-solved-in-css/#findComment-945290 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.