Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2004
    Location
    The Netherlands, Wierden
    Posts
    430
    Plugin Contributions
    0

    Default border centerColumn

    I want a border on the centerColumn

    Okay, no problem

    .centerColumn {
    border: 1px solid #cacaca;
    margin: auto;
    height: 100%;
    }

    but the problem is, that the centerColumn doesn't have the height of 100%.

    How can I get the height of 100%?

  2. #2
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: border centerColumn

    Quote Originally Posted by raimond View Post
    I want a border on the centerColumn

    Okay, no problem

    .centerColumn {
    border: 1px solid #cacaca;
    margin: auto;
    height: 100%;
    }

    but the problem is, that the centerColumn doesn't have the height of 100%.

    How can I get the height of 100%?
    maybe try the border on #contentMainWrapper instead?

  3. #3
    Join Date
    Jul 2004
    Location
    The Netherlands, Wierden
    Posts
    430
    Plugin Contributions
    0

    Default Re: border centerColumn

    maybe try the border on #contentMainWrapper instead?
    thnx, but the border is in the left and right column on the bottom either this way...

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: border centerColumn

    Find in YOUR_TEMPLATE/common/tpl_main_page.php:

    HTML Code:
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
    <?php
    }
    ?>
        <td valign="top">
    <!-- bof  breadcrumb -->
    <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
        <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php } ?>
    <!-- eof breadcrumb -->
    In the <td valign="top"> add a new ID

    HTML Code:
    <td valign="top" ID="mainColumn">
    Then create the rules you want in your stylesheet.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Jul 2004
    Location
    The Netherlands, Wierden
    Posts
    430
    Plugin Contributions
    0

    Default Re: border centerColumn

    In the <td valign="top"> add a new ID

    HTML Code:

    <td valign="top" ID="mainColumn">

    Then create the rules you want in your stylesheet.

    I did, but unfortunately

    #mainColumn {
    height: 100%;
    }

  6. #6
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: border centerColumn

    No - don't add 100% add your border to that ID in your stylesheet
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jul 2004
    Location
    The Netherlands, Wierden
    Posts
    430
    Plugin Contributions
    0

    Default Re: border centerColumn

    Quote Originally Posted by Kim View Post
    No - don't add 100% add your border to that ID in your stylesheet
    YES....that was the right one (almost )

 

 

Similar Threads

  1. added border none, still have border
    By shortmop in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Sep 2011, 02:46 PM
  2. How do I put border on some images and no border on others?
    By Sawhorse in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 6 Apr 2009, 01:18 AM
  3. .centerColumn
    By johnny43 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jan 2008, 05:21 PM
  4. Border in Firefox & Sidebox border missing
    By helpme in forum Basic Configuration
    Replies: 3
    Last Post: 17 Oct 2007, 04:18 AM
  5. .centerColumn Border
    By Lawbird123 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 May 2007, 09:09 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