PDA

View Full Version : <td nowrap="nowrap" /> is not working in IE8



anand1011
Oct 7th, 2009, 02:24 PM
i use nowrap="nowrap" attribuate to fix my UI for IE 6 , now when i am trying to run the same code in IE 8 its not working.

The code is simple to display table.

nowrap="nowrap" is written in the main CSS file , and its get applied to all site. its working fine with IE6 and 7 , but problem is in IE 8.

In IE8 text in table <td /> displaying in one line and and crossing the window layout.

Can any of you suggest me how to fix it?

abduraooft
Oct 7th, 2009, 02:31 PM
Can any of you suggest me how to fix it? The requirement is not clear. Could you please post some sample code (wrapped by
][/COLOR]) tags and explain it more?

btw, attribute nowrap is deprecated (http://webdesign.about.com/od/htmltags/p/blatnowrap.htm).

anand1011
Oct 8th, 2009, 10:40 AM
Two screenshot are attached.

One is correct Layout display and other one is having problem.

When i am using below code? Page
<td class="itTD" nowrap="nowrap" width="90%" style="padding-right: 0px">
Pgae display is fine with IE6.0 and 7.0.
But not in IE8.0.

Now when i am removing nowrap="nowrap" its fine with IE8 but showing problem in IE6 and 7.

abduraooft
Oct 8th, 2009, 10:48 AM
Hey.. know why using tables for layout is very bad (http://www.hotdesign.com/seybold/).