SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Enthusiast swollenpickles's Avatar
    Join Date
    Jul 2007
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Removing border throws out layout

    I'm trying to build a header template using CSS. I have the layout how I want it, in terms of the positioning of the sections, now I'm just trying to style it. When I try to get rid of the borders it throws the alignment out.
    I'm sure what I'm screwing up is obvious, I just can't see it.
    Here is an extract from the CSS i have so far:
    Code:
    #container	{
    	width: 900px;
    	margin: 0 auto;
    }
    
    #headerbox	{
    	padding: 5px;
    	background: #f9ff93;
    	margin-bottom: 5px;
    	border: 1px solid #000000;
    }
    
    #login	{
    	float: right;
    	width: 330px;
    	height: 150px;
    	background: #ffcb99;
    	border: 1px solid #000000;
    }
    
    #title	{
    	width: 552px;
    	height: 100px;
    	background: #98cb00;
    	margin-bottom: 5px;
    	border: 1px solid #000000;
    }
    
    #topmenu	{
    	width: 552px;
    	height: 45px;
    	background: #bae0e3;
    	border: 1px solid #000000;
    }
    Attached Images Attached Images


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
  •