Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    62
    Plugin Contributions
    0

    Default Problems with styling buttonRow -- esp in IE

    Ok, if I had any hair, I'd have pulled it out by now! I'm trying to surround the main page content area with a border using images (I know everybody seems to want to use css for rounded borders, but I actually WANT to use images!).

    I can get the cap on as a background to the breadcrumb row, and use the centercolumn for the repeating y borders, and the bottom cap in the tpl_main_page.php just before the end content division. Problem, of course, is on pages with a button row, the repeating y image stops. (Apparently the contentmid ends before the buttonrow). I can't get the stylesheet to effect the buttonrow:
    .buttonRow {
    background-image:url("../images/xxx.gif");
    background-repeat:repeat-y;
    }
    This has no effect, the image is not displayed, thus, a break at the button row.

    Then I tried putting the repeating y border in the content division, which works great except I can't put the bottom image inside the content division if the content division is also repeating the y border image, you get the end cap, then one more line of repeaiting y. Placing the bottom image just AFTER the content division in the tpl_main_page.php puts the image into the left column and puts all left column info below the image.

    SOOO, can anyone, PLEASE, tell me how to get the entire mid-section of every page, INCLUDING the buttonRow, to be surrounded by a top image, middle repeating image, and bottom image (with no gaps!).

    Any assistance would be greatly appreciated (and my add a year or so to my life!)

  2. #2
    Join Date
    Oct 2006
    Posts
    62
    Plugin Contributions
    0

    Default Re: G#$ D@!# buttonRow

    BTW, an alternate solution was to put a division class just inside the content class and make that class be the repeating y image. This worked fine except I it gives me a gap at the top and bottom. If it's easier to explain, maybe someone could tell me how to create a division class without any gaps between it and the next division.

  3. #3
    Join Date
    Oct 2006
    Posts
    62
    Plugin Contributions
    0

    Default Re: G#$ D@!# buttonRow

    Well, actually I can narrow this down even more! It seems that the extra line of repeating y that comes after the bottom cap when using the content class for the repeating y image and putting the bottom cap in the tpl_main_page.php just BEFORE the end of the content division only happens in IE 7.0, but not Firefox. In Firefox, all is beautiful! So, maybe I just need some slick little snippet to make IE see what Firefox sees? To clarify, I use this in the stylesheet:

    #content {
    background-image:url("../images/xxx.gif");
    background-repeat:repeat-y;
    }

    Then in the tpl_main_page.php near the centercolumn section I add this just before the end of the content division:

    <!--<end contentWrap> -->
    <img src="../images/xxx.gif">
    </div>
    <!-- end content-->

    The top image is put in the stylesheet as a background for the breadcrumb division.

    This works 100% in firefox, but in iE it puts an extra row of repeating y image after the bottom cap.

 

 

Similar Threads

  1. v139h Always Problems with the way I'm styling my custom inline Code!
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 31
    Last Post: 18 Jun 2013, 07:16 PM
  2. Editing cart contents -- esp products with attributes
    By justinhunt in forum All Other Contributions/Addons
    Replies: 165
    Last Post: 6 May 2013, 07:31 PM
  3. Help with CSS code for buttonRow forward
    By CybaGirl in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Jan 2012, 04:09 PM
  4. Replies: 0
    Last Post: 22 Oct 2007, 04:55 PM
  5. buttonRow forward/buttonRow backward IE Problem
    By mattmf1286 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Apr 2007, 03:44 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