HighDots Forums  

Auto-stretch an image vertically to fit cell height?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Auto-stretch an image vertically to fit cell height? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
James Shook
 
Posts: n/a

Default Re: Auto-stretch an image vertically to fit cell height? - 06-30-2004 , 08:40 AM






Cameron_S wrote:

Quote:
What do you mean? Are you saying that if I somehow get rid of that
nasty horizontal scroll bar in the middle frame (that shouldnt be
there), the tables will no longer align and there's nothing I can do
about it? 8-(

What are my other easy options apart from using frames to achieve the
same result?
No, I'm saying that since your frames have center-aligned tables, you
will have a problem keeping them aligned in some browsers. If any page
exceeds the frame's height, as your middle one does now in my window,
the browser naturally provides a scrollbar so I can see all of the
page's contents. Some browsers (Not IE/Windows, though) take space from
the viewport (the part of the window available for displaying your
page's contents) to make room for the scrollbar, therefore making the
window less wide. Since the viewport has become narrower, the viewport's
center point will have moved to the left by the amount of 1/2 of a
scrollbar's width. If the other frames don't have a vertical scrollbar,
the center points of the viewpoints will no longer be identical and so
fail to align across the frame boundaries.

You can't get the "same" result that you are getting with frames in any
other way. You will have to rethink your design to make one that works
as a frameset but doesn't require the sort of alignment you are now
trying to achieve, or sacrifice the always-at-the-top-of-the-screen
navigation you have now and make unframed pages.

A third option is to put the navigation in a "persistent" layer--one
that always stays at a fixed location in the window no matter how much
the page scrolls. I find these rarely to be acceptable because they tend
to jitter--first they scroll up when you scroll the page, and then they
hop back to their "fixed" position. This is very distracting.

The main question, as I see it, that you have to ask yourself is how
important is it for you to keep the contents in your top and bottom
frame on the screen at all times.


James M. Shook
http://www.jshook.com


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 - 2009, Jelsoft Enterprises Ltd.