Results 1 to 10 of 72

Threaded View

  1. #11
    Join Date
    Oct 2005
    Location
    Eastern US
    Posts
    488
    Plugin Contributions
    0

    Default Re: Rounded Borders Using Snazzy Borders

    Yay, I have been looking to do this!
    I have managed the rounded corners and spacing between the boxes, but I can't seem to get any white space between the sideboxes and the centerbox.

    Interestingly, if I exclude the sidebox heading in the snazzy div in the php file, everything lines up. This is the relevant section...
    Code:
    <!--// bof: <?php echo $box_id; ?> //-->
    <!--// <div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> //-->
    <h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
    <div class="xsnazzy" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
                         <b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
                         <div class="xboxcontent">
     
    <?php echo $content; ?>
    </div>
     
    <b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
     
    <!--// eof: <?php echo $box_id; ?> //-->

    If I put the heading into the snazzy div in the php file, the alignment to the center box is off:
    Code:
    <!--// bof: <?php echo $box_id; ?> //-->
    <!--// <div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> //-->
    
    <div class="xsnazzy" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
                         <b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
                         <div class="xboxcontent">
     
    <h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
    
    <?php echo $content; ?>
    </div>
     
    <b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
     
    <!--// eof: <?php echo $box_id; ?> //-->
    Just can't find the darn thing, and I'm wondering if maybe I'm not putting the code into the php correctly.

    Any thoughts?

    Audra
    Last edited by audradh; 7 Mar 2008 at 11:25 AM.

 

 

Similar Threads

  1. Rounded Corner Borders
    By BeautyHealth.com.cy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Nov 2010, 02:13 PM
  2. Template modding with CSS rounded boxes/borders. How To?
    By SeánT in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Sep 2010, 03:18 PM
  3. Snazzy Borders or Nifty Corners Cube?
    By audradh in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Feb 2008, 05:52 AM
  4. rounded corner borders for sideboxes
    By sparkyclark in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jul 2006, 04:41 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR