hi guys, i found a css template online and i am just wondering how to make the right column same width as the left column. I’ve attached the files for your reference.
thanks guys for your help.
the problem is why I can’t attach the zip file??? anyway here’s the css script:
body {
margin: 0 auto;
padding: 0;
font: 76% Verdana, Arial, Helvetica, sans-serif;
background: #f4f4f4 url(images/backround.gif) top center repeat-y;
}
.box_right {
position:relative;
float:right;
clear:both;
width:200px;
margin:0 0 5px 10px;
padding:0 10px 0 10px;
background:#FF9A58;
color:#000000;
font-family:Arial, Helvetica, sans-serif;
font-size:.9em;
}
.box_right p {
margin:5px 5px;
}
.box_cnr_top {
background:url(images/cnr_tr.gif) no-repeat top right;
margin:0 -10px 0 -10px;
}
.box_cnr_bottom {
background:url(images/cnr_br.gif) no-repeat top right;
margin:0 -10px 0 -10px;
}
img.cnr {
width:8px;
height:8px;
border:none;
display: block !important;
}
#leftsidebar {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 760px;
}
#header {
margin: 0 0 8px 0;
border: 0;
}
#topmenu {
clear: left;
float: left;
width: 150px;
height: 84px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
background: #f4f4f4 url(images/topmenu.gif) top left no-repeat;
}
#menu {
clear: left;
float: left;
width: 150px;
margin: 0 0 0px 0;
padding: 0;
font-size: 0.9em;
}
#menu ul {
list-style: none;
width: 150px;
margin: 0 0 10px 0;
padding: 0;
font-size: 1.1em;
}
#menu li {
margin-bottom: 4px;
}
#menu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #E9550B;
display: block;
padding: 5px 0 0 8px;
background: #ffffff;
border-left: 5px solid #E9550B;
}
#menu li a:hover {
background: #E9550B;
color: #ffffff;
border-left: 5px solid #DFE3EA;
}
.leftnews {
margin: 1px 0 1px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #F7F9F7;
line-height: 1.3em;
}
.rightnews {
float: right;
width: 94px;
background-color: #F7F9F7;
margin: 0 0 10px 10px;
padding: 5px;
font-size: 0.9em;
line-height: 1.5em;
}
#rightnews p {
margin: 0 0 1.5em 0;
}
#content {
margin: 0 110px 20px 160px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
}
#content h2 {
font-size: 1.5em;
margin: 0 0 0.5em 0;
}
#content img {
padding: 0px;
display:inline;
border: thin none #CCCCCC;
background-color: #FFFFFF;
}
.greenbox {
background-color: #F7F9F7;
border: 1px solid #E9550B;
color: inherit;
padding: 5px;
margin: 0px;
}
.bluebox {
background-color: #EDF3FE;
border: 1px solid #74A8F5;
color: inherit;
padding: 5px;
margin: 0px;
}
.splitright {
background-color: #ffffff;
width: 49%;
float: right;
overflow: hidden;
}
.splitleft {
background-color: #ffffff;
width: 49%;
float: left;
overflow: hidden;
}
h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}
a {
text-decoration: none;
color: #74A8F5;
}
a:hover {
text-decoration: underline;
color: #86C32A;
}
a img {
border: 0;
}
#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 3px solid #E9550B;
width: 760px;
text-align: center;
color: #E9550B;
font-size: 0.9em;
}
#footer a {
color: #E9550B;
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
color: #E9550B;
}
.left {
margin: 10px 10px 5px 0;
float: left;
}
.right {
margin: 10px 0 5px 10px;
float: right;
}
.textright {
text-align: right;
}
.center {
text-align: center;
}
.small {
font-size: 0.9em;
}
.bold {
font-weight: bold;
}
.hide {
display: none;
}
.style3 {color: #E9550B}
.style4 {color: #E9550B}
.style5 {color: #FF9933}
.style6 {color: #86C32A}
.style7 {color: #E9550B}
.style8 {color: #999999}
/* workarounds and hacks */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-table;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */