Hi,
I have a html page containing a style sheet.
When I have the doctype set to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> everything is fine
but when i change to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
the styles are lost and look different. for example with the style
.txt4Grey { font-size : 0.7em; font-weight: normal; color: #2f4f4f; }
this looks different.
can anyone explain what i need to do to keep my styles when changing the doctype?
thansk!
I have a html page containing a style sheet.
When I have the doctype set to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> everything is fine
but when i change to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
the styles are lost and look different. for example with the style
.txt4Grey { font-size : 0.7em; font-weight: normal; color: #2f4f4f; }
this looks different.
can anyone explain what i need to do to keep my styles when changing the doctype?
thansk!