![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
| ---- C |
| ---- --------- |
#2
| |||
| |||
|
|
Hello! I'm currently trying to make my very first stylesheet (aspirin needed) and I'm, of course, facing some problems. I"ve found many sites offering layout tutorial for 3 colums websites, very interesting ones. Problem is: the 3 colums are side by side (normal) but I want 2 sidebars on the right + main content on the left. site should look like this (Header, Sidebar1, Sidebar2, Content, Footer) |
#3
| ||||
| ||||
|
|
Wrap the two side bars in their own container, and treat that container plus the content as a simple two-column layout. |
|
I've snipped all your css (better to post a url to a test page), |
|
but you might want to consider dropping the height specifications. |
|
I'd also specify the width of your side bars in em units, rather than px, so they scale with the user's preferred font sizes. |
#4
| |||
| |||
|
|
Hi David, Thanks for your answer On 25 mar, 21:25, David Stone <no.em... (AT) domain (DOT) invalid> wrote: Wrap the two side bars in their own container, and treat that container plus the content as a simple two-column layout. err...how to? I'm really an absolute beginner and many simple things cause me great trouble. I've been able to wrap everything into the main container but my attempts to "sub wrap" have failed. Something to do with the positions of the { } maybe. I'll check again my tutorials ^^^ |
|
and see if I find info on that. |
#5
| |||
| |||
|
|
I think you're confusing the intention. *Wrapping content items together means placing them inside a common div within the html, not trying to nest rules in CSS. |
|
It's not quite what you want, but you can see how this might work here: * *http://www.chem.utoronto.ca/~dstone/twocol/equal3.html |
#6
| |||
| |||
|
|
On 26 mar, 21:24, David Stone <no.em... (AT) domain (DOT) invalid> wrote: I think you're confusing the intention. Wrapping content items together means placing them inside a common div within the html, not trying to nest rules in CSS. yep, I'm still pretty lost with some of the CSS terminology. It's not quite what you want, but you can see how this might work here: http://www.chem.utoronto.ca/~dstone/twocol/equal3.html Well, I worked on the style sheet this afternoon and so far result is like this (found back some old free account I didn't use for ages) http://laurent.courtin1.free.fr/test/index.html not exactly what I was thinking about but at least it's working. Now I have to find how to have rounded corners on my borders. What would you advise me use: gifs method or krazy korners css methods? |
|
Larry |
![]() |
| Thread Tools | |
| Display Modes | |
| |