| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Table width's and borders | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Table width's and borders
Hi, take a look here - www.wyzeshop.com/store - and you'll see what I'm about to rant on about.
There seems to be a tiny gap between all of the menu boxes on the left of the screen that I can't seem to get rid of. Anybody know where the code is hiding that is causing this? Also, Am I just being really stupid about table widths as I can't seem to get my templates to display properly. I'll set a width of say 159px for the left column but when the table is called it's way wider than that and messes up the middle and right columns too. Cheers
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#2
|
|||||||
|
|||||||
Take a look at menu.tpl, it will show you what styles could be causing that border.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Quote:
Thanks again man One other question - I can't seem to make the column run to the bottom of the page and meet up with the footer - http://wyzeshop.com/store/home.php?cat=7 When I try to label the table cell with a background colour (white) it stretches the table wider than the menu colums. I think this is due to my html editor (dreamweaver) and the fact that even though you can set the column widths by number when you drop the smarty code in there it stretches the column by about another 80px. In the code it is still saying that the width is set to 157px but on the wysiwyg it stretches the coloumn filling the background with the selected colour & this is somehow being replicated when home.tpl is called. Here is the code for my home.tpl Quote:
I can see that after uploading it the table width has changed to 184px - when I try to change this manually to 157px from the edit templates section in x-cart admin it gives me a File couldn't be saved error? Is there anyway around this. Or am I just missing something obvious?
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#4
|
|||||||
|
|||||||
Do you have the smarty plug-in for Dreamweaver? If not, you are probably shooting yourself in the foot by using DW.
Be sure to call your images using smarty, and code your table cells using CSS, not the old fashioned way like you have: background="http://www...etc" will cause all sorts of issues, but mainly security issues when you go into https. Get yourself a good book on CSS, it is the standard for formatting these days.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Haha fixed it!
Ok so Word Pad is my new best friend
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#6
|
|||||||
|
|||||||
Thanks for all your help so far balinor - if I become too much of a pain just say
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#7
|
|||||||
|
|||||||
Ya...edit the templates right in X-Cart or use your favorite text editor. Ultraedit is a VERY good editor.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
Quote:
I know how to call a regular image with smarty code but how would I call a background image?
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#9
|
|||||||
|
|||||||
background: url(images/imagename.jpg);
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|