5 replies [Last post]
mohannadj.92@gm...
Offline
Regular
canada
Last seen: 3 years 28 weeks ago
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
Regular
canada
Last seen: 3 years 28 weeks ago
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
Guru
Milton Keynes
Last seen: 7 weeks 4 days ago
Milton Keynes
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

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
Enthusiast
Lancashire, England, UK
Last seen: 1 year 1 week ago
Lancashire, England, UK
Timezone: GMT+2
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
Guru
Last seen: 6 weeks 1 day ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2037
Points: 2259

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

I consider this a Triumph.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 15 hours 52 min ago
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15654
Points: 2792

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