Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: position

  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Location
    Slovakia
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    position

    Hi,
    i have problem with css position. Here's my webpage. Every other pixel is logo with menu moved to left. You can see white line on the right side. So there's the problem. Why it's happing? Widths of these divs are 1000px.

    Code:
    #all{
    	position: relative; 
    	margin-left: auto; 
    	margin-right: auto;
    }
    
    #header {
    	width: 1000px; 
    	height: 250px; 
    	position: relative; 
    	background-image: url(logo3_4.jpg);
    	margin-left: auto; 
    	margin-right: auto; 
    	
    }
    
    #menu{
    	width: 1000px;  
    	height: 50px;
    	position: relative; 
    	margin-left: auto; 
    	margin-right: auto; 
    	background-color: #5b0000;
    	
    }
    #menu is under #header. Both are in #all.

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    In which browser you have issue...

    share screenshot of error


  •  

    Posting Permissions

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