Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2008
    Posts
    45
    Plugin Contributions
    0

    Default couple of CSS questions

    Hi I'm just changing a few things on a site for someone else, they've had the site built but not how they wanted

    I've changed the header image, bg colours etc.

    But the site is too wide, have a look there's a huge amount of nothingness at the right of the shop

    http://www.anniedee.com/

    can anyone tell me what's causing this? I can't work it out!

    Also see the way the sidebox titles are coloured purple, where in the CSS file do I change this? I want to make them green

    Thanks in advance

  2. #2
    Join Date
    Feb 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: couple of CSS questions

    I've worked out where the colour changes for the sideboxes are, so it's just the width problem

  3. #3
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: couple of CSS questions

    The defined styles for

    #navMainWrapper
    #navMainSearch

    have the same width as the page, then you are moving them to the right with relative positoning, so pushing out the divs to the right...

    have a go at redoing this section of your page..

    (i gotta go, will look back later)

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: couple of CSS questions

    The width is set in the stylesheet in mainWrapper.

    Yours is set for 955px right now, which also happens to be the width of your header background image. If you make it smaller, you'll have to modify the image.

  5. #5
    Join Date
    Feb 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: couple of CSS questions

    thanks for the replies guys but I'm still not sure what I need to do.

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: couple of CSS questions

    First off, your site is centered here in both IE7 and FF2.

    The width of your main area is defined in your spreadsheet here:


    /*wrappers - page or section containers*/
    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    width: 955px;
    vertical-align: top;
    background-image:url('../images/contentsBG.png');
    }


    As you can see, it's now 955px. You can change that to 100% to fill the screen horizontally, but it may mess up your header. Try it and see.

    Personally, I don't like the look of 100% sites.

  7. #7
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: couple of CSS questions

    2 quick changes... to your stylesheet.css to stop the excessive width...

    #navMainSearch {
    left:675px;
    position:relative;
    top:211px;
    width:280px;
    }

    #navMainWrapper {
    left:240px;
    position:relative;
    top:210px;
    width:715px;
    }
    ~Steve~

  8. #8
    Join Date
    Feb 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: couple of CSS questions

    you the man Steve!!!! thank you very much, really appreciate it

 

 

Similar Threads

  1. Couple of questions
    By CAguy in forum General Questions
    Replies: 2
    Last Post: 18 Apr 2011, 06:15 AM
  2. Couple of Questions
    By gem10 in forum General Questions
    Replies: 16
    Last Post: 28 Oct 2010, 03:31 AM
  3. a Couple of questions
    By gringo44 in forum General Questions
    Replies: 1
    Last Post: 12 Feb 2010, 04:16 PM
  4. Couple of questions
    By gapi78 in forum General Questions
    Replies: 1
    Last Post: 28 May 2007, 07:43 PM

Posting Permissions

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