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
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AP division layout issue, unable to layout properly

    First, thanks for taking the time to address my concern, I am very new to webdesign.

    Templateworld was nice enough to provide a template I though would work (http://www.templateworld.com/zero/in...treme_updates/) and the files are here (http://www.templateworld.com/free_templates.html#1).

    I'm having trouble with the header section. You can see, the logo and pictures are not centered correctly. I've tried editing the css for the last few hours, but I cannot format these elements to reliably layout in different browsers and monitor sizes. I would really appreciate if you can tell me what I need to change in order to anchor these elements so they display in the same location no matter what screen size or browser I use.

    Thanks,
    Debby

  • #2
    Regular Coder
    Join Date
    Jan 2009
    Posts
    316
    Thanks
    7
    Thanked 92 Times in 91 Posts
    In their template, the header is floating to the right. If you want the contents to be centered, change one line in the CSS file.

    Code:
    #header{
    	width:961px;
    	height:319px;
    	background:url(images/header_pic.jpg) 479px 57px no-repeat;
    	float:right;
    	position:relative;
    }
    Code:
    #header{
    	width:961px;
    	height:319px;
    	background:url(images/header_pic.jpg) 479px 57px no-repeat;
    	margin:0 auto;
    	position:relative;
    }


  •  

    Posting Permissions

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