html - Why is right part being positioned differently in IE6 -


on page:

http://phplist.xxmn.com/node/18

in ie7 , firefox, right part (the css class contentsidebar) displays ok, in ie6, doesn't display well. displayed abnormally - location @ bottom right.

i know ie6 dead, in china, there lots of people still using it.

how correct css make page display adequately in ie6? thank you.

this ugly sin, fixes ie6 problem:

<!--[if ie 6]> <style> #leftcontent {     width: 660px }  .bread_nav, #leftcontent .node, #leftcontent h1, #author_info {     width: auto !important } </style> <![endif]--> 

(you can put in own stylesheet if wish. make sure it's last one.)

the idea set width of #leftcontent bit less was, override million different instances have of width: 668px (these extraneous widths not needed browser, way) on elements inside #leftcontent auto width.

@summer had right idea changing widths around, missing specifics.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -