Previous Message
Next Message

IE positioning error

Sent by Gunlaug_Sørtun on 6 September 2005 03:03

Andrew Mason wrote:

> root=1&active=1&PHPSESSID=4cff8731191b9c0c9694971b188a1c8e
> now take a look in IE; the image falls down below the sidebar.  This 
> doesn't happen for all the graphs, just the ones that go off the edge
> of the right side of the page.  Anyone know how to fix this?

One option:

#sidebar {
	float: left;
	width: 200px;
  margin-right: -200px;
....removes float[1]. The sidebar acts as the combination of a float and
an absolute positioned element.
In short: sidebar doesn't take up space, but display as normal.

	margin-left: 201px;
float: left;
display: inline;
....float the wide element and correct 'margin-doubling-bug' in IE/win.


css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: