SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems with IE and negative margin

    Hi,

    I have a problem with IE at www.vosu.at.
    Look at the banner at the left top corner, it is showed correctly. Watch it in IE and you will see that it is cropped.

    The CSS for the div with the banner image:

    Code:
    #homeLink {
    	height				: 85px;
    	width				: 290px;
    	float				: left;
    	margin				: 10px 5px 5px -45px;
    	background: url(./images/logo.png) no-repeat  ;
    }
    Does anyone has a clue why IE isn't displaying it correctly?

    goetzi

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Remove alt="Das Interview zum Download" from the link on line 56 of your HTML source (since there is no alt="" attribute for links), and then clean up the errors in your stylesheets:
    http://jigsaw.w3.org/css-validator/v...1&profile=css2

    Just so you know, the problem is limited to IE 6; IE 7 handles it fine.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •