Bry Man
10-11-2004, 01:41 AM
Hi
Ive bee working on a new layout for my site for about 2 days now and ive spent about a day and a half and aa certain problem is just buggin the crap out of me and i jsut cant seem to figure it out.
I have a 3 Colum web page and the 2 outer ones are behaving properly as they should (I think) but the middle one isnt resizing itself properly to fit lower or higher resolutions, it is resizing however but out of proportion to the rest of my site. The middle colum code for the site which is extremely simple is this
<div class="col2">
<div class="date">October 11th 2004</div>
<div class="news">And todays news is what is in here</div>
</div>
And the css that contros it is
.col2 {
border-collapse:collapse;
position:absolute;
top:167px;
left:17%;
right17%;
width:66%;
border:0px solid #009900;
padding:3px;
}
Also I dont know if this is of any sue but heres the code for the news and date sections
.date {
padding-right:1px;
margin-bottom: -1px;
border-collapse:collapse;
width:100%;
background-color:#011B35;
color:#FFFFFF;
font-size:15px;
border:1px solid #000000;
text-align: center;
}
.news {
padding-left:1px;
padding-bottom:1px;
padding-top:1px;
margin-bottom:-1px;
font-size:13px;
border-collapse:collapse;
width: 100%;
background-color:#304459;
border:1px solid #000000;
border-top-width: 0px;
color: #FFFFFF;
}
Any help is apreciated
Ive bee working on a new layout for my site for about 2 days now and ive spent about a day and a half and aa certain problem is just buggin the crap out of me and i jsut cant seem to figure it out.
I have a 3 Colum web page and the 2 outer ones are behaving properly as they should (I think) but the middle one isnt resizing itself properly to fit lower or higher resolutions, it is resizing however but out of proportion to the rest of my site. The middle colum code for the site which is extremely simple is this
<div class="col2">
<div class="date">October 11th 2004</div>
<div class="news">And todays news is what is in here</div>
</div>
And the css that contros it is
.col2 {
border-collapse:collapse;
position:absolute;
top:167px;
left:17%;
right17%;
width:66%;
border:0px solid #009900;
padding:3px;
}
Also I dont know if this is of any sue but heres the code for the news and date sections
.date {
padding-right:1px;
margin-bottom: -1px;
border-collapse:collapse;
width:100%;
background-color:#011B35;
color:#FFFFFF;
font-size:15px;
border:1px solid #000000;
text-align: center;
}
.news {
padding-left:1px;
padding-bottom:1px;
padding-top:1px;
margin-bottom:-1px;
font-size:13px;
border-collapse:collapse;
width: 100%;
background-color:#304459;
border:1px solid #000000;
border-top-width: 0px;
color: #FFFFFF;
}
Any help is apreciated