-
Nov 10th, 2011, 12:36 AM
#1
Thread Starter
Hyperactive Member
Auto Resizable Divs with CSS
I use skybluecanvas as my cms, the code below is in my template file, the sidebar div is set at 30% and the main div at 70%, it looks fine now on my pc but if i use a smaller resolution or resize my browser window my sidebar overlaps the main div.
Code:
<div id="content-wrap">
<div id="main" >
<!--#plugin:fragment(page,view)-->
</div>
<div id="sidebar">
<!--#plugin:fragment(ABOUT-LINKS)-->
</div>
</div>
My main div resizes automatically, how can i make my sidebar and whatever content i have within it do the same. As its a menu within the sidebar any code that can automatically resize my menu text as well would be useful.
My main menu bar across the top does the same, rather than resizing the text to a smaller font, it moves the menu text underneath.
if you look here, select all then resize your window and you'll see what i mean,
Thanks Chris1990
Last edited by chris1990; Nov 10th, 2011 at 12:58 AM.
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
Nov 10th, 2011, 02:04 AM
#2
Re: Auto Resizable Divs with CSS
What css code are you using?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Nov 10th, 2011, 03:21 AM
#3
Thread Starter
Hyperactive Member
Re: Auto Resizable Divs with CSS
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
Nov 10th, 2011, 05:09 AM
#4
Re: Auto Resizable Divs with CSS
Have you solved the problem? I test the above site and it doesn't appear overlap anymore whereas before Corporate Taxi Services, Contact Us and News were wrapped underneath and got hidden by the middle divs.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Nov 12th, 2011, 05:05 PM
#5
Thread Starter
Hyperactive Member
Re: Auto Resizable Divs with CSS
No, I haven't changed anything on the site, i'm using my local server.
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|