Spondishy wrote:
Thanks els,
Did I answer a question of yours? When? Where? What about? (see below)
Yes, I meant horizontal scrollbars.
Just a couple of other questions if that is OK.
1) Can I make the #content have a 10px gap to the left of the
border-right
Yes. Just set padding:10px to #content. (I'm guessing you want padding
on all the other sides of #content too, if not: padding-right:10px;
2) If I have a div that is 100% wide, with a 1px border all the way
around. How do I stop the horizontal scrollbar in that instance?
There is no horizontal scrollbar when you do that.
Unless you mean in IE?
Any div that hasn't got a width set, will take up 100% of the width.
If you add borders, it will take up 100% - border widths. So the
answer is, just don't set the width at all.
3) What is the significance of the container div?
You can do it without a container div, but I almost always end up
needing it because I want more than just one sidebar and one content
area. Stuff like header and footer, sometimes a margin around the
page.
Thanks.
You're welcome.
Now it's my turn to ask something:
Can you please do as the rest of us, and quote the relevant parts of
messages when you reply to them? It makes it a lot easier for
everybody, including yourself - you'll see.
How to do it in Google Groups, is explained on this page:
http://www.safalra.com/special/googlegroupsreply/
Thanks :-)
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -