Click to See Complete Forum and Search --> : vertical frameset
Aimee
10-12-2005, 07:22 PM
If someone could help me with this, I would greatly appreciated. I've spend the past 5 hours and can't seems to get it right.
On my About Us page, I have my navigation on the left. I would like to make the background of that column a different color (#CCFF99).
Thank you in advance!
Aimee
<table width="120">
<tr>
<a href="aboutUs.php" class="subnavlinks"i>our magical story</a><br>
<a href="logo.php" class="subnavlinks"i>about our logo</a><br>
<a href="acknowledgments.php" class="subnavlinks">acknowledgments</a><br>
<a href="press.php" class="Subnavlinks"i>press</a><br>
</td>
</tr>
</table>
Kravvitz
10-12-2005, 07:42 PM
You're missing the <td>.
Please show us the rest of the code.
Why tables for layout is stupid (http://www.hotdesign.com/seybold/index.html)
Why avoiding tables (for layout) is important (http://davespicks.com/essays/notables.html)
http://www.workingwith.me.uk/tablefree/why/
http://www.sitepoint.com/article/tables-vs-css/
http://www.phrogz.net/CSS/WhyTablesAreBadForLayout.html
http://www.westciv.com/style_master/house/good_oil/dead_layout/
Aimee
10-13-2005, 06:02 AM
Okay. I omitted the story section. I didn't want to bore you guys to death!
But this is the rest, on a different php.
Thanks!
<?php
include_once("main.conf.php");
// HTML header
include_once(TMPL."startHeader.tmpl.php");
?>
<!-- start header table -->
<table width="760" cellpadding="0" cellspacing="0">
<tr>
<td><img src="<?php print(IMG); ?>sub_logo.gif" alt=""></td>
<td class="subheaderback"><img src="<?php print(IMG); ?>spacer.gif" width="3" height="45"><br>
<body oncontextmenu="return false;">
<!-- start Nav table -->
<?php
// Sub Navigation
include(TMPL ."subNav.tmpl.php");
?>
<!-- Ends Nav table -->
</td>
</tr>
</table>
<!-- end header table // -->
<!-- start content table // -->
<table width="760" cellpadding="0" cellspacing="5">
<tr valign="top">
<!-- Navigation // -->
<td width="120">
<?php
// Sub Navigation
include(TMPL ."aboutUsNav.tmpl.php");
?>
</td>
<!-- Line // -->
<td bgcolor="#9563AE"><img src="<?php print(IMG); ?>spacer.gif" width="1"></td>
<!-- Main Content // -->
<td width="619" class="aboutUsFont">
<b>OUR MAGICAL STORY</b>
</td>
<!-- Ends Main Content // -->
</tr>
</table>
<!-- end content table -->
<?php
// Copyright
include(TMPL ."copyright.tmpl.php");
// HTML header
include_once(TMPL."endHeader.tmpl.php");
?>
Kravvitz
10-13-2005, 05:35 PM
I think you want to change
<!-- Navigation // -->
<td width="120">
to
<!-- Navigation -->
<td width="120" style="background-color:#CCFF99;">
Aimee
10-14-2005, 06:19 AM
You're the best. Thanks!
Aimee