PDA

View Full Version : There is a Time and a Place.



ArcticFox
Nov 11th, 2006, 02:12 AM
http://www.basestationzero.com/2007/BSZ-sell.php



* Problem Solved *






<table style="width:85%" cellspacing="10"><tr><td style="width:75%;">



<table style="border:0px solid #ff00ff; width:100%;"><tr colspan="2"><th>
<hr width="725" style="visibility:hidden;">
<span style="float:left;"><img src="http://www.webmaster-talk.com/wt_sleek/images/WTLogo-3_GIF.gif"></span>


<span style="float:right; margin:10px;">
<script type="text/javascript"><!--
google_ad_client = "pub-9558228936589147";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2006-11-10: 2007 Test 1
google_ad_channel = "5948707832";
google_color_border = "9EA373";
google_color_bg = "DBB785";
google_color_link = "9F2B32";
google_color_text = "9F2B32";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</nobr>
</span>
</th></tr>

<tr colspan="2"><th style="background-color:#000; padding:1px 0px 3px 5px;" >



<script language="JavaScript">
<!--//
datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
thehour = datetoday.getHours();
if (thehour > 17) display = "Good Evening.";
else
if (thehour >12) display = "Good Afternoon";
else
display = "Good Morning!";
var greeting = (display + " "); document.write(greeting);
//-->

</script>

</th><th>


<?
$time = date('g:i a', strtotime('-5 hours'));
echo $time;
?>




</th></tr></table>
</th></tr></table>



On the top section there's a black strip where, on the left I have the "Good-something" script. I want the Eastern Time clock to be on the right inside the black area. I'm sure the problem lies with colspan or rowspan in the tables, but I can't figure it out - the time is always outside of everything.


* Problem Solved *