SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2003
    Location
    desert
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    float: right; <--troubles =/

    i cant get something to float fully right in IE
    can someone help me out?

    http://free.hostrocket.com/~pakihos/

    the thinbar on the right hand side...

    here's the code:
    Code:
    #parent {
    	width: 780px;
    	height: 800px;
    	background-color: #FF0000;
    	overflow: visible;
    }
    
    #banner {
    	width: 780px;
    	height: 138px;
    	background-color: #FF0000;
    	background-image: url(images/banner.jpg);
    	border: 1px solid black;
    }
    
    #thinbar1 {
    	float: left;
    	width: 5px;
    	height: 100%;
    	border: 1px solid black;
    	border-top: none;
    	background-color: #FFF;
    
    }
    
    #thinbar2 {
    	float: right;
    	width: 5px;
    	height: 100%;
    	border: 1px solid black;
    	border-top: none;
    	background-color: #FFF;
    }
    html:
    Code:
    <div id="parent">
    	<div id="banner"></div>
    	<div id="thinbar1"></div>
    	<div id="thinbar2"></div>
    </div>

  2. #2
    SitePoint Addict
    Join Date
    Sep 2003
    Location
    Europe
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try margin-right:-1px;

  3. #3
    SitePoint Enthusiast mcgrathin's Avatar
    Join Date
    Oct 2003
    Location
    india
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    u didnt close the style yet


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
  •