Jump to content

Centering image without <center>


inki

Recommended Posts

Really? !important changes priority? I thought it's only applyed when styles are turned off, so it could provide balance between author and user stylesheets. Only an !important rule in the user stylesheet can override an !important rule in the author stylesheet.

Link to comment
Share on other sites

The browser's default styles are lowest priority, you only see the default font, size, colors etc if there are no styles defined that override the defaults.

Okay, you may be right about that, I just tested it. But I really thought it was the highest, lol :)I have heard of !important thingy, never used it never needed it either, but didn't even know what it was meant to do... Would it work in every browser? I don't know the use of it, while I myself won't have double values defined to the same element: I use external sheets only (but even if I add an internal I wouldn't define doubles either) Thus making !important obsolete :)Anyway, ontopic,,, Edited by Dan The Prof
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...