css 101 question

P

ppcguy

seems like attribute settings are context sensitive.

for example, i can set the background-color of
a COL element - but not the border settings.

can someone point me to a site that clarifies these
context sensitive rules.

thanks.
 
S

Safalra

ppcguy said:
seems like attribute settings are context sensitive.

for example, i can set the background-color of
a COL element - but not the border settings.

can someone point me to a site that clarifies these
context sensitive rules.

I'm not quite sure what you mean here, but the CSS specification is
very readable and should help things make sense:

http://www.w3.org/TR/REC-CSS2/
 
D

David Håsäther

ppcguy said:
seems like attribute settings are context sensitive.

for example, i can set the background-color of
a COL element - but not the border settings.

can someone point me to a site that clarifies these
context sensitive rules.

Only four properties applies to COL and COLGROUP, and sometimes only
under certain conditions.
See http://www.w3.org/TR/CSS21/tables.html#q4
 
N

Neredbojias

With neither quill nor qualm, ppcguy quothed:
seems like attribute settings are context sensitive.

for example, i can set the background-color of
a COL element - but not the border settings.

can someone point me to a site that clarifies these
context sensitive rules.

Columns don't have borders, cells do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top