On 28.12.2005 06:51, Richard Brown wrote:
> Hi All
>
> I was informed that I might have the double margin bug for the
> following site:
>
> Site url: <http://www.cregy.co.uk/>
> Site css: <http://www.cregy.co.uk/wp-content/themes/Cregy/style.css>
>
> I applied the P.I.E. solution to the sidebar and would like to know
> that all is working fine now. Please could someone take a look for me.
> I was unsure as to whether I needed to add "display: inline;" to both
> the sidebar and content column.
>
> Many thanks for your help.
>
Since content can't overflow in MSIE/PC, the sidebar
is expanding horizontally, even in normal text size.
Two elements pay responsibility for it.
1) The table with the calendar expands horizontally in MSIE.
#wp-calendar {
border: 1px solid #ddd;
empty-cells: show;
margin-right: -5em; <=== add this
position: relative; <=== and this
width: 99%;
font-size: 0.9em;
}
2) The text grows up and shrinks over-proportional on list-elements
(In MSIE/PC only).
#sidebar ul {
list-style-type: none;
padding: 5px;
margin: 0;
font-size: .9em; <=== remove this [1]
background-color: #fff;
border:#A1A4AA 1px solid;
}
[1] Set a font size to #sidebar instead, if you need.
Best,
Uwe Kaiser
P.S.
I'm working since a couple of months with WP and I've had the
same problems with it.
Btw. You are using the wrong doctype. WP is a mixture of HTML 3.2
(HTML 4 ?) with style sheets and slashes, but it never is XHTML.
There are a lot of inline-javascripts using '<' and '/', which is
not allowed in XHTML, amongst dozens of other things.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/