I thought I'd give you a more specific example using the boxes on the right. Here is how you would make one of those boxes:
1) You'd make style sheets with the attributes you want (color, border, font, etc...)
2) Then, apply those styles to different areas of your html coding - in the case on this page, DIV tags are being used. (I've strippped as much code as possible to make the example short - so the text looks a bit plain, but just change your styles to have any look you want).
<html>
<head>
<title>Example</title>
<!-- -----DEFINE YOUR STYLES --------------------------------- -->
<style type="text/css">
<!--
.sidebar_head1 { background: #6992D0 url( http://www.webmaster-talk.com/w-t_st..._head-left.gif) no-repeat top left; }
.sidebar_head2 {
background: url( http://www.webmaster-talk.com/w-t_st...head-right.gif) no-repeat top right;
padding: 2px 2px 2px 5px;
}
.sidebar_content {
background-color: #F1F3F7;
border: 1px solid #6992D0;
padding: 5px;
}
-->
</style>
</head>
<body>
<table>
<tr>
<td valign="top">
<div class="sidebar_head1"><div class="sidebar_head2">
Hello
</div></div>
<div class="sidebar_content">This is the info in the middle</div>
</td></tr></table>
</body>
</html>
__________________
Jeannie
"ergo bibamus"
|