Hi, I got a table based website currently - its a shopping cart. In the admin I can alter the layout - width of columns to be specific. Can I do this with css too? Can I change the the table code into css code (yes - I know you can) but load the width of a div area from another page? Cheers
You can set the column width in a number of ways. Either by specifying the width of the divs making up the columns in the stylesheet - which is the most used way, or you can do it as inline styling directly on the element on the page. Or, maybe you can use the admin interface to enter the info and have it loaded from the database. But to make this work, you need to change the code that the admin feature for this saves. My guess is that it is setting a "width"-atribute value to a table column as it is right now, and you need to make it set a style="width:blablapx;"-value on the div column instead. This might be tricky, so think twice before you do it. If you have coded the shopping cart yourself so you knoww all the ins and outs of the code it won't be all that hard I guess, but if you haven't - well, it will be a lot of work...