www.webdeveloper.com
Results 1 to 3 of 3

Thread: IE8 quirks mode Vs Standard mode

  1. #1
    Join Date
    Nov 2011
    Posts
    2

    IE8 quirks mode Vs Standard mode

    I am having issues with my text alignment inside pop up box to not align well in IE8 document mode while it seems to look fine in IE8 quirks mode. I am new in web development and html so any help and suggestions would be greatly appreciated.

    <TD>
    <INPUT TYPE="hidden" NAME="REG_country_name_Popup" VALUE="<%=reg.getValue("country_name")%>">
    <% if (reg.getValue("country_name").equals("")){ %>
    UNITED STATES
    <% } else { %>
    <%=reg.getValue("country_name")%>
    <% } %>
    </TD>
    <TD>&nbsp;
    </TD>

  2. #2
    Join Date
    Mar 2011
    Posts
    1,141
    Just for starters, do yourself a favor and always use a <!DOCTYPE> that will put browsers in Standards Compliance mode. That will minimize the differences in how browsers render your pages. If you start designing for Quirks mode for one browser version/family, you'll almost always have problems and your code will be much more difficult to maintain.

    That said, there's little in your code fragment that I would expect to be a significant issue. You might set a specific margin on the INPUT tag if the positioning varies, I suppose. What seems to be the exact problem?
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Nov 2011
    Posts
    2
    Thanks for your reply but i was able to fix it. The issue was that there were lot of input fields and one pop up which needed to display the country selected in previous page but the entire alignment seemed to have been messed up in IE8. The simple fix for every <td align="left"> did it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles