You are here: CSS and tables « HTML « IT news, forums, messages
CSS and tables

Posted by News Hippo on 08/30/06 12:03

Hi,

I know how to add an ID to my css file and apply it to the table in my
html code. Question if I have more than one table how do I redefine
the following css code to only apply to a particular table?

Not mine, but a page that shows what I want to do:

http://builder.com.com/5100-6371_14-5244791.html

if you duplicate the html code and change

<table id="sample" cellspacing="2">

to
<table id="sampletest" cellspacing="2">

the css definitions of .data, .toprow, .leftcol get applied to the
second table.

I understand the following as only applying to a table with id sample

table#sample {
table#sample td {

basically how do I redefine .data, .toprow, .leftcol so that they too
only apply to the table id "sample"?

Thanks in advance for any help.
Lisa

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация