Hi, I have a problem with a website I'm designing. There's a thin line under the background gradient (the very back background) from the top of the background, as if it repeats across the Y-Axis a little bit, when it should only be repeating across the X-Axis. Any tips would be very helpful.
HTML Source:
CSS:
Any tips?
HTML Source:
Code:
<!--At Header-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
abc123</title>
<link rel = "stylesheet" type = "text/css" href = "css.css" />
</head>
<body>
<div id = "_maindiv">
<div id = "_titlediv">
<table>
<tr>
<td>
<img src = "images/logo.png" alt = "" />
</td>
<td>
Test
<p id = "_quotes" class = "_italic">
"testing"
</p>
</td>
</tr>
</table>
</div>
<table>
<tr>
<td>
</td>
<td>
</td>
</tr>
<table>
<h1> CSS</h1>
<!--Going to Main-->
<!-- at main -->
Test.
<!-- Going to footer -->
<!--at footer-->
<br />
</div>
</body>
</html>
CSS:
Code:
body,html
{
background : #4c99d4 url(images/_bg1.png) repeat-x;
margin: 0px;
padding-top: 6px;
padding-left: 9%;
padding-right: 9%;
padding-bottom: 6px;
font-size: 12pt;
font-family: Verdana,Arial,Tahoma,Sans-Serif;
position: relative;
}
a:link
{
color: #8888dd;
text-decoration: none
}
a:hover,active
{
color: #444444;
text-decoration: none
}
a:visited
{
color: #7777bb;
text-decoration: none
}
._center
{
text-align: center
}
._left
{
text-align: left
}
._right
{
text-align: right
}
._italic
{
font-style: italic
}
._bold
{
font-weight: bold
}
._under
{
text-decoration: underline
}
._over
{
text-decoration: overline
}
._thru
{
text-decoration: line-through
}
p#_quotes
{
font-size: 12pt;
}
div#_maindiv
{
background-color: #f0f6fb;
background-image: url();
width: 100%;
min-width: 200px;
max-width: 100%;
height: auto;
min-height: 100px;
border-width: 1px;
border-color: #246495;
border-style: solid;
color: #000
}
div#_titlediv
{
background-color: #f0f6fb;
background-image: url();
width: 100%;
min-width: 100px;
max-width: 100%;
height: auto;
min-height: 55px;
border-bottom-width: 1px;
border-color: #246495;
border-bottom-style: dotted;
font-size: 23pt;
color: #102D43;
text-align: left
}
Any tips?
Last edited: