|
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]
|