1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Web Design Request For Help

Discussion in 'Web Design' started by kentsstoregal, Apr 23, 2009.

Thread Status:
Not open for further replies.
  1. kentsstoregal

    kentsstoregal New Member

    I am using one of the templates...

    https://freewebsitetemplates.com/preview/template6/

    This makes a great first page. I am trying to edit it so that all additional pages include the left column but the center column is wider so that there will be no right column. I am having difficulty with 2 things.

    1. the box (border) around the column is pushing against text
    2. the length is not relative (I would like it be the determining factor to the length of the overall page without having to tweak the left column each page)

    I am hoping someone understands what I am trying to do.

    Any help would be appreciated.

    Kents Store Gal
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Leave out of the html page the section called "RIGHT SIDEBAR "
    Look in the css file for #page_rightcol note the setting "width : 185px;"
    Then find #page_maincol width setting
    I added the two widths together (574) and found it was short on the right so I made the width, #page_maincol to be "width : 560px;"
    But if I keep this ID at this width then all pages will be wider, so I created a second ID named #page2_maincol
    Code:
    #page2_maincol {
     margin-left : 14px;
     width : 560px;
     float : left;
    }
    Now in every page I want just the 2 columns I call <div id="page2_maincol">

    You will have to adjust all other classes and id's to expand the rest of the items. It would be alot simpler to create an new stylesheet just for this and call it from the head section. Name it something like pagetwo.css or twocolumn.css. Does this help?
     

    Attached Files:

    • 2c.jpg
      2c.jpg
      File size:
      118.9 KB
      Views:
      512
  3. kentsstoregal

    kentsstoregal New Member

    Yes. I was able to do that. Thank you.
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Glad we could be of help.
    Keep us informed as to your progress and don't forget to post your site in the review section when you get ready, you will get good feedback.
    If you can help others, by all means please do so.
     
Thread Status:
Not open for further replies.