iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I'm having a conflict trying to use the latest DTD's versus the DTD recommended by Intersoft. Specifically, sizing of div's can be accomplished by specifying the top, left, bottom and right style atributes when the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> is used. This greatly simplifies sizing of div's to occupy the entire client area of the browser. Using the older <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> forces me to write a bunch of Javascript routines to resize the div's which is a situation I'd really like to avoid.
In the following example all of the div's size themselves perfectly to browser window size changes...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div style="position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border: solid 1px green;"> <div id="Div1" style="position: absolute; top: 0px; left: 0px; height: 100px; right: 0px; border: solid 1px blue;"> Div1 </div> <div id="Div1a" style="position: absolute; top: 102px; left: 0px; height: 28px; right: 0px; border: solid 1px blue;"> Div1a </div> <div id="Div2" style="position: absolute; top: 130px; left: 0px; right: 0px; bottom: 0px; border: solid 1px red;"> <div id="Div2a" style="position: absolute; top: 0px; left: 0px; right: 15%; bottom: 0px; border: solid 1px brown;"> Div2a </div> <div id="Div2b" style="position: absolute; top: 0px; left: 85%; bottom: 0px; right: 0px; border: solid 1px yellow;"> Div2b </div> </div> </div> </form> </body> </html>
The same code with the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> used instead causes the div's render compleltely wrong in IE 8.
I'm attaching screen prints of both the good and bad rendering I'm seeing in my browser.
Is there any workaround for this issue?
Hello,
Unfortunately, we only supports normal HTML doctype without some attibutes such as "http://www.w3.org/TR/html4/loose.dtd">. As far I know, the render behaviour in IE8 browser has changed a little bit. It is more to be like XHTML doctype. FYI, we are still enhancing all products to support XHTML doctype. Currently, most of our products have supported this doctype. My opinion, this is a browser behaviour rendering because this also happened in the normal div as you have showed me. So, I am afraid you will still need to have your javascript code at all.
Regards,Handy
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname