így néz ki a problémám a gyakorlatban. látszik hogy a fej alatt és a láb felett van egy néhány pixel vastag csík, ami nem kéne hogy ott legyen.

[
Kattints ide a teljes méretű képhez ]
ez a kódom:
<style type="text/css">
#fej,#torzs,#lab {width:770px; text-align:center; margin-left:auto; margin-right:auto;}
#fej {height:33px;background: url(images/table_top_2.jpg )}
#torzs {background: url(images/table_middle_2.jpg); background-repeat:repeat-y; }
#lab {height:43px; background: url(images/table_bottom_2.jpg)}
</style>
<style type="text/css">
body {background-color: #4884b7;margin-top: 20px;color: #cfd3d7;font-family: helvetica, arial, verdana;font-size:13px;line-height:100%;}
h1 {font-size: 15px;color: #bbe1fc;font-weight:600;text-align:center;text-transform:capitalize;line-height:100%;font: Verdana;}
p {font-size:13px;color: #d7d8da;font:Verdana;text-align:left; line-height:100%;margin:10px;}
.class1 A:link {text-decoration:none; color:#FF8000; font-size:13px;}
.class1 A:visited {text-decoration: none; color:#FF0000; font-size:13px;}
.class1 A:hover {text-decoration: underline; color:#2EADFA }
.class1 A:active {text-decoration: none; color:#CECECE}
.class2 A:link {text-decoration:underline; color:#28A7D0}
.class2 A:visited {text-decoration: underline; color:#94CFEF}
.class2 A:hover {text-decoration: none; color:#FF8000 ;}
.class2 A:active {text-decoration: underline overline; color:white}
</style>
</head>
<body>
<div id="fej"></div>
<div id="torzs"><h1>helló világ</h1>
<p>Keep repeating your mantra, you already sent me there once, next time I won't forget to check there before pulling my hair out. Thanks also for the selfhtml web site, it's really well done. I've been looking for something like this for some time and I found nothing as clear and useful (translated into French, on top of that).</p>
</div>
<div id="lab"></div>
</body>
</html>
mi lehet a gond? nem sikerült rájönnöm.
Szerkesztette: McElroy 2006. 10. 19. 08:20 -kor