Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 12-25-2006, 06:21 AM
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can someone help fix this code? I messed up!

Hello, can someone help me fix this code. I totally screwed it up.
It is suppose to create 3 boxes full of a text advertisement that are lined up next to each other. The boxes are suppose to be white, with green text. The top portion of the box (theader area) is suppose to be a sea-green, maybe dark green or just plain green.
It is going to be placed in the header, right above the forum banner image, but slightly above an Adsense ad.

PHP Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0" valign='center'>
 <
tr>
    <
td width="34%" height="107" border=0></a></td>
    <
td width="62%" background=""><table  align='center' bordercolor='black' border='1' cellspacing='1' cellpadding='7'>
<
tr bgcolor='green'><td colspan='2' align='center'><center><b><font color='white' size='1'></b><a href='http://www.puremarketprofits.com/adprices.php'>Paid ad!Put yours here</a>.</center></td>
</
tr>

<
tr border='0' valign='top' align='center' bgcolor=#00A200>

<td align='center' valign="top" width='33%' bgcolor='white'>
<
a href='http://stud10t.hwass.hop.clickbank.net'> <b>Blast4traffic</b></a><BR><font size="2">Tired of promoting and getting nowhere?Want a money back guarantee? Do you have a product or service to sellReceive tons of bonusesNever be accused of spamming!</font></b></td>

<
td align='center' valign='top' width='33%' bgcolor='white'>
<
a href='http://www.forexenterprise.com/cb1/?a=pqVineq'><b>Forexenterprise.com</b></a><BR><font size="1">Earn Multiple Streams of Income.<BR>Earn thousands of dollars per month.<BR>Auto-pilot system that generates ca$h.</font><BR>
</
td>


<
td align='center' valign='top' width='33%' bgcolor='white'>
<
a href="http://stud10t.ecmillions.hop.clickbank.net/"><b>Easy Chair Millionaire</b></a><BR><font size='1'>"I'll take you by the hand and teach you how to create a steady online income that will have you earning over a million dollars a year without even owning a website.</td>

</td>

</tr>
</table>
</td> 
Here is a picture of the current code.
As you can see, the dark green bar is interrupted by a bit of light green. I could not fix this. Need help with it. Please make the light green disappear.
Also, can you make it so that it is centered? I couldn't fix that either.

Reply With Quote
  #2  
Old 12-25-2006, 08:04 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here you go

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" align='center'>
<tr>
    <td align='center'>

    <table style="border: 1px solid #0B198C;" cellspacing='1' cellpadding='7' width="62%" >
	<tr>
		<td colspan='3' bgcolor="green" align='center'>
		<center>
		<font size='1'><a href='http://www.puremarketprofits.com/adprices.php'>Paid ad!Put yours here</a>.</font>
		</center>
		</td>
	</tr>

	<tr>

		<td align='center' valign="top" width='33%' bgcolor='white'>
		<a href='http://stud10t.hwass.hop.clickbank.net'> <b>Blast4traffic</b></a>
		<br /><font size="2">Tired of promoting and getting nowhere?Want a money back guarantee? Do you have a product or service to sell? Receive tons of bonuses! Never be accused of spamming!</font>
		</td>

		<td align='center' valign='top' width='33%' bgcolor='white'>
		<a href='http://www.forexenterprise.com/cb1/?a=pqVineq'><b>Forexenterprise.com</b></a>
		<br /><font size="1">Earn Multiple Streams of Income.<br />Earn thousands of dollars per month.<br />Auto-pilot system that generates ca$h.</font>
		</td>

		<td align='center' valign='top' width='33%' bgcolor='white'>
		<a href="http://stud10t.ecmillions.hop.clickbank.net/"><b>Easy Chair Millionaire</b></a>
		<br /><font size='1'>"I'll take you by the hand and teach you how to create a steady online income that will have you earning over a million dollars a year without even owning a website.</font>
		</td>

	</tr>
	</table>

	</td>
</tr>
</table>
a good place to check for html errors is http://validator.w3.org
Reply With Quote
  #3  
Old 12-25-2006, 03:51 PM
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, thank you very much.
Thanks for the link.
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 04:06 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.03478 seconds
  • Memory Usage 2,198KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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