CSS Multi columb attempt....
Posted: Sun Feb 19, 2006 2:45 pm
Allright i read some tutorials... uhm ima show u my code and hopefully somone can tell me where i went wrong...
HERES MY CSS CODE
HERES MY HTML CODE
and here is what i get
http://img476.imageshack.us/my.php?image=15el.gif
HERES MY CSS CODE
Code: Select all
a:link {color: #000000;}
a:visited {color: #ffdf7d;}
a:active {color: #ffdf7d;}
a:hover {color: #ffdf7d;}
a {text-decoration: underline;}
body{
margin-top:0px;
background:#000000;
}
div.pack{
background:#FFFFFF;
color:#fbcc3d;
width:700px;
height:inherit;
margin:auto;
}
div.banner{
background:url(images/logo.gif);
width:642px;
height:155px;
margin:auto;
}
.col1 {
background:url(images/left_border.gif);
height:auto;
width:29px;
}
.col2 {
background:url(images/logo.gif);
height:155px;
width:642;
}
.col3 {
background:url(images/right_border.gif);
height:auto;
width:29px;
}
ol {
margin: auto;
padding: 0;
}
li {
margin: 0;
padding: 0;
line-height: 1.3em;
}HERES MY HTML CODE
Code: Select all
<html>
<head>
<title>Untitled Document</title>
<link href="skin/1/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="pack">
<ol>
<li class="col1">Antelope</li>
<li class="col2">Eland</li>
<li class="col3">Meerkat</li>
</ol>
</div>
</body>
</html>http://img476.imageshack.us/my.php?image=15el.gif