Reply to Re: Parsing CSV-file and adding CSS to style

Your name:

Reply:


Posted by �rjan Langbakk on 06/25/06 19:25

Den 25.06.2006 19:47, skriblet R. Rajesh Jeba Anbiah følgende:
> Ørjan Langbakk wrote:
>> I'm parsing a CSV-file into a table on a webpage - and I'd like to be
>> able to change the alignment for the _last_ <td> in each <tr> - but, as
>> the file is today, it's not possible for me to assign a CSS-class on
>> only the last <td>. I was wondering if anyone could give me a clue as to
>> what I need to change in the following code, to make this possible (I'm
>> assuming I need to have each <td> present in the code, so as to be able
>> to assign a class to the last one, but how?
> <snip>
>
> <OT>
> According to your browser support, you may use CSS selectors
> <http://www.w3.org/TR/css3-selectors/> for that:
>
> td:last-child{}
> </OT>

Doesn't work in all browsers, and that makes it completely useless. But,
see the answer from Rik, which solved my problem :)

--
mvh
Ørjan Langbakk
http://www.bergenpchjelp.no
http://www.cubic-design.net

[Back to original 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

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