TestingXSD
Programmer
I have a strange one here. I have a page that I have been using for awhile now. Our boss wants us to change or stuff to be XHTML. (We all have a Boss like this, he read an article) The problem is that when I add the XHTML declaration to the top of the page the width on the td tag of a table does not appear to work. When I remove the declaration it looks like I expect.
declaration is this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html lang="en">
The CSS is in a linked file and looks like this:
td.news_accent
{
width:205;
background:#E4E4E4;
}
td.news_mainsection
{
width:345;
}
The color appears in both ways, but the width does not seem to work in XHTML. Any ideas? Is this an IE bug? Is it XHTML? Help!
declaration is this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html lang="en">
The CSS is in a linked file and looks like this:
td.news_accent
{
width:205;
background:#E4E4E4;
}
td.news_mainsection
{
width:345;
}
The color appears in both ways, but the width does not seem to work in XHTML. Any ideas? Is this an IE bug? Is it XHTML? Help!