You are here: Re: Subsequent declaration on TH and TD doesn't work « HTML « IT news, forums, messages
Re: Subsequent declaration on TH and TD doesn't work

Posted by Benjamin Niemann on 01/11/07 10:39

Hello,

milanobybike@gmail.com wrote:

> Ok.. now.. in my css file I declare the following:
>
> #th { width:100px }
> #th.h50 { width:50px }

Replace this with

th { width:100px }
th.h50 { width:50px }

'#' is used to refer to elements by their ID.

> Now.. when I go into the html code and put <th class="h50">, the
> browsers just ignore that and leaves the width to 100px.. usually
> declaring something later overwrites what's been declared earlier..
> Does anyone know why it doesn't work in this case?

HTH

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

 

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

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