Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

please help for my template

This is a discussion on please help for my template within the Templating, CSS, Design forums, part of the osCmax V2.5 Forums category; You also need to put a space in the < td> with the boxLink in it to stop the browser ...

      
  1. #11
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,122
    Rep Power
    55


    Default Re: please help for my template

    You also need to put a space in the < td> with the boxLink in it to stop the browser collapsing the cell. ie. infoBoxHeadingRight You may also need to add some padding or margin to the infoBoxHeadingRight.
    Last edited by pgmarshall; 01-09-2012 at 07:39 AM.
    pgmarshall
    _______________________________

  2. #12
    Member
    Join Date
    Sep 2011
    Posts
    95
    Rep Power
    9


    Default Re: please help for my template

    Hi, finaly I sove it with this code in box.tpl.php:

    <td class="infoBoxHeadingLeft" width="100%" >&nbsp;<?php echo $boxHeading; ?></td>
    <td class="infoBoxHeadingRight" style="padding-left:10px;"><?php if (isset($boxLink)) echo $boxLink; ?></td>


    and add this in my stylesheet:

    TD.infoBoxHeadingLeft { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; color: #000000; background:url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; height:25px; border-radius:4px 0 0 0; text-align: left;}
    TD.infoBoxHeadingRight { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; color: #000000; background:url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 65% 50% repeat-x; height:25px; border-radius:0 4px 0 0; text-align: right;}


    The result is nice for me (all corners is with border-radius), without any image, I can change background speedy and easy, and the link image is align at right.

    Thanks for your help.
    Attached Images Attached Images

Page 2 of 2 FirstFirst 12

Similar Threads

  1. BTS Template Tutorial, Examples, converting osC template to BTS
    By michael_s in forum osCMax v2 Features Discussion
    Replies: 25
    Last Post: 10-31-2012, 08:24 AM
  2. bts template system with html template
    By silverping in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 10-08-2009, 09:12 AM
  3. template
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-03-2009, 03:14 PM
  4. TEMPLATE INSTALL ISSUE --> Illegal Template Directory
    By ashelleydesign in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 02-02-2007, 05:59 AM
  5. how to get the new template
    By nadirimran in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 07-03-2006, 02:08 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
  •