WPS V6 inline style problems
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > WPS V6 inline style problems




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    WPS V6 inline style problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: WPS V6 inline style problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-30-07 06:19 PM

Just to let people know I discovered that this was due to the original devel
oper not fully conforming to the HTML standard being defined in the DOCTYPE 
directive. Due to time restrictions I found a quick fix was to remove the DO
CTYPE from the theme.

Looks to be another case of standards being tightened up, all good but a pai
n when pressed for time :o)

Regards
Gareth





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:04 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register