Jump to content
xisto Community
Sign in to follow this  
snlildude87

Css Question: Expanding Container expand based on length...

Recommended Posts

http://forums.xisto.com/no_longer_exists/

 

Hey guys. I've decided to make a new template for my site recently. Instead of building one from scratch, I borrowed whyme's template from oswd.org. After modifying everything everything, I found a problem: the container doesn't expand as #side increases in length (refer to the source code of the HTML and CSS files of the first URL in this post).

 

In other words, the container doesn't expand for the small content boxes, but it does expand for the main content boxes (the large ones).

 

Does anyone know a solution that I can use so that the container will expand for both content boxes (large and small)? I asked whyme, and he said that #side is not inside #content, and he's right. I notice that #side loads first for some weird reason....

 

Any reply is appreciated!! :P

 

Edit: Fixed BBCode: -> whyme's template from oswd.org -> whyme's template from oswd.org

Edited by snlildude87 (see edit history)

Share this post


Link to post
Share on other sites

so what are you asking for individual boxes if that be the case then use the <div> or <span> tags its a little more work with moving the width and height. also it could be the tables that affecting it but refer back to <div> and <span> tagsbtw your are not xhtml compatible :D

Share this post


Link to post
Share on other sites

so what are you asking for individual boxes if that be the case then use the <div> or <span> tags its a little more work with moving the width and height. also it could be the tables that affecting it but refer back to <div> and <span> tags

 

btw your are not xhtml compatible :D

149662[/snapback]

I did use <div> tags for my site. I prefer it over tables because if you have a large site, then instead of the browser reading all the cells in the table, the browser would render the <div> as it finishes reading it. Faster loading time in the long run basically.

 

If you view my site in Internet Explorer, you'll see that the little boxes on the right is somehow not contained in its box. It seems to float above the box, so I'm just wondering what I could do to fix it.

 

Mike, compatibility is the least of my worries right now. I worry about that and styles later as soon as all positioning bugs are sorted. :D

 

Anyways, does anyone have any suggestions?

 

Thanks again.

 

Edit: I figured it out. http://positioniseverything.net/easyclearing.html

 

Problem solved -> thread closed

Edited by snlildude87 (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.