SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    675
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Negative Margin in IE

    Hi guys,

    I know the negative margin doesnt seem to work in IE but does perfectly in Firefox, I'm trying to move the footer up some so the borders touch nicely, you'll see what I mean, in Firefox in touches nicely to the footer but in IE it doesnt there is a white space on the far right hand one, is there an easy fix for this...

    http://scholarscanada.com/wordpress/

    Thanks,

    Mike

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,750
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Hi, the problem is is that it is collapsing the margin since the negative margin is going thru a cleared element. No matter how big the negative margin is it will never go up .

    I see no reason why you even need the clearing divs in the HTML so delete this
    Code:
    	<div class="clear"></div>
    
    		
    		<div id="bottom" class="clearfix">
    		</div><!-- end bottom -->
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    675
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks worked like a charm!

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,750
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    You're welcome .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


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
  •