Q: I designed my site using frames, but now I changed my mind and not really want to use frames if I can be the same with anything else away. I tried just using a table, the whole page and shading the first column, a solid color to the frame look, but it will not fill in the color at the edges of the screen and thats what I do. Here is a picture of the attempt of using a table: Pic (http://pics.bbzzdd.com/users/Psycho1/table.jpg)
If is not possible to do that with a table or if their is a better way to accomplish the frame look without actually using frames . let me know.
Best Answer: Check out www.atbatt.com They have batteries and accessories. Delivery and prices are very reasonable
Re: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>
Re:Thanks guy, 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.
Re:<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
Re:That's how the table was setup when I took that screen shot. The table width is set at 100% too by the way.
Re:Set both cell spacing and cell padding properties of the table tag to 0.
0 Comments.