You are here: Re: why can't I set a tr margin? « HTML « IT news, forums, messages
Re: why can't I set a tr margin?

Posted by Harlan Messinger on 06/22/06 12:55

David Dorward wrote:
> rosdi wrote:
>
>> I tried to separate my table rows a few pixels away from each other,
>> but my css below doest work, why?
>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>> <style type="text/css">
>> <!--
>
> Two reasons, first - you commented out your stylesheet. So it will be ignored

It won't. <!-- and --> are permitted to appear in CSS but aren't treated
as comment delimiters. This allows the CSS code to be hidden from agents
that don't know what <STYLE> tags are so that they don't treat it as
(bad) HTML.

> (unless you're serving your XHTML as text/html, in which case -
> what's the point?).

 

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

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