Page 2 of 2

Exactly the same problem on another page

Posted: Tue 20. Feb 2007, 13:13
by randyp007
I think I have the same problem on some other pages, e.g.:

http://www.radiologie-linz.at/cms/index.php?leistung_ct


The strange behaviour only occurs in IE6, also strange, only sometimes. The contents of the main content block is shifted downwards to the vertical position, where the text in the sidebar ends.

I tried it with putting the main content block into a table with only one cell, where I explicitely determine a smaller width. This only helps, if the width of the table is at least 20px smaller than the width of the css content box; and this does not really look good ;-)

Also the menu is rendered in a very strange way in IE6. I hate this broken browser *grml*

Any ideas?

BTW, flip-flop, your templates are great and thx for sharing them!

Thx,
Andi

Posted: Tue 20. Feb 2007, 13:58
by flip-flop
Hi Andi,

in IE6 the right white border is 20px width.
There are one/some element(s) with a wrong width I think.

??? border - margin - padding - table width=100% ???
This kinky IE has it´s own rules for this stuff.

E.g. one hint:
--------------------------
.top2 {
float: left;
padding: 0;
margin: 0;
margin-right: 5px;
height: 158px;
width: 755px;
}

.wrapper {.........
w\idth: 777px; /* C + R + 1 */
padding: 0 10px 0 10px; /* the border left and right */
.......}

--------------------------
777px - 5px - 755px = 17px - (margin 10px+10px) = -3px
--------------------------


Knut