Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting rid of tables for Category ..how?


rajonbh

Recommended Posts

Im trying to convert my OsC-store from table-based to CSS.

 

The main structure was't that hard.

Went trough all the main files, replacing the main tables with divs instead.

...but when it comes to the boxes I get lost.. really lost.

 

** Categories

(include(DIR_WS_BOXES . 'categories.php'); )

 

 

I've converted the categories.

But I can't get rid of the extras that comes witth the heading. I get a few tables, tr's, td's, transparent gifs etc...

 

What I have now:

<div id="box_categories">
<table ... . ...class="infoBox">
<tr ..td ..table..tr..td etc...
<ul>
<li>category 1</li>
<li>... ..</li>
<ul>
</table>
</table>
</div>

 

What I want:

<div id="box_categories">
<h3>Heading</h3>
<ul>
<li>category 1</li>
<li>... ..</li>
<ul>
</div>

 

 

The file I'm trying to change is: includes/boxes/categories.php

It calls classes from: includes/classes/boxes.php

 

Would apprecciate some help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...