This is a discussion on main table spacing is driving me CRAZY within the HTML, CSS, and Design Help forums, part of the General category; The column spacing in the main table is really driving me nuts. There is too much space between the categories ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
The column spacing in the main table is really driving me nuts.
There is too much space between the categories on the main page and waaaay too much space between the subcategories on the category page. I managed to get the css so the home page categories would display nicely. But then the category pages look funny. I think the problem is that the code source apparently creates three columns in this table, whether you choose that option or not in your settings. So you've got an extra column in between when you choose a two column layout. I've attached a screen shot of a category page. I'm spending most of my time trying to get this all looking nice instead of stretched out and can't take it anymore. Can anyone help? |
|
#2
|
||||
|
||||
|
I've not seen or heard of this before, however if you'd like help you're going to have to provide more information.
For instance, What version of the script are you using? How about a link to the offending pages. Please help us help you. Thanks, -Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b2 Templates for sale | 68 Classifieds Customizations Web Hosting | Web Design & Development I am not a 68C employee, just a user and try to help out |
|
#3
|
|||
|
|||
|
I'm using version 4.0.8
I have the css for the main table set as: table.main { border: 1px solid #000000; background-color: #FFFFFF; margin-left: auto; margin-right: auto; } table.main td { width: 50%; } That makes the home page look okay, but the category page, as my previous attachment showed, is all spaced out. Too much space in between columns. I'll send you a link via PM |
|
#4
|
||||
|
||||
|
Looks like you modified something and broke the default look.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#5
|
|||
|
|||
|
I don't think I "broke" anything. The only think I've changed in the templates is uncommenting a line so it will show subcategories.
There's an extra table column in the code, no matter whether you are using a 2 or 3 column display in your settings. |
|
#6
|
||||
|
||||
|
You certainly modified something which is causing the wrong code to be sent for the table declarations.
You have: // Content Code:
<table width="100%">
<tr>
<th> </th>
</tr>
<tr>
<td>
<table width="100%">
<tr>
<td>a category
</td>
<td>
<td>
</td>
...
I don't know what you altered to cause that, however my suspects would be browse.tpl or the smarty plugin: function.html_table.php. -Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b2 Templates for sale | 68 Classifieds Customizations Web Hosting | Web Design & Development I am not a 68C employee, just a user and try to help out |
|
#7
|
|||
|
|||
|
I'll check. It could be the browse.tpl file but I haven't messed with the smarty plugin .
I've mostly done css changes but I'll go through things and check. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Main Category Table Width | zavala77 | HTML, CSS, and Design Help | 2 | 07-10-2008 10:43 PM |
| Main Table layout mods | zavala77 | v4 Modules / Modifications | 2 | 07-03-2008 03:43 PM |
| Removing browse category table from main page. | gabs | v3.0 Questions & Support | 1 | 06-24-2006 01:37 PM |
| 3.0.xx upgrading to 3.1... is this normal? | Mikael | v3.1 Questions & Support | 4 | 05-23-2006 05:36 PM |
| Main Table width? | PonyTrader | v3.0 Questions & Support | 2 | 04-19-2006 01:48 PM |