Add a background color to a table

Thread Solved

Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Add a background color to a table

 
0
  #11
May 21st, 2009
Two points:

use:

.stylename for a class

#stylename for an id

Note that class can be used on multiple tags, id can not.

The use of width= in the tag causes some browsers to ignore the style. Put the width and border in the style too.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC