Daft_Vader
03-17-2005, 07:37 PM
Hello,
This is my first post on these forums. I'm working on a small website for my youth group, and would like some help getting a certain feature of it working.
Here's what it looks like:
http://img.photobucket.com/albums/v52/RossD/small_correct.jpg
Right, I've tried to get soemthing to work for a long time now, but can't. I'd really like to get the right hand side of the web page to hold a top-to-bottom text (maybe button) navbar, and I can't get that currently due to the following code in my CSS file, which I'm unsure of what to do with:
#content {
padding: 10px;
padding-bottom: 50px;
width: 30em;
overflow: auto;
background-color: #fff;
}
Someone helped me to get some of this code working, and also converted my document to XHTML. But since this is a CSS issue, I figured I'd post it in this forum.
Anyway, I'd like to change the "width: 30em" to "70%" or some similar dimension, and then have the navbar aligned with the right, at 25% or 30%. Sound simple enough? Well I'm just wondering how I do it, because whenever I've tried before, I've tried to make a "#nav" CSS class, but it's always been positioned beneath the "#content" class instead of to the right of it. Help is appreciated. Thanks! :)
(I've attached the files including the graphics, CSS, and XHTML.)
This is my first post on these forums. I'm working on a small website for my youth group, and would like some help getting a certain feature of it working.
Here's what it looks like:
http://img.photobucket.com/albums/v52/RossD/small_correct.jpg
Right, I've tried to get soemthing to work for a long time now, but can't. I'd really like to get the right hand side of the web page to hold a top-to-bottom text (maybe button) navbar, and I can't get that currently due to the following code in my CSS file, which I'm unsure of what to do with:
#content {
padding: 10px;
padding-bottom: 50px;
width: 30em;
overflow: auto;
background-color: #fff;
}
Someone helped me to get some of this code working, and also converted my document to XHTML. But since this is a CSS issue, I figured I'd post it in this forum.
Anyway, I'd like to change the "width: 30em" to "70%" or some similar dimension, and then have the navbar aligned with the right, at 25% or 30%. Sound simple enough? Well I'm just wondering how I do it, because whenever I've tried before, I've tried to make a "#nav" CSS class, but it's always been positioned beneath the "#content" class instead of to the right of it. Help is appreciated. Thanks! :)
(I've attached the files including the graphics, CSS, and XHTML.)