![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to auto-stretch an image to fit a cell height in Dreamweaver? I have a situation where my main body htm will vary with length as more content is added, and rather than creating new side border images to the correct length every time the page is updated, I want the side image border to auto-stretch to fit the height of the table (governed by the height of the centre column of the table (the main content part)). link to website here: http://www.arach.net.au/~cr_smith/ashleymx.com/ Thanks mytzlplik |
#3
| |||
| |||
|
|
yep image properties - height="100%" will give you the height of the cell or table. |
#4
| |||
| |||
|
|
some browsers will get this correct- 100% height of an image means the image's actual height. If the image is 200 pixels high, 100% percent height means it will be displayed 200 pixels high. Some browsers get this wrong. (and in those browsers, your suggestion will work) Has nothing to do with percentage height of whatever table cell or other thing the image is placed in. yep image properties - height="100%" will give you the height of the cell or table. |
#5
| |||
| |||
|
|
Is it possible to auto-stretch an image to fit a cell height in Dreamweaver? I have a situation where my main body htm will vary with length as more content is added, and rather than creating new side border images to the correct length every time the page is updated, I want the side image border to auto-stretch to fit the height of the table (governed by the height of the centre column of the table (the main content part)). link to website here: http://www.arach.net.au/~cr_smith/ashleymx.com/ Thanks mytzlplik |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
some browsers will get this correct- 100% height of an image means the image's actual height. If the image is 200 pixels high, 100% percent height means it will be displayed 200 pixels high. Some browsers get this wrong. (and in those browsers, your suggestion will work) Has nothing to do with percentage height of whatever table cell or other thing the image is placed in. yep image properties - height="100%" will give you the height of the cell or table. |
#8
| |||
| |||
|
|
There is no real cross browser reliable way to achieve this. Why not use a repeating image declared in your stylesheet so that the image repeats down as your content grows. See if this helps at all. http://www.dreamweaversites.com/tutorials/roundedcorners.htm |
#9
| |||
| |||
|
|
Once you have solved this, you will then have to address the problem that, because your lower frame requires a scrollbar, the tables in your two frames fail to align. I'll save you some time: there is no way to solve this except not to use frames. |
#10
| |||
| |||
|
|
That tutorial you posted didnt help. That was just filling a background colour in a table and putting in some rounded corners. Unless I'm missing something? |
|
I'll look into this 'repeating image declared in the stylesheet' and see how I go. |
![]() |
| Thread Tools | |
| Display Modes | |
| |