Results 1 to 2 of 2

Thread: IE 6 margin-right problems

  1. #1
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IE 6 margin-right problems

    Hello,

    I don't understand how to fix this right margin problem in IE 6. Of course, the code renders correctly in FF Mac/Win but I can't get the margin right to correctly display as 30px in IE 6. If you can help me out I would appreciate it.

    Code:
    #altnavcontainer
    {
    	margin: 68px 30px 0px 0px;
    	padding: 0;
    	width: 264;
    	float: right;
    	/*border: 1px solid red;*/
    }
    
    
    	<div id="altnavcontainer">
    		<a href="info.php?pt=info" onmouseover="document.info.src=info_on.src" onmouseout="document.info.src=info_off.src"><img name="info" src="images/info_off.png" alt="Info Off" /></a>
    		<a href="bio.php?pt=bio" onmouseover="document.bio.src=bio_on.src" onmouseout="document.bio.src=bio_off.src"><img name="bio" src="images/bio_off.png" alt="Bio Off" /></a>
    		<a href="work.php?pt=work" onmouseover="document.work.src=work_on.src" onmouseout="document.work.src=work_off.src"><img name="work" src="images/work_off.png" alt="Work Off" /></a>
    		<a href="index.php" onmouseover="document.home.src=home_on.src" onmouseout="document.home.src=home_off.src"><img name="home" src="images/home_off.png" alt="Home Off" /></a>
    	</div>
    Thanks,

    Jason

  2. #2
    Join Date
    Aug 2008
    Location
    Smiths, AL
    Posts
    164
    Thanks
    30
    Thanked 5 Times in 5 Posts

    Default

    I'm no CSS expert but this might give you something to work with until someone posts something usefull, hahaha, try these and see if they work

    Code:
    #altnavcontainer
    {
    	margin: 68px 30px 0px 0px;
    	padding: 0;
    	width: 264;
          _width: 264;
    	float: right;
    	/*border: 1px solid red;*/
    }
    or

    Code:
    <!--[if lte IE 6]>
    #altnavcontainer
    {
    	margin: 68px 30px 0px 0px;
    	padding: 0;
    	width: 264;
    	float: right;
    	/*border: 1px solid red;*/
    }
    <![endif]-->

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
  •