01-26-07 06:19 PM
Hi,
I am in the process of migrating a portal from WPS v5.0 to v6. I am having s
ome trouble with inline style statements which have been used extensively th
roughout the site by the original developers for layout purposes. The proble
m I am seeing is that the s
tyle statements are not being processed/rendered in the same way in v6 which
is causing the site to look very strange. I have saved a page as a complete
webpage in IE7 (we are restricted to IE for this portal) and noticed that t
he first line appears as:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w
3c.org/TR/1999/REC-html401-19991224/loose.dtd">
I discovered that removing the "http://www.w3c.org/TR/1999/REC-html401-19991
224/loose.dtd" statement from the saved page corrects all the problems I am
seeing. Unfortunately I have no idea how to stop WPSv6 from including this.
The Default.jsp file in the
theme defines the doctype as:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
This has no effect. Any help would be greatly appreciated!
Regards
Gareth Trott
[ Post a follow-up to this message ]
|