Jul 26, 2008

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

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > CSS (Cascading Style Sheets)

free web hosting

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.
Confirm Code:

Recent Queries:-
  1. div based site questions - 0.39 hr back. (1)
  2. expand faq css - 38.92 hr back. (1)
  3. expanding tables html - 42.93 hr back. (1)
  4. css container to expand with page - 61.68 hr back. (1)
  5. css expand - 68.61 hr back. (2)
  6. css container box - 85.37 hr back. (1)
  7. css expand box span - 91.01 hr back. (1)
  8. css height container expand - 122.47 hr back. (1)
  9. css expanding content - 127.28 hr back. (1)
  10. css expanding - 154.76 hr back. (1)
  11. css container for content boxes - 158.16 hr back. (1)
  12. span firefox doesnt expand - 162.81 hr back. (1)
  13. css expand container height - 163.81 hr back. (1)
  14. make container expand html - 189.51 hr back. (1)
Similar Topics

Keywords : css expanding container expand based


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

Searching Video's for css, expanding, container, expand, based, length
advertisement



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



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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