SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Mar 2006
    Posts
    410
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Link image - IE6 (...again)

    Hi Folk, something strange is happening to the links button in ie 6....an example can be found (the list of companies at the bottomhere

    Does anyone have any ideas?...The only thing i notice is that it 'wants' to line up with the 'mainbodyb' div. If i use the 'mainbodys' only, it works fine (I added 1px margin to this)


    some of the css:

    Code:
    	#mainbodys{
    	width: 401px;
    	background-color: #FFFFFF;
    	float: left;
    	margin-left: 1px;
    	padding-right: 10px;
    	padding-bottom: 30px;
    	padding-left: 10px;
    	}
    
    
    
    	#mainbodys p a:link, #mainbodys p a:visited, #mainbodys p a:active {
    	font-size: 1em;
    	padding-left: 18px;
    	background-image: url(../sitefiles/forwardarrow.gif);
    	background-repeat: no-repeat;
    	background-position: left center;
    	color: #FF33CC;
    	text-decoration: none;
    }
    
    
    
    #mainbodys p a:hover {
    	padding-left: 18px;
    	font-size: 1em;
    	color: #999999;
    	text-decoration: underline;
    }
    
    
    	#mainbodyb{
    	width: 423px;
    	float: left;background-image: url(../sitefiles/topmedium.png);
    	background-repeat: no-repeat;
    	background-position: top;
    	height: 58px;
    }

    thanks in advance...i hope its easy for someone!

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the a-element needs to be displayed as block:
    Code CSS:
    	#mainbodys p a {
    	display: block;  /* added rule for all status */
    }
    Happy ADD/ADHD with Asperger's


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
  •