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

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > CSS (Cascading Style Sheets)

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

snlildude87
http://sang.trap17.com/temp/contempo_box.htm

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!! smile.gif

Edit: Fixed BBCode: [url=http://oswd.org/viewdesign.phtml?id=2099&referer=%2F&PHPSESSID=a3948ba728af11fc6c89ec1d8231f8a7whyme's template from oswd.org[/url] -> whyme's template from oswd.org

 

 

 


Reply

Saint_Michael
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 tongue.gif

Reply

snlildude87
QUOTE(Saint_Michael @ Jun 10 2005, 06:59 AM)
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 tongue.gif
*

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. smile.gif

Anyways, does anyone have any suggestions?

Thanks again.

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

Problem solved -> thread closed

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. css expanding - 0.23 hr back. (1)
  2. limit characters via css - 0.51 hr back. (1)
  3. css expand class - 12.97 hr back. (1)
  4. css expand - 16.43 hr back. (1)
  5. css expand - 55.61 hr back. (1)
  6. create css container that expands - 56.38 hr back. (1)
  7. does any one have a registry files for my warlords battlecry 3 - 65.21 hr back. (1)
  8. expanding container - 77.90 hr back. (1)
  9. expanding css - 83.52 hr back. (1)
  10. css expanding faq - 86.07 hr back. (1)
  11. expand image css - 103.47 hr back. (1)
  12. how to automatically expand the div container according to its content in css - 119.87 hr back. (1)
  13. css container expand - 142.25 hr back. (1)
  14. css container not expanding - 148.18 hr back. (1)
Similar Topics

Keywords : css expanding container expand based


    Looking for css, expanding, container, expand, based, length

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for css, expanding, container, expand, based, length

*MORE FROM TRAP17.COM*
advertisement



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



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE