Forum Moderators: not2easy
make the left and right columns 300px wide, and make the center column 100% wide -- but give it 300px of padding each side so it doesn't overlap the others.
#col1 {
position: absolute; top: 0; left: 0; width: 300px;
}#col2 {
position: absolute; top: 0; left: 0; width: 100%;
padding-left: 300px; padding-right: 300px;
}
#col3 {
position: absolute; top: 0; right: 0; width: 300px;
}
Welcome to WebmasterWorld!
Try a search on google, there are several sites out there that have different templates on them that you can use.
As Londrum stated, there are several ways in which you can do this.
Search css fixed width layouts. You'll most likely run into tutorials as well, though you can search for those also.
If you are new to css, you might want to look in the Library [webmasterworld.com] as well as do the google search.
Good luck, and once again, welcome!
I want the site to stretch the entire width of the screen
depending on the users resolution and screen size if possible.
I (personally) would caution against this. Depending on the amount of content, your page may become very difficult to read on a wide screen, e.g. => 1400px. If you do some research, I believe you will find that the current most popular width is about 1024px.
Marshall