Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 82
7 members and 75 guests
achtso4illesttj, advcm5ber9czjlt, ink9foxcar3qcrt, lg46bzptptv, oca2slanationat, res7zeptaurants, webxhsitezb7cdp
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
Table problem in Theme
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jul 2004
Location: Texas
Table problem in Theme - 07-29-2004, 11:00 AM

Ok, my site HERE has a problem with the current theme i just finished. Its showing the colums as if there is no main table holding it together and i can't seem to find the problem so could someone help me. Here is the tables.php code i would think the error would be in there

Code:
function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"7\">
  <tr>
    <td><table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
        <tr>
          <td bgcolor=\"#212121\"><table width=\"500\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
              <tr>
                <td bgcolor=\"#000000\"><table width=\"500\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" bgcolor=\"#212121\">
                    <tr>
                      <td>";
}

function CloseTable() {
    echo "</td>
                    </tr>
            </table></td>
              </tr>
      </table></td>
        </tr>
      </table>
</td>
  </tr>
</table>";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}
And as you can see if u look at the site the block titles are doubling even though they are small enough to be on 1 line, so idk if that is part of the same problem or a total diff one, so if someone could help me on that too it would be nice. Thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
07-29-2004, 05:47 PM

The problem with the main part of the page dropping down like that is most likely due to extra html tags in your blocks.html file or possibly in your header.html file.
As for the block headers and the text breaking. That depends on the width of your td row at the top of your blocks.

Try posting your blocks.html file code and let's see...

Also, if you use Dreamweaver or somethign similar to edit the html files from that theme, you may be asking for trouble...Manually editing those html files is recommended. They all join together and have html tags that carry on to the next html file to be displayed. DW doesn't know this and may close an html tag without you wanting it to simply by default.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jul 2004
Location: Texas
07-30-2004, 12:32 AM

YAY a reply !!! thanks YAY lol ..... ok i can see ..... umm since u metioned both blocks.html and header.html, i'll post the code.... but still on the blocks ........ i've got it down th 8px .... thats pretty small man. ... ok here lol tell me what i did wrong...

blocks.html
Code:
<table border="0" cellpadding="0" cellspacing="0" width="165">

  <tr>
   <td>[img]themes/ubfblue/images/block_top.jpg[/img]</td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="165">
	  <tr>
	   <td>[img]themes/ubfblue/images/block_r2_c1.jpg[/img]</td>
	   <td><table border="0" cellpadding="0" cellspacing="0" width="116">
		  <tr>
		   <td width="16" height="14" background="themes/ubfblue/images/block_title.jpg"><div class="block-title" align="center">$title</div></td>
		  </tr>
		  <tr>
		   <td>[img]themes/ubfblue/images/block_r3_c3.jpg[/img]</td>
		  </tr>
		</table></td>
	   <td>[img]themes/ubfblue/images/block_r2_c4.jpg[/img]</td>
	  </tr>
	</table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="165">
	  <tr>
	   <td width="15" background="themes/ubfblue/images/block_lside.jpg"></td>
	   <td width="135" background="themes/ubfblue/images/block_textarea.jpg"><font class="content">$content</font></td>
	   <td width="15" background="themes/ubfblue/images/block_rside.jpg"></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
   <td>[img]themes/ubfblue/images/block_bottom.jpg[/img]</td>
  </tr>
</table>
header.html
Code:
<table border="0" cellpadding="0" cellspacing="0" width="100%">

  <tr>
   <td>[img]themes/ubfblue/images/header_header.jpg[/img]</td>
   <td width="100%" background="themes/ubfblue/images/header_slider.jpg"></td>
   <td>[img]themes/ubfblue/images/header_end.jpg[/img]</td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">

  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="477">
	  <tr>
	   <td>[img]themes/ubfblue/images/nav_r1_c1.jpg[/img]</td>
	  </tr>
	  <tr>
	   <td><table border="0" cellpadding="0" cellspacing="0" width="477">
		  <tr>
		   <td>[img]themes/ubfblue/images/nav_r2_c1.jpg[/img]</td>
		   <td><table border="0" cellpadding="0" cellspacing="0" width="87">
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_home.jpg[/img]</td>
			  </tr>
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_r3_c2.jpg[/img]</td>
			  </tr>
			</table></td>
		   <td>[img]themes/ubfblue/images/nav_r2_c3.jpg[/img]</td>
		   <td><table border="0" cellpadding="0" cellspacing="0" width="86">
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_account.jpg[/img]</td>
			  </tr>
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_r3_c4.jpg[/img]</td>
			  </tr>
			</table></td>
		   <td>[img]themes/ubfblue/images/nav_r2_c5.jpg[/img]</td>
		   <td><table border="0" cellpadding="0" cellspacing="0" width="88">
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_downloads.jpg[/img]</td>
			  </tr>
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_r3_c6.jpg[/img]</td>
			  </tr>
			</table></td>
		   <td>[img]themes/ubfblue/images/nav_r2_c7.jpg[/img]</td>
		   <td><table border="0" cellpadding="0" cellspacing="0" width="88">
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_fourm.jpg[/img]</td>
			  </tr>
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_r3_c8.jpg[/img]</td>
			  </tr>
			</table></td>
		   <td>[img]themes/ubfblue/images/nav_r2_c9.jpg[/img]</td>
		   <td><table border="0" cellpadding="0" cellspacing="0" width="88">
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_links.jpg[/img]</td>
			  </tr>
			  <tr>
			   <td>[img]themes/ubfblue/images/nav_r3_c10.jpg[/img]</td>
			  </tr>
			</table></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
   <td>[img]themes/ubfblue/images/nav_r1_c11.jpg[/img]</td>
   <td background="themes/ubfblue/images/nav_slider.jpg" width="100%"><div align="right"><font class="content">
$datetime
                          </font></div></td>
   <td>[img]themes/ubfblue/images/nav_r1_c13.jpg[/img]</td>
  </tr>
</table>

And accually i use both DW and Wordpad... but i guess i could see what your saying bout dw ... so can u see anything wrong ... or miss sized (YAY ty for posting .... went to 3 sites and no one answered me ) And i always help ppls when they ask
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-30-2004, 05:08 AM

those files are both correct, I suggest checking out the center_right.html and the left_center.html (named something like that) for closing tags and such


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
07-30-2004, 10:51 AM

Quote:
Wordpad
Never use wordpad to edit any kind of files. ESPECIALLY the version on Windows XP.
Get a good text editor like UltraEdit or Editplus.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jul 2004
Location: Texas
07-30-2004, 02:09 PM

humm ok y not wordpad ... it seems to view everyting fine and it lines up perfect ... cause i could open some theme files in notepad and it be all jumbled and then i open it in wordpad and its fine. Anyways... umm... i didn't know i would need like a left_center and right_center........ thats inerestin... umm let me make them lol

ok left_cetner.html
Code:
</td><td valign="top" width="100%">
center_right.html
Code:
</td><td valign="top" width="165">
and thank you very much for helping me
Also where would be the best place to get one of those programs or could somthing like HomeSite5.5 work... cause i have that
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jul 2004
Location: Texas
07-31-2004, 02:29 PM

hellloooo
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Super Moderator
 
coldblooded's Avatar
 
Status: Offline
Posts: 624
Join Date: Jan 2002
Location: USA
07-31-2004, 03:10 PM

UltraEdit: http://www.idmcomp.com/products/index.html
EditPlus: http://www.editplus.com/

I use EditPlus, after using one of these you'll soon see why they're superior.


The more we learn... the more we realize how little we actually know.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jul 2004
Location: Texas
08-01-2004, 12:53 AM

k thanks i get editplus ... now what bout my theme ......it still messed up ... what do i do with these left center and center right html pages... just put them with the other .html pages ... and are they right, plus how do i fix those stupid blocks ... thers the code upthere ... so whats wrong with them?? and is there anything else i need to do

and i was thinking.... the main table ...

Simple example:
Code:
<table width=100%><tr><td width="165">leftblocks</td><td width="100%">center</td><td width="165">rightblocks</td></tr></tabe>
do i need break that up and put it in the html files or like the theme.php ???
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jul 2004
Location: Texas
08-01-2004, 01:24 AM

HAHA SWEET ... i added this to the bottom of the header

Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
  <td valign="top">
Worked like a charm ... but my bg is screwed up idk what happened to it ... maybe i need to get rid of some #000000 somwhere.... then all i have to do is fix thos blocks and some ajustin here and there and its ready to go ... so could yall help me with this lil block problem. thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
nuke_module table Oztac Nuke 7.x - General 0 11-12-2005 06:09 PM
I got a problem with table width GorGonDo Site design 2 05-23-2003 04:12 PM
table adjustment ferhanz Open topics 0 05-12-2003 04:49 AM
Bad table bg color... Zathu_Koon Theme packs 0 02-02-2003 10:01 AM
How to add a table? zlaxzzor Purged Topics 3 11-21-2002 08:59 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31