www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    v 11 causes CSS failure
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
Having upgraded to 11, some of the CSS on a web display form (viewed with IE7, or Firefox) is not rendering correctly. Same form in IE6 is OK. I'm guessing this problem is connected with this -

From the v 11 readme notes:

The following issues were discovered but not addressed in WebPublisher PRO.
Some pages generated by WebPublisher PRO look slightly different. As a
side-effect of implementing XHTML conformance, some pages have minor changes
in appearance. For example, page background colors are currently ignored in
Firefox, except on edit pages. [6193]

The problem I'm experiencing is not minor - I'm using CSS to correctly position the next/prev buttons and they are not being positioned correctly on account of this problem. I'm also not seeing some background colour (this is a minor problem).

In a previous post, Lisa wrote:

Posted Tue June 03 2008 10:12 AM

The only Known Issue in the WebPublisher PRO 11.0 README is that due to implementing XHTML conformance, some pages generated by WebPublisher may look slightly different; differences are more likely to occur in Firefox than Internet Explorer. Often, setting the DOCTYPE to be blank will address these issues.

Questions:
(1) How do I set the DOCTYPE to blank on a web display form? where can i get at this? I'm using includes seams to control some of my CSS, my instinct would be to try and comment out the doctype statement but I don't want to spend hours re-arranging my CSS unless I have to!

(2) Can Inmagic do a patch to fix this?

(3) In the absence of an Inmagic fix, has anyone any ideas apart from blanking out DOCTYPE?

Looking forward to hearing from you!

Sally
 
Posts: 35 | Location: Bristol, UK | Registered: Thu February 21 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
To eliminate the DOCTYPE tag, add this line to the [WebPublisher] section of your DBTWPUB.INI file:

WebDocType=<!-- -->
 
Posts: 1920 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Thanks Lisa,
Do amendments to the DBTWPUB.INI file require a server reboot to take effect? I've added this line to the ini file and it's had no effect (yet), if I need to reboot the server I'll need to schedule out of hours time with my IT colleagues.

Also hoping that removing DOCTYPE won't have any other consequences.

Sally
 
Posts: 35 | Location: Bristol, UK | Registered: Thu February 21 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
This change to DBTWPUB.INI does not require a reboot or IIS reset to take effect. I recommend examining the HTML source of the page to determine whether the DOCTYPE tag is still there, or whether you see <!-- --> instead. Perhaps your issues are related to using XHTML rather than DOCTYPE.
 
Posts: 1920 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
thanks. yeah, curiously DOCTYPE is still there, not commented out. I'll have to look at the code in more detail and maybe re-write my CSS. could be an XHMTL issue, yes.
 
Posts: 35 | Location: Bristol, UK | Registered: Thu February 21 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Are you sure you don't have two [WebPublisher] sections in your DBTWPUB.INI file or something like that?

Having that line in DBTWPUB.INI really should replace the <DOCTYPE> tag with <!-- -->.
 
Posts: 1920 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Yes, I'm sure there is only one Webpublisher section (and one ini file - I've tested that other changes to the file are being read OK)

The first few lines of the web display form look like this, the same regardless of whether ot not I have the line to comment out DOCTYPE in the ini file, or not:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- Created using Inmagic DB/Text WebPublisher PRO version 11.00 -->

Smile
 
Posts: 35 | Location: Bristol, UK | Registered: Thu February 21 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Just to let you know the outcome - I couldn't get doctype to comment out so can't say whether this would have worked or not. So I've fixed my somewhat imperfect CSS and my buttons are displaying OK (some other stuff is not quite right but it's not so important)

Many thanks for your help.

Sally

Big Grin
 
Posts: 35 | Location: Bristol, UK | Registered: Thu February 21 2002Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    v 11 causes CSS failure