1 Reply Latest reply: Feb 1, 2010 12:04 AM by ottz0 RSS

    100% table height, hate to say it over this but I need help!

    TF22Raptor2 Community Member

      Hi all,

       

       

       

      I have coding a webpage for the first time using the doc type:

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">

       

      and I am having real trouble trying to set a table to size to 100% height.

       

      Originally I set the <table heigh="100%"> and that has worked in the past and it did work for me this time (Firefox,Safari) but it would not work in Interent Explorer (8).

       

      So then I read up that using this doc type I have to set the table height in CSS and then give the table the corresponding ID eg.

       

      css:

       

      #fullheight{

      height:100%

      }

       

       

      html:

       

      <table width="247" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF0000" id="fullheight">

       

      But this does not make any difference for me???

       

       

      Diagram of what I am trying to do.
      filling100tables.gif

       

       

       

      Is there any option plugin for dreamweaver to allow me to do this or? If someone could please show me!

       

       

      Talk about a pain!

       

      Any help would be great!