Hello.
If you are wishing to 'slice' a layout then I suggest slicing it with the slice tool then saving it for web and then opening a blank notepad and writing the basic standard XHTML strict layout out.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
<head>
<title></title>
<link href="main.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
</body>
</html>
Then save that as index.html and now we just have to work around the CSS and actually coding your layout. Say you have your banner which is a nice 700px X 100px you could write out in another blank notepad.
HTML Code:
.container{
width: 700px;
background-color: #hex code;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
}
.banner{
width: 700px;
background-image: url(images/banner.gif);
}
Now basically what that does is create two CSS classes which you can sort of link with a DIV so open up index.html and type in your body.
HTML Code:
<div class="container">
</div class="banner"></div>
</div>
The container does as it says and it 'holds' the layout by containing it so if you had a 800px banner yet set the .container{ to 700px; it would look weird. Now all you have to do is use the basic class or ID settings to make out your other basic boxes and other things to do with your layout. You can learn more advanted things with CSS like float and padding at
www.W3schools.com www.cssbasics.com
Thanks
Encryptions!