osayi
07-31-2009, 02:11 AM
Okay guys I can't stress how much of a noob I am so please be gentle. You can tell from my (lack of) styling.
I use a Mac but can't find any free HTML editors so I'm stuck with flipping over to my Windows side to use FrontPage. If you can direct me to a FrontPage alternative for Mac, that'll be an added bonus.
Here's the HTML code I'm battling with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Yada yada</title>
</head>
<body bgcolor="#F5F5F5" topmargin="0">
<div id="header" align="center">
<table width="600" height="50" cellspacing="0" cellpadding="5" border="0">
<tr>
<td width="45" height="50" align="left" valign="bottom" bgcolor="#008000">
</td>
<td width="377" height="50" align="left" valign="bottom" bgcolor="#0000FF">
</td>
<td width="178" height="50" align="right" valign="bottom" bgcolor="#800000">
<font face="Arial" style="font-size: 8pt" color="#F5F5F5"><b>
<a href="index.html" style="text-decoration: none">
<font color="#F5F5F5">
HOME</font></a>
<font color="#F5F5F5">
| SERVICES |
<a href="contact_us.html" style="text-decoration: none">
<font color="#F5F5F5">
CONTACT US</font></a></b></td>
</tr>
</table>
</div>
<div id="spacer-small" align="center">
<table width="600" height="10" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
<div id="banner" align="center">
<table width="600" height="200" cellspacing="0" cellpadding="10" border="0" bgcolor="#000000">
<tr>
<td> </td>
</tr>
</table>
</div>
<div id="spacer-big" align="center">
<table width="600" height="20" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
<div id="title" align="center">
<table width="600" height="40" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" valign="top"><font face="Arial" style="font-size: 20pt" color="#800000">
Yada</font></td>
</tr>
</table>
</div>
<div id="content" align="center">
<table width="600" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="350" align="left" valign="top">
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada
yada yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada
yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646"><b>
<a href="contact_us.html" style="text-decoration: none">
<font color="#464646">
Yada yada yada yada yada.</font></a></b></font></td>
<td width="20" align="left">
<font face="Arial" style="font-size: 1pt" color="#464646"> </font></td>
<td width="230" align="left" valign="top">
<font face="Arial" style="font-size: 20pt" color="#800000">
Yada yada yada yada yada yada yada yada yada yada.</font><p>
<font face="Arial" style="font-size: 20pt" color="#800000">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada.</font></td>
</tr>
</table>
</div>
<div id="spacer-big" align="center">
<table width="600" height="20" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
<div id="copyright" align="center">
<table width="600" height="50" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><font face="Verdana" style="font-size: 7pt" color="#C0C0C0">
© 2009 Yada yada. All rights reserved.</font></td>
</tr>
</table>
</div>
<div id="footer" align="center">
<table width="600" height="10" cellspacing="0" cellpadding="0" border="0" bgcolor="#800000">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
</body>
</html>
Messy, I know. Here are the three issues I'm having:
1) In the green cell, I'd like to place a logo there that measures 35 x 30 (w x h). When I do so, the cell moves and I don't know why. The table that houses this cell has cellpadding set to 5 so I accommodate this by making the cell width 10px (5 on either side of the logo) but it doesn't help.
2) In the blue cell, I'd like to place two relatively long words (firstlongword and secondlongword, say) but without affecting the size of the maroon cell. In Cell Properties, I left the 'No wrap' option unchecked but that doesn't help.
3) In the maroon cell, I'd like to add a simple CSS drop down menu for SERVICES. I found one at http://pixelspread.com/blog/289/css-drop-down-menu (demo: http://pixelspread.com/demo/cssdropdown.html) but I'm having difficulty making it work for me.
I've tried to keep the site as simple as I can but I can't get around these three things. Any assistance is greatly appreciated.
I use a Mac but can't find any free HTML editors so I'm stuck with flipping over to my Windows side to use FrontPage. If you can direct me to a FrontPage alternative for Mac, that'll be an added bonus.
Here's the HTML code I'm battling with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Yada yada</title>
</head>
<body bgcolor="#F5F5F5" topmargin="0">
<div id="header" align="center">
<table width="600" height="50" cellspacing="0" cellpadding="5" border="0">
<tr>
<td width="45" height="50" align="left" valign="bottom" bgcolor="#008000">
</td>
<td width="377" height="50" align="left" valign="bottom" bgcolor="#0000FF">
</td>
<td width="178" height="50" align="right" valign="bottom" bgcolor="#800000">
<font face="Arial" style="font-size: 8pt" color="#F5F5F5"><b>
<a href="index.html" style="text-decoration: none">
<font color="#F5F5F5">
HOME</font></a>
<font color="#F5F5F5">
| SERVICES |
<a href="contact_us.html" style="text-decoration: none">
<font color="#F5F5F5">
CONTACT US</font></a></b></td>
</tr>
</table>
</div>
<div id="spacer-small" align="center">
<table width="600" height="10" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
<div id="banner" align="center">
<table width="600" height="200" cellspacing="0" cellpadding="10" border="0" bgcolor="#000000">
<tr>
<td> </td>
</tr>
</table>
</div>
<div id="spacer-big" align="center">
<table width="600" height="20" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
<div id="title" align="center">
<table width="600" height="40" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" valign="top"><font face="Arial" style="font-size: 20pt" color="#800000">
Yada</font></td>
</tr>
</table>
</div>
<div id="content" align="center">
<table width="600" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="350" align="left" valign="top">
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada
yada yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada
yada yada yada yada.</font>
<p style="line-height: 100%">
<font face="Verdana" style="font-size: 8pt" color="#464646"><b>
<a href="contact_us.html" style="text-decoration: none">
<font color="#464646">
Yada yada yada yada yada.</font></a></b></font></td>
<td width="20" align="left">
<font face="Arial" style="font-size: 1pt" color="#464646"> </font></td>
<td width="230" align="left" valign="top">
<font face="Arial" style="font-size: 20pt" color="#800000">
Yada yada yada yada yada yada yada yada yada yada.</font><p>
<font face="Arial" style="font-size: 20pt" color="#800000">
Yada yada yada yada yada yada yada yada yada yada yada yada yada yada.</font></td>
</tr>
</table>
</div>
<div id="spacer-big" align="center">
<table width="600" height="20" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
<div id="copyright" align="center">
<table width="600" height="50" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><font face="Verdana" style="font-size: 7pt" color="#C0C0C0">
© 2009 Yada yada. All rights reserved.</font></td>
</tr>
</table>
</div>
<div id="footer" align="center">
<table width="600" height="10" cellspacing="0" cellpadding="0" border="0" bgcolor="#800000">
<tr>
<td><font face="Arial" style="font-size: 1pt" color="#464646">
</font></td>
</tr>
</table>
</div>
</body>
</html>
Messy, I know. Here are the three issues I'm having:
1) In the green cell, I'd like to place a logo there that measures 35 x 30 (w x h). When I do so, the cell moves and I don't know why. The table that houses this cell has cellpadding set to 5 so I accommodate this by making the cell width 10px (5 on either side of the logo) but it doesn't help.
2) In the blue cell, I'd like to place two relatively long words (firstlongword and secondlongword, say) but without affecting the size of the maroon cell. In Cell Properties, I left the 'No wrap' option unchecked but that doesn't help.
3) In the maroon cell, I'd like to add a simple CSS drop down menu for SERVICES. I found one at http://pixelspread.com/blog/289/css-drop-down-menu (demo: http://pixelspread.com/demo/cssdropdown.html) but I'm having difficulty making it work for me.
I've tried to keep the site as simple as I can but I can't get around these three things. Any assistance is greatly appreciated.