|
Posted by F.C. James on 01/31/07 12:07
Beauregard T. Shagnasty wrote:
> F.C. James wrote:
>
>
>>I have worked with this all day and for some reason I can't get the
>>top of the four columns 11, 22, 33 and 44 to close the gap between
>>the top of them and the bottom of the header. I don't have any
>>borders, cellspacing or margin. Why is the backgound bleeding
>>through ?
>>
>>http://ride.0taxi.com/downyonder/
>
>
> You have too many errors to make an accurate judgment. HTML:
> <http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fride.0taxi.com%2Fdownyonder%2F>
>
> Paste your CSS here:
> http://www.htmlhelp.com/tools/csscheck/
>
> New pages should be Strict, not Transitional, and you shouldn't be
> coding in 1995-style markup.
> http://htmldog.com/
>
I got a lot of warnings because of my use of "background" and
background-color"
So I went to html dog for guidance and they gave me this --
http://htmldog.com/guides/cssintermediate/classid/
#top {background-color: #ccc; padding: 1em}
..intro {color: red; font-weight: bold;}
So I checked it at
http://www.htmlhelp.com/cgi-bin/csscheck.cgi
And got these warnings.
-----------------------------------------------
#
#top { background-color: #ccc; padding: 1em}
Warning: To help avoid conflicts with user style sheets, background and
color properties should be specified together.
#
#top { background-color: #ccc; padding: 1em}
Warning: To help avoid conflicts with user style sheets,
background-image should be specified whenever background-color is used.
In most cases, background-image: none is suitable.
#
background-color: #ccc
Warning: The shorthand background property is more widely supported than
background-color.
#
..intro {color: red;font-weight: bold;}
-----------------------------
Who can you trust ?
[Back to original message]
|