![]() |
Beginner Mistake by CSS styling
Hi guys,
I am about to learn CSS. Today I made a web page which you can find here: http://acecars24.com/test The code might includes many mistakes, however what makes me crazy is the fact, that if I make the Browser window smaller, the sidebar (in pink) jumpt underneath the main content. What is my mistake? Thanks |
Hello kayut,
When #wrapper narrows up to where your #main and aside do not fit beside each other, the elements start re-arranging themselves so they do fit. That's what they're supposed to do. To stop that, set either a width or a min-width on #wrapper. |
Thanks for your reply.
I know. Meanwhile I changed the code and it works now the way I wanted. The next problem is: What should I add to my CSS code, so that the sidebar is always as heigh as the main content?? |
| All times are GMT +1. The time now is 06:23 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.