main table spacing is driving me CRAZY

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 ...


Go Back   68 Classifieds Forums > General > HTML, CSS, and Design Help

 
LinkBack Thread Tools Display Modes
  #1  
Old 09-13-2008, 07:01 PM
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 2
Question main table spacing is driving me CRAZY

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?
Attached Images
category.gif (6.3 KB, 6 views)
Reply With Quote
  #2  
Old 09-13-2008, 07:10 PM
Moderator
 
Join Date: Jan 2007
Posts: 920
Rep Power: 29
Default

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
Reply With Quote
  #3  
Old 09-13-2008, 07:19 PM
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 2
Default

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
Reply With Quote
  #4  
Old 09-13-2008, 07:32 PM
Moderator
 
Join Date: Mar 2006
Posts: 3,472
Rep Power: 85
Default

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
Reply With Quote
  #5  
Old 09-13-2008, 07:41 PM
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 2
Default

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.
Reply With Quote
  #6  
Old 09-13-2008, 07:48 PM
Moderator
 
Join Date: Jan 2007
Posts: 920
Rep Power: 29
Default

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>
               ...
Notice that you have two <td> in a row with one of them never getting closed. That will wreak havoc on any web browser throwing all things out of kilter. Cats and dogs will live together, black holes will emerge out of nowhere and the time/space continuum will never be the same.

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
Reply With Quote
  #7  
Old 09-13-2008, 08:09 PM
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 2
Default

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.
Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 08:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22