5 replies [Last post]
mohannadj.92@gm...
Offline
Last seen: 2 years 9 weeks ago
Regular
canada
Timezone: GMT-6
Joined: 2011-03-05
Posts: 12
Points: 20

my question is on the tag. if you give it an id then css that id, the only thing you can do is change the background color? why is that... thats weird. I wrote it up so you can see what i am saying. does it have to do with my browser (im using firefox)?

#col1 {background-color:red;color:blue;font-weight:bold;}

hello
hello

mohannadj.92@gm...
Offline
Last seen: 2 years 9 weeks ago
Regular
canada
Timezone: GMT-6
Joined: 2011-03-05
Posts: 12
Points: 20

woops

i made a mistake by putting in tags... i was talking about the col tag.

thepineapplehead
thepineapplehead's picture
Offline
Last seen: 3 weeks 5 days ago
Guru
Milton Keynes
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9667
Points: 800

Please post ALL your code in

Please post ALL your code in code tags Smile

Verschwindende wrote:
  • CSS doesn't make pies

jon19870
jon19870's picture
Offline
Last seen: 1 year 37 weeks ago
Enthusiast
Lancashire, England, UK
Timezone: GMT+1
Joined: 2007-01-05
Posts: 195
Points: 194

<col> only supports style for

<col> only supports style for it's backgrounds, width and borders.

Verschwindende
Verschwindende's picture
Offline
Last seen: 1 year 15 weeks ago
Guru
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2256

jon19870 wrote: <col> only

jon19870 wrote:

<col> only supports style for it's backgrounds, width and borders.

... and visibility. Smile
http://www.w3.org/TR/CSS2/tables.html#columns

yet again.

Hugo
Hugo's picture
Offline
Last seen: 2 hours 29 min ago
Moderator
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15586
Points: 2720

Lets not forget possible

Lets not forget possible vagrancies in browser support?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me