close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How to make a DIV's height 100%?

Thread began 12/05/2009 11:01 am by keithlogan347721 | Last modified 12/08/2009 3:00 pm by keithlogan347721 | 2873 views | 7 replies


Hi Keith,

You can force the div (content2) to properly 'contain' all of it's contents, with a snippet of code, immediately before the closing div tag for that div. The code is:

<br style="clear:both; height:0; font-size: 1px;line-height: 0px" />

and you should put it in your page code here:

Ayurveda can also boast that it is the only medical system that treats, prevents and diagnoses. </p>
<br style="clear:both; height:0; font-size: 1px;line-height: 0px" />

You would then just need to click 'return' after the last word in your right column, to make things fine in IE.

Might be worth a try on your page, if not, it's a useful bit of code to keep handy whenever you need a div to 'contain' its contents properly!

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...