How could I make these two pages the same? Please :-)

Discussion in 'HTML & Website Design' started by mikeonthebeach, Oct 1, 2009.

  1. #1
    How could I make these two pages the same. To be more precise... they both use the same style sheet and the code is taken form the wordpres blog and put into the sites main pages to provide the header and background color but you can see that the top horizontal bar is full width in the blog version and only page width in the main site version.

    Main site: http://thealgarvepropertymarket.com/

    Blog site: http://www.thealgarvepropertymarket.com/blog/

    I would like the top horizontal bar to be page width as in the main site.

    Any ideas anyone?

    Thanks

    Mike
     
    mikeonthebeach, Oct 1, 2009 IP
  2. devji

    devji Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In your blog stylesheet, try amending the following

    #header {
    	height: 61px;
    	background: url(images/img02.gif) repeat-x;
    }
    Code (markup):
    to

    #header {
    	width: 700px;
    	height: 61px;
    	background: url(images/img02.gif) repeat-x;
    }
    Code (markup):
     
    devji, Oct 1, 2009 IP
  3. mikeonthebeach

    mikeonthebeach Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes that worked a treat but now it is set to the left of the page.

    http://www.thealgarvepropertymarket.com/blog/

    I have tried to centre it with:

    
    #header {
       width: 881px;
       height: 61px;
       background: url(images/img02.gif) repeat-x center;
    }
    
    Code (markup):
    Not moving it.

    Any ideas?

    Thanks you I appreciate your help.
     
    mikeonthebeach, Oct 1, 2009 IP
  4. myst_dg

    myst_dg Active Member

    Messages:
    224
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #4
    #header {
       width: 881px;
       height: 61px;
       margin: 0 auto;
       background: url(images/img02.gif) repeat-x center;
    }
    Code (markup):
     
    myst_dg, Oct 1, 2009 IP
  5. mikeonthebeach

    mikeonthebeach Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    WOW what would I do without you guys :) I take my hat off to you.

    1000 thank you's and I really appreciate your help.

    Have a great day

    Regards

    Mike
     
    mikeonthebeach, Oct 1, 2009 IP
  6. racklane

    racklane Peon

    Messages:
    98
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Copy source....and all external style sheets. Thats it.
     
    racklane, Oct 3, 2009 IP