Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Member blue_francis14's Avatar
    Join Date
    May 2007
    Location
    Philippines
    Posts
    83
    Member #
    15276
    Hello, I have been running with the same problem over and over again. How do you make an empty div act like an empty table cell with 100%.

    I am using a tableless approach but i can make a div "auto-stretch" when the right part grows. any ideas please? it would really help me a lot.
    Attached Images Attached Images

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    Have you tried using percents for divs?

    #left_panel{
    background-color: #fff;
    text-align:left;
    width: 30%;
    }

    I found this using Google ....

    http://accessat.c-net.us/test/template-2col_a.html

    That might be what you're looking for?


  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Hmmm ... maybe the Faux Colunm technique is what you are looking for?
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    Member blue_francis14's Avatar
    Join Date
    May 2007
    Location
    Philippines
    Posts
    83
    Member #
    15276
    mlseim, thanks for the info! That is what I have been looking for. Wish I should've googled it first but I don't have a clue what keywords to use. hehehe... thanks again!

    karinne, thanks for the suggestion too. Happy coding!

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    Karinne ...

    I thought he meant "height" too, at first (see the title of his post).
    But his photo shows fluid widths. I guess that example is what he
    was looking for.

    I'm hoping that the CSS height problem gets corrected in the near future
    with CSS2 (or whatever they are calling it).


  7. #6
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Yeah ... I was a bit confused there

    There's alot of things that I hope get fixed in the next version of many browsers :laugh:
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  8. #7
    Member blue_francis14's Avatar
    Join Date
    May 2007
    Location
    Philippines
    Posts
    83
    Member #
    15276
    opps! sorry for the confusion. I typed in width instead of height. but
    I still got it what I was looking for. Thanks again and sorry for the confusion.

  9. #8
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Well, CSS3 drafts feature direct support for columns. But we're still a ways from implemented browser support (though Firefox has experimental support, last I checked).


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

make empty div 100 height

Click on a term to search for related topics.
All times are GMT -6. The time now is 03:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com