When your authors are as smart as they can add border-attributes to
html-table-elements, than they are smart enough to add for ex.
style="border: 1px solid #000;" too. Inline Styles have the highest
priority/specifity.

But anyway: You should go and check your loading-order. This has an high
impact on "css specifity" (google this). Rule 1: Load your frameworks first
if you want to override them.

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von maddoxej
Gesendet: Donnerstag, 17. Juni 2010 17:48
An: Blueprint CSS
Betreff: [BP #3958] Table borders in reset

I'm developing for a Content Management System. I don't have complete
control over the HTML.
The content authors are creating some tables with HTML like <table
border="1" ...>  The reset script sets border:0 for all tables.

The css rule to say there should be no borders overrides the HTML
attribute requesting a border.

There is no way for me to let my content authors use the border
attribute to designate some tables as having borders.

In most cases I can override the reset css with my own css. However in
this case I can't. If I set a border in css that will force a border
on the table. There is no way to say it should apply borders to tables
only if they have the border attribute.

Because of that I had to take the table and td out of the list of
elements that get all the reset rules and give table and td their own
set of rules that does not include border:0. You may consider this for
everyone.

-- 
You received this message because you are subscribed to the Google Groups
"Blueprint CSS" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/blueprintcss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Blueprint CSS" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/blueprintcss?hl=en.

Reply via email to