X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Using tables WITHIN a css template - is this ok? (https://forum.x-cart.com/showthread.php?t=46987)

parekh81 04-16-2009 09:51 AM

Using tables WITHIN a css template - is this ok?
 
Due to time issues I am copying some tables from my old template into my new 4.2 css templates.

Something like this

<div>
<table></table>
<table></table>
</div>

Does anyone know from experience if this creates a problem of any type?


(Basically I really want to stick to my old template design - and I understand hiring someone to convert old template to css would cost a lot of money ...)

balinor 04-16-2009 10:27 AM

Re: Using tables WITHIN a css template - is this ok?
 
You could, but it defeats the whole point of CSS.

Darntoothysam.com 04-17-2009 06:27 AM

Re: Using tables WITHIN a css template - is this ok?
 
I'm using tables for layout right now with 4.2. We bought X-Cart to get away from our existing cart software, and our main page was designed in tables. We're just copying everything over at this point and coming back and rebuilding it down the line.

HOWEVER, I don't recommend it one bit, if we had the time and money we'd go to pure CSS, and I'd highly recommend trying to do CSS if you have the time/money.

Victor D 04-17-2009 07:55 AM

Re: Using tables WITHIN a css template - is this ok?
 
Tables should be used for displaying datasheets, catalogs and so on.
Nesting div with position:relative inside tables may cause weird issues in IE6.
I had such a sad experience :)

parekh81 04-17-2009 10:39 AM

Re: Using tables WITHIN a css template - is this ok?
 
At the moment time/ money is exactly my problem. Time more importantly, considering the wait on developers is over 2-3 weeks by the time project is complete. I require this done in days.

for now I am just moving the tables over, but being careful and only applying when I need to. In some cases where a complete change is not required, I am actually just using css.

thanks for your help everyone...

retrtrtrytrutru 04-22-2009 06:47 AM

Re: Using tables WITHIN a css template - is this ok?
 
Quote:

Originally Posted by parekh81
Does anyone know from experience if this creates a problem of any type?

This is not a problem. I've done it this way myself. The main layout of the page is pure CSS, no tables. But when you come to the product pages the info is displayed in tables as this is what tables are intended for: display catalogs.

See for example: http://www.vervangjelamp.nl/Hitachi-beamerlampen-projector-lampen/

carpeperdiem 04-22-2009 07:02 AM

Re: Using tables WITHIN a css template - is this ok?
 
Hi retrtrtrytrutru,

vervangjelamp.nl is VERY fast. Are you on a dedicated server?

nice work integrating 4.2

retrtrtrytrutru 04-22-2009 11:27 PM

Re: Using tables WITHIN a css template - is this ok?
 
Hi carpeperdiem, thanks!

This website is not on a dedicated server, it's hosted here in The Netherlands with a good hosting company. I love the speed as well, it's much quicker than my other X-Cart site (which is why I'm moving it to the same company) :) I love the Clean URL feature from v4.2, we're getting good results in Google without any work at all.


All times are GMT -8. The time now is 08:38 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.