i'm happy to say im going back with designing with some tables
View Single Post
03-20-2009, 12:43 AM
Join Date: Feb 2009
Does the STYLE attribute in the DIV tags override anything that's set in the CSS styles?
Yes inline will override the styles set in the style tags or a CSS file.
I should note that placing inline style ahead of the id or class tag causes the styles set to the id or class tag to override the inline styles. So always place inline styles after the id and class tags.
As well style set to an id tag can be overridden by style set to a class tag if the class tag follows the id tag.
And style set in a file that is called before style set in <style> tag can be overridden by the style in the <style> tag.
Best I can count you could override your styles 6+ times in the same page. Of course that is just poor coding but I can be done.
The Following User Says Thank You to Krik For This Useful Post:
View Public Profile
Send a private message to Krik
Find More Posts by Krik