http://www.pauserefreshment.co.uk/3_column_tutorial.html
On the above page (its not infected all i frames are removed. View in IE)
I followed a tutorial onh rounded corners in Sitepoints book “The Art & Science of CSS” but ive hit a snag
I just cant get the bottom rounded corner to appear. So my specific question is…
“How do I get the far right column to get rounded jpg to appear at the bottom of the column please”
Here is the offending code:
<!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" />
<meta name="robots" value="noindex, nofollow" />
<link rel="stylesheet" type="text/css" href="css/tutorial.css" />
<title>3 column layout tutorial</title>
</head>
<body id="tutorial" onload="alert('This is my 3 column css tutorial');">
<div id="wrapper3column">
<div id="header3">
Header
</div>
<div id="columnleft3">
<p>TEST column left TEST column left TEST column left TEST column left TEST column left </p>
</div>
<div id="columnmain3">
<p>TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column central TEST column centralTEST column central TEST column central TEST column central TEST column central</p>
</div>
<div id="columnright3">
<p>TEST column right. TEST column right. TEST column right. TEST column right. TEST column right. TEST column right. TEST column right. TEST column right. TEST column right. </p>
</div>
<div id="footer3">
<p>Footer</p>
</div>
</div>
</body>
</html>
/////////////////////////////
@charset "utf-8";
/* CSS Document */
/* 1 column css*/
#container
{
margin: 0 30px;
background: #fff;
}
#header
{
background: #ccc;
padding: 20px;
}
#header h1 { margin: 0; }
#navigation
{
float: left;
width: 100%;
background: #333;
}
#navigation ul
{
margin: 0;
padding: 0;
}
#navigation ul li
{
list-style-type: none;
display: inline;
}
#navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}
#navigation li a:hover { background: #383; }
#content
{
clear: left;
padding: 20px;
}
#content h2
{
color: #000;
font-size: 160%;
margin: 0 0 .5em;
}
#footer
{
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}
/* 1 column css ends*/
/* 2 column css starts*/
#wrapper2column {
width:800px;
margin-left:auto;
margin-right:auto;
background:#FFFFFF url(../images/faux_column2.jpg) repeat-y 50% 0;
}
#leftcolumn {
float:left;
width:20%;
border: 3px solid black;
background:#00FF66;
}
#maincontent {
border:5px solid red;
padding-left:160px;
}
body {
background:#000000;
}
#header2column {
border:5px solid green;
}
#footer2column {
border:5px solid yellow;
clear:both;
}
/* 2 column css ends*/
/* 3 column css starts*/
#tutorial {
background:orange;
}
#columnleft3 {
width:267px;
float:left;
background:#CC00CC;
}
#columnleft3 p {
}
#columnmain3 {
width:267px;
float:left;
background:yellow;
}
#columnmain3 p {
}
#columnright3 {
width:267px;
float:left;
background:green url(../images/round_corner_bottom.jpg) no-repeat bottom left;
}
#columnright3 p {
background:green url(../images/round_corner_top.jpg) no-repeat;
}
#wrapper3column {
width:801px;
background:red url(../images/faux_column2.jpg) repeat-y 50% 0;
margin-left:auto;
margin-right:auto;
}
#footer3 {
height:20px;
background:#00CC99;
clear:both;
}
/* 3 column css ends*/