now i cant quite get the border to work im not sure how to code it with css, this is the border that i need:
This is the code that i have so far:
css:
@charset "utf-8";
/* CSS Document */
.header
{
width: 752px;
height: 179px;
margin-top: 50px;
background:url(header.png) no-repeat center top;
margin-left: 74px;
}
.content
{
width: 749px;
height: 646px;
background:url(contentbox.png) no-repeat center;
margin-left: 74px;
margin-top: 23px;
}
.nav_button1
{
width: 71px;
height: 42px;
background:url(home_btn1.png) no-repeat left;
float: left;
margin-left: 129px;
margin-top: -9px;
}
.nav_button2
{
width: 89px;
height:47px;
background:url(tutorials_btn2.png) no-repeat left;
float:left;
margin-left:22px;
margin-top:-14px;
}
.nav_button3
{
width:90px;
height:47px;
background:url(contact_btn4.png) no-repeat right;
float:right;
margin-right:85px;
margin-top:-13px;
}
.nav_button4
{
width:95px;
height:46px;
background:url(portfolio_btn3.png) no-repeat right;
float:right;
margin-top:-13px;
margin-right:22px;
}
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="header"> </div> <div class="content"> </div> <div class="nav_button1"> </div> <div class="nav_button2"> </div> <div class="nav_button3"> </div> <div class="nav_button4"> </div> </body> </html>
Any help would be great.
Edited by Lastcrime, 19 July 2007 - 10:22 PM.
