HighDots Forums  

Height = "100%" don't work

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Height = "100%" don't work in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Labunski
 
Posts: n/a

Default Height = "100%" don't work - 12-22-2003 , 04:00 PM






Please help!

I have had this problem for a years.. I just can't understand why DW do so!
The problem is when I'm trying to set the table height to 100% (because I'm
putting the background of the page into the table)

The page height grows! There is too much empty area in the page then!
Why is it so?

I have an example of the problem here:
http://www.ltn.lv/~labunski/temp/index.html

Thank you very much!
Sorry for my bad english,
Lab.



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Height = "100%" don't work - 12-22-2003 , 04:09 PM






Table height is invalid HTML for the very reason you have described. How do
you add space into the table? Where does the bottom go when you scroll the
page?

It's just invalid HTML. Any HTML page with a valid non-quirk doctype will
not render it as desired. It is unreliable as a structural method on your
page.

Why not put the background of the page on the page?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Labunski" <romans (AT) skulme (DOT) lv> wrote

Quote:
Please help!

I have had this problem for a years.. I just can't understand why DW do
so!
The problem is when I'm trying to set the table height to 100% (because
I'm
putting the background of the page into the table)

The page height grows! There is too much empty area in the page then!
Why is it so?

I have an example of the problem here:
http://www.ltn.lv/~labunski/temp/index.html

Thank you very much!
Sorry for my bad english,
Lab.





Reply With Quote
  #3  
Old   
darrel
 
Posts: n/a

Default Re: Height = "100%" don't work - 12-22-2003 , 04:14 PM



Quote:
The problem is when I'm trying to set the table height to 100%
Height isn't an official attribute for a table. Don't rely on it.

You also have a table set at 100%, but then have the TD's adding up to about
700 pixels.

-Darrel




Reply With Quote
  #4  
Old   
Labunski
 
Posts: n/a

Default Re: Height = "100%" don't work - 12-22-2003 , 04:27 PM



Quote:
Why not put the background of the page on the page?
Because I'm centering the table and I need these green lines on the both
sides.

And, I had never used Spacers. I just don't understand why do I need them.
I have read what you wrote, but I still don't understand. Have you seen the
page (my example)?

Thanks,
Lab.




Reply With Quote
  #5  
Old   
darrel
 
Posts: n/a

Default Re: Height = "100%" don't work - 12-22-2003 , 04:32 PM



Quote:
Because I'm centering the table and I need these green lines on the both
sides.
You can center a background image using the CSS background attribute and you
can apply green lines to the table, itself via CSS border attribute.

See my other response to the actual spacing problem you are having.

-Darrel




Reply With Quote
  #6  
Old   
AutomatikStudios webforumsuser@macromedia.com
 
Posts: n/a

Default Re:Height = "100%" don't work - 12-22-2003 , 04:34 PM



I'm a little confused at what the problem is. But I think what you are saying is that there is still black space at the bottom. And here's the problem...you've specified that your height is using percentages but in your <td> tags you've specified the hight in pixels. And the background won't extend to the bottom unless there is content all the way to the bottom.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.