Support Forums

main table spacing is driving me CRAZY

This is a discussion on main table spacing is driving me CRAZY within the Templates, 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 > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 09-13-2008, 07:01 PM   #1
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 10
domino is on a distinguished road
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
File Type: gif category.gif (6.3 KB, 9 views)
domino is offline   Reply With Quote
Old 09-13-2008, 07:10 PM   #2
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,071
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
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
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-13-2008, 07:19 PM   #3
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 10
domino is on a distinguished road
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
domino is offline   Reply With Quote
Old 09-13-2008, 07:32 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,347
Rep Power: 133
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Looks like you modified something and broke the default look.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 09-13-2008, 07:41 PM   #5
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 10
domino is on a distinguished road
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.
domino is offline   Reply With Quote
Old 09-13-2008, 07:48 PM   #6
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,071
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
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
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-13-2008, 08:09 PM   #7
Junior Member
 
Join Date: Aug 2008
Posts: 24
Rep Power: 10
domino is on a distinguished road
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.
domino is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Main Category Table Width zavala77 Templates, HTML, CSS, and Design Help 2 07-10-2008 10:43 PM
Main Table layout mods zavala77 Modules / Plugins / Modifications 2 07-03-2008 03:43 PM


All times are GMT -4. The time now is 03:59 AM.


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