Click to See Complete Forum and Search --> : Line Between Cells


jbrown456
07-31-2005, 02:25 PM
Hello,
I am programing a design for a website and between the two cells,
there is a line, i don't know how to get rid of it.
I know it is probabally simple, but if someone could help me get rid of it,
it would be great.


Link:
http://www.freewebs.com/htmlsitehelp/template.html


Thanks,
Jbrown456 :D

jbrown456
07-31-2005, 03:12 PM
Anyone?

NogDog
07-31-2005, 04:25 PM
Tables are for tabular material, not for page layout. On top of that, your table markup is incorrect (no TR elements). Much better would be to go without tables at all and use CSS for the visual presentation. Oh, and always use a doctype.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
<title>Page title</title>
<style type="text/css">
<!--
body {
background: gray url("http://www.freewebs.com/htmlsitehelp/bg.jpg") repeat-y left center;
font: small tahoma, sans-serif;
margin: 0;
padding: 0;
}
#container {
background: gray url("http://www.freewebs.com/htmlsitehelp/side_all.jpg") repeat-y left center;
margin: 0;
padding: 0;
}
#main {
background-color: #ccc;
width: 560px;
margin: 10px auto;
padding: 3px;
}
#main textarea {
width: 556px;
}
#main > p {
margin: 0;
}
-->
</style>
</head>
<body>
<div id="main">
<p>Look to the left of the text here, a line is no longer being created between the
two colums.<br><br>
Code:</p>
<p><textarea cols=70 rows=30>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
</textarea></p>
</div>
<script type="text/javascript" src="/i.js"></script>
</body>
</html>

jbrown456
08-02-2005, 05:11 PM
Thank you so much, i was only using tables because i know no other way. i know next to no css. thanks again,
jbrown456