954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

doctype transitional no table background color

when i add the following:

to the code the background colors for tables no longer show up and are transparent instead. even with or it is still transparent. I cannot figure out why this is happening. without the doctype the background colors do work.

roostr
Newbie Poster
6 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

You're missing the # in front of those examples, it should be background-color: #ffffff;.

Veneficae
Light Poster
38 posts since May 2010
Reputation Points: 11
Solved Threads: 5
 

thank you, that was the problem.

roostr
Newbie Poster
6 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

The dtd is

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,794 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: