Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Location
    Lansing, MI
    Posts
    147
    Plugin Contributions
    0

    Default Rounded Corners in Firefox

    I'm having an issue:

    In IE my sidboxes and other boxes for this site are showing fine, but in FireFox the top / bottom 'left' corners aren't showing.

    Here's the relevant css:

    Code:
    .leftBoxContainer, .rightBoxContainer {
    	background-color: #D3E0EE;
    	margin: 0em;
    	/*border: 1px solid #000000;*/
    	/*border-bottom: 5px solid #336633;*/
    	margin-bottom: 5px;
    	}
    
    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    	margin: 0em;
    	background:url(../images/top_right.gif) top right no-repeat;
        padding-top: 5px;
    	height: 15px;
    	/*padding-bottom: 0.2em;*/
    	}
    
    .leftsidetop {
      background:url(../images/top_left.gif) top left no-repeat;
      }
    
    .leftsidebottom {
      background:url(../images/bottom_left.gif) bottom left no-repeat;
      }
    ... and the php:

    Code:
    <div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
    <span class="leftsidetop"><h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3></span>
    <?php echo $content; ?>
    <span class="leftsidebottom"><h1 class="leftBoxFooter"></h1></span>
    </div>
    I modified the same section of the 'Specials', etc boxes that show on the bottom when there are items in that category. What the heck happened? It was working yesterday.

    Thank you.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Rounded Corners in Firefox

    Suggest you download Future Zen template from downloads area,
    see how rounded sideboxes are constructed.

  3. #3
    Join Date
    Apr 2006
    Location
    Lansing, MI
    Posts
    147
    Plugin Contributions
    0

    Default Re: Rounded Corners in Firefox

    Here's the thing... when I 'blank out' the sidebox background color it's as if the images aren't even being loaded in Firefox (see images). It worked before, but then I altered the 'Welcome' message and installed the paypal logo and it went all wonky.

    I'll check out the template, I was just wondering if my code looked kosher or if there was something else I could do.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	sidebox-ff.jpg 
Views:	158 
Size:	35.2 KB 
ID:	3694   Click image for larger version. 

Name:	sidebox-ie.jpg 
Views:	147 
Size:	34.5 KB 
ID:	3695  

  4. #4
    Join Date
    Apr 2006
    Location
    Lansing, MI
    Posts
    147
    Plugin Contributions
    0

    Default Re: Rounded Corners in Firefox

    UPDATE: I have NO idea why it works, but instead of:

    Code:
    <span class="leftsidetop"><h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3></span>
    <?php echo $content; ?>
    <span class="leftsidebottom"><h1 class="leftBoxFooter"></h1></span>
    I used:

    Code:
    <div class="leftsidetop"><h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3></div>
    <?php echo $content; ?>
    <div class="leftsidebottom"><h1 class="leftBoxFooter"></h1></div>
    ... and now it works across all browers.

 

 

Similar Threads

  1. Rounded corners
    By commdiver in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Jan 2011, 12:45 AM
  2. rounded corners
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Jul 2010, 07:20 PM
  3. rounded corners
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jul 2010, 03:07 PM
  4. Rounded Corners
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Sep 2009, 12:28 AM

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