Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XHTML Display Error

Status
Not open for further replies.

Silvinho

Programmer
Jul 9, 2001
58
GB
I keep getting this problem!

When a page has the doctype below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="
Then some of the css or the general display is wrong.

If i put
<!--
-->
above the doctype then the display is perfect!

I cant believe this is the right way to build an XHTML page but why does it happen?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top