Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 02-23-2007, 02:23 AM
Masked Crusader Masked Crusader is offline
 
Join Date: Oct 2005
Location: Sacramento, CA, USA
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issue With Module Title Row Size

Hey guys. This post is having to deal with vBadvanced. The reason I came here is because the support and member base over at vBadvanced is terrible for helping people. Always had good luck here. My question is more HTML/CSS based than anything else. Here is the issue:

If you look at my website (http://www.occupational-hazard.com) in both IE and Firefox, you will notice that in IE the titles of the two modules on the right of the homepage have their titles only spanning on column. In Firefox, it looks fine. Nonetheless, I know that I have to input some code to make the title of the module span the length of the number of columns.

Here is my code for both modules --

Recruitment:

HTML Code:
<tr class="alt1">
    <td><img src="./images/classicons/Druid.gif"></td>
    <td>Druids</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<tr class="alt2">
    <td><img src="./images/classicons/Hunter.gif"></td>
    <td>Hunter</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<tr class="alt1">
    <td><img src="./images/classicons/Mage.gif"></td>
    <td>Mage</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<tr class="alt2">
    <td><img src="./images/classicons/Paladin.gif"></td>
    <td>Paladin</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<tr class="alt1">
    <td><img src="./images/classicons/Priest.gif"></td>
    <td>Priest</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
</tr>
<tr class="alt2">
    <td><img src="./images/classicons/Rogue.gif"></td>
    <td>Rogue</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<tr class="alt1">
    <td><img src="./images/classicons/Warlock.gif"></td>
    <td>Warlock</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<tr class="alt2">
    <td><img src="./images/classicons/Warrior.gif"></td>
    <td>Warrior</td>
    <td><a href="http://www.occupational-hazard.com/forumdisplay.php?f=9">Open</a></td>
  </tr>
<br/>
Progression:

HTML Code:
<tr class="alt2">
    <td colspan="2"><center><b><u>Azeroth Raid Instances</u></b></center></td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Zul'Gurub</td>
  </tr>
<tr class="alt2">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Molten Core</td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Onyxia</td>
  </tr>
<tr class="alt2">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Ruins of Ahn'Qiraj</td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Blackwing Lair</td>
</tr>
<tr class="alt2">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Temple of Ahn'Qiraj</td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Naxxramas</td>
  </tr>
<tr class="alt2">
    <td colspan="2"><center><b><u>Outland Raid Instances</u></b></center></td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Karazhan</td>
  </tr>
<tr class="alt2">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Magtheridon's Lair</td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Serpentshrine Cavern</td>
  </tr>
<tr class="alt2">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Tempest Keep</td>
  </tr>
<tr class="alt1">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>Gruul's Lair</td>
  </tr>
<tr class="alt2">
    <td><img src="./hazard/images/progression/red.gif"></td>
    <td>The Battle for Mount Hyjal</td>
  </tr>
<tr class="alt1">
    <td colspan="2"><center><b><u>Progression Legend</u></b></center></td>
<tr class="alt2">
    <td colspan="2"><img src="./hazard/images/progression/green.gif"> = Farm Status<br><img src="./hazard/images/progression/yellow.gif"> = Currently Exploring<br><img src="./hazard/images/progression/red.gif"> = Not Yet Entered</td>
  </tr>
Thanks in advance for any help that you can provide.
Reply With Quote
  #2  
Old 02-23-2007, 12:11 PM
CyberAlien's Avatar
CyberAlien CyberAlien is offline
 
Join Date: Mar 2002
Posts: 438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What you pasted is content code, but you forgot about header code:
Code:
	<thead>
		<tr>
			<td class="tcat" colspan="0">
				<a href="#top" onclick="return toggle_collapse('module_20')" style="float:right"><img alt="" border="0" id="collapseimg_module_20" src="http://www.occupational-hazard.com/hazard/images/buttons/collapse_tcat.gif" /></a>
			
			<span class="smallfont"><strong>&raquo; Raid Progression</strong></span></td>
		</tr>
	</thead>
that's where error is: colspan="0". It should be colspan="2" for raid progression box and colspan="3" for recruitment.

Looks like Firefox is incorrectly handling bugs in that code, IE and Opera show it correctly (by completely ignoring colspan as it has invalid value).
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

Forum Jump


All times are GMT. The time now is 03:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05777 seconds
  • Memory Usage 2,192KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete