Topic: IE drivin' me insane - a CSS problem Pages that link to <a href="https://ozoneasylum.com/backlink?for=27771" title="Pages that link to Topic: IE drivin&amp;#039; me insane - a CSS problem" rel="nofollow" >Topic: IE drivin&#039; me insane - a CSS problem\

 
Author Thread
mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

IP logged posted posted 04-11-2006 21:41 Edit Quote

hi there
it is a little bit embarrassing for me to post this here , because i am afraid the answer is very simple...but nevertheless....i got stuck
http://www.thespacebetweenus.com/fagu/

i think the problem is easy to see: do you see the photo of this guy? this is its style:

code:
#agindex
{

float:left;
width:237px;
height:353px;
background-image:url(i/agindex.jpg);
background-repeat:no-repeat;
background-position:left;
margin-left:69px;
}



the margin is absolutely correct, but IE acts if there is still something on the left of the image.
any help or hints would be very much appreciated!

The Space Between Us | My Blog: lukas.grumet.at

Ramasax
Maniac (V) Inmate

From: PA, US
Insane since: Feb 2002

IP logged posted posted 04-12-2006 01:59 Edit Quote

With those two floats you will more than likely need to implement the 3 pixel jog hack, but that doesn't appear to be your problem at the moment.

Just a brief look at the page and the css above, not sure exactly why your margin is messed up.

Have you tried either:

(a) losing the margin and setting the background position of the image to 69px left?
(b) rather than using a margin set padding-left on the #content area?
(c) just putting the image directly in the page since it appears to be content rather than layout related?

Ram

divinechaos
Nervous Wreck (II) Inmate

From:
Insane since: Dec 2001

IP logged posted posted 04-12-2006 03:59 Edit Quote

This is my guess:
http://positioniseverything.net/explorer/doubled-margin.html

Give it a shot; if it doesn't work, we'll have to come up with something else.

Cheers,
DC

mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

IP logged posted posted 04-12-2006 10:00 Edit Quote

weeeeeeee display:inline did it
big thanks guys, you saved my day!

The Space Between Us | My Blog: lukas.grumet.at



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu