Good replacement for website frames

Andrew111

Senior member
Aug 6, 2001
792
0
0
I designed my site using frames but now I changed my mind and don't really want to use frames if I can accomplish the same thing using something else. I tried just using a table encompassing the whole page and shading the first column a solid color to give it the frame look, but it won't fill in the color at the edges of the screen and that's what I need to do. Here's a pic of the attempt at using a table:Pic

If it's not possible to do that with a table or if their is a better way to accomplish the frame look without actually using frames.....please let me know.
 

Andrew111

Senior member
Aug 6, 2001
792
0
0
That's how the table was setup when I took that screen shot. The table width is set at 100% too by the way.
 

Andrew111

Senior member
Aug 6, 2001
792
0
0
Thanks Cabana, that did the trick. Now I'm wondering how to set up a border like I had with the frame......I don't think it's possible to specify a border for just one line of a HTML table right? If it is, please let me know. I guess I could make a really thin column and give it a background color to make it appear like a border. That will probably do just fine.
 

geoff2k

Golden Member
Sep 2, 2000
1,929
0
76
CSS is your friend:

http://www.w3.org/TR/REC-CSS2/box.html

The following will put a thin border around the second cell:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<table>
<tr>
<td>nothing</td>
<td style="border: thin solid black;">border</td>
</tr>
</table>
</table>
</body>
</html>