Hi all,
I have what is (hopefully) my last question...
I have the following layout:
I want the border to run down the sides of the menu, a border along the bottom, and then a border around everyhting else.
Get this, it actually works fine in IE! in FF the border on the right runs all of the way to the top.
I know it is something in my css..... So if someone can take a look I would appreciate it.
And the HTML
Thanks in advance,
Jim
I have what is (hopefully) my last question...
I have the following layout:
Code:
**************
* *
* TOP *
**************
* menu *
**************
*everything *
* else *
**************
I want the border to run down the sides of the menu, a border along the bottom, and then a border around everyhting else.
Get this, it actually works fine in IE! in FF the border on the right runs all of the way to the top.
I know it is something in my css..... So if someone can take a look I would appreciate it.
Code:
body {
margin:0px 0px;
padding:0px;
text-align:center;
}
.Content {
width:780px;
margin:0px auto;
text-align:left;
background-color:#fff;
position: relative;
}
#main_content {
width:780px;
min-height:500px;
_height: 200px;
background-color:#fff;
border-bottom: 1px solid #0000ff;
border-left: 1px solid #0000ff;
border-right: 1px solid #0000ff;
}
a:link {
text-decoration: none;
}
a:hover {
TEXT-DECORATION: underline overline;
color: #0000ff;
}
a:visited {
text-decoration: none;
color: #0000ff;
}
a:active {
color: #0000ff;
}
.maintext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #ffffff;
line-height:16px;
}
.bottom {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #4985BC;
line-height:35px;
}
.headpic {
margin: 0;
float: left;
padding:0;
}
.head2 {
margin: 0;
float: left;
padding:0;
width: 780px;
height: 39px;
background-image: url(../images/index_10.jpg);
border-bottom: 1px solid #0000ff;
border-left: 1px solid #0000ff;
border-right: 1px solid #0000ff;
}
.menu {
color: #0033cc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
padding-top: 15px;
padding-left: 10px;
font-weight: bold;
float: left;
}
.seperator {
color: #0033cc;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
padding-top: 14px;
padding-left: 10px;
font-weight: bold;
float: left;
}
And the HTML
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Valley Web Network -- Your LOCAL Web Hosting Solution</title>
<link REL="STYLESHEET" TYPE="text/css" HREF="css/styles.css">
</head>
<body>
<div class="Content">
<div class="headpic">
<img src="../MyHT/images/top.jpg" height="153" alt="" border="0"></div><div class="head2">
<div class="menu"><a href="index.html">Home</a></div>
<div class="seperator">|</div>
<div class="menu"><a href="plans.html">Hosting Plans</a></div>
<div class="seperator">|</div>
<div class="menu"><a href="support.html">Support</a></div>
<div class="seperator">|</div>
<div class="menu"><a href="test.html">Testimonials</a></div>
<div class="seperator">|</div>
<div class="menu"><a href="faq.html">FAQ</a></div>
<div class="seperator">|</div>
<div class="menu"><a href="about.html">About Us</a></div>
<div class="seperator">|</div>
<div class="menu"><a href="contact.html">Contact Us</a></div>
</div>
<div id="main_content">
<img src="../MyHT/images/left_servers.jpg" border="0">
</div>
</div>
</body>
</html>
Thanks in advance,
Jim