| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using CSS to format table in side bars | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am having a small issue. I want to be able to display a table with a border and background colour with some "Hints" in the left hand side menu.
However any formatting that I use, doesn't show up on the page. (Ie I just get a default table and default formatted text.) Like the page doesn't read the css styles in the code added to home.tpl I am just creating the table in dreamweaver, with style declarations. I am guessing a need to add the styles to skin1.css and then call them in the html for the table. Any ideas with the code any ideas?
__________________
Version 4.7.7 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Zane
Possibly. If you add the styles to skin1.css, to call them, you'd need to add the classes to your table cells. e.g. <td class="zanestyle"> suggest also creating a new template called hints.tpl for your code, and calling that from home with an include statement, as per the other menu bits.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() If it works for you - you can set up css styles for the entire table, rather than each td. This link is for a handy wizard to build css table styles - it generates the css and provides html example code.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|