[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 04-06-2004, 05:30 PM   #1 (permalink)
First Time Poster!
 
Join Date: Apr 2004
Posts: 1
0.00 NP$ (Donate)

mjfmn is an unknown quantity at this point


Table cell / graphics layout

Hi folks, thanks in advance for looking at this! I think my problem is pretty basic, but I can't figure it out! I've posted an example of the web page I'm working on at http://www.websamba.com/mdfoster/sentinel.htm
I'm putting this together for my wife's boss! I do very basic pages, coding with tables, etc., not using CSS or anything. This man wants to see the top bar "curving" into the navigation bar, which will go down the left side. You'll see what I'm working with on the website. I have the little "curve" graphic done, and I'm setting this up using tables. As you can see, I end up with gaps between the cells and rows. I've set my spacing to zero, but no help! Can someone please help me past this one little glitch? Thanks again!

Mike

The code is here (Websamba won't let you see it):
<BODY>

<table width=700 BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR><TD align=left width=100><IMG SRC="subscribe.gif" WIDTH="76" HEIGHT="76"></TD>
<TD align=left width=230><IMG SRC="sentlogo.gif" WIDTH="200" HEIGHT="76" align=left></td>
<td><B><font face="arial,verdana,helvetica" size=6 color=#000080><I>Fairmont,<BR>Minnesota</I></TD>
<TD align=left><a target="_new" href="http://www.accuweather.com/adcbin/local_index.asp?zipcode=56031&partner=townnews"><i mg src="http://www.accuweather.com/wxpost/small_byzip/56031/21" border="0" alt="Weather Magnet"></a></TD></TR>
</table>
<table width=700>
<tr><td align=center bgcolor=#000080 colspan=4>
<SCRIPT Language="JavaScript">
<!-- hide from old browsers
function GetDay(intDay){
var DayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday")
return DayArray[intDay]
}

function GetMonth(intMonth){
var MonthArray = new Array("January", "February", "March",
"April", "May", "June",
"July", "August", "September",
"October", "November", "December")
return MonthArray[intMonth]
}
function getDateStrWithDOW(){
var today = new Date()
var year = today.getYear()
if(year<1000) year+=1900
var todayStr = GetDay(today.getDay()) + ", "
todayStr += GetMonth(today.getMonth()) + " " + today.getDate()
todayStr += ", " + year
return todayStr
}
//-->
</SCRIPT>
<B><font face="arial,verdana,helvetica" size=4 color=white>
<SCRIPT Language="JavaScript">
<!-- hide from old browsers
document.write(getDateStrWithDOW())
//-->
</SCRIPT>
</B></td></tr>
<TR><TD width=200 bgcolor=#000080></TD>
<TD><IMG SRC="topcurve.gif" WIDTH="17" HEIGHT="15"></TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
</TR>
</table>
</BODY>

Last edited by mjfmn; 04-06-2004 at 05:32 PM.
mjfmn is offline  
Old 04-07-2004, 07:03 PM   #2 (permalink)
NamePros Member
 
OneEyedDog's Avatar
 
Join Date: Mar 2004
Location: Middle Earth (NZ)
Posts: 162
104.00 NP$ (Donate)

OneEyedDog is on a distinguished road


I think it is because your second table tag there needs these added in the tag:

cellpadding="0" cellspacing="0"

Hope this helps, Warm Wishes,
__________________
Script Installation, Avatars, Banners and Buttons for $NP or Paypal, PM me your requirements :D
Deni J Vanin | Freelance Jobs and Forums | Web Design
OneEyedDog is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:15 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85