Layers In FP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I posted in here earlier as "Easily Confused", but that's not the case anymore
I have all of my layers working quite well, hiding one another and appearing accordingly - it works really great
My question today is this: is there any way to force layers to resize dynamically as per the viewers screen resolution
I find that since I made my layers 800px wide (height varies with amount of content in the layer), that anyones screen resolution set to 800x600 forces them to scroll side-to-side in order to read all of the content
Making the width narrower would be an option, except then users who have higher resolutions (1280x1024) end up looking at this skinny little panel down the center of the page

If it can't be done, it's not a live or die issue - it's purely cosmetic

Thanks
Darcy
 
You could try removing the width attribute of each layer. The content
should then adjust to browser window width/content requirements.

--
Ron

Reply only to group - all emails will be deleted unread.


Darcy R. said:
I posted in here earlier as "Easily Confused", but that's not the case anymore.
I have all of my layers working quite well, hiding one another and
appearing accordingly - it works really great.
My question today is this: is there any way to force layers to resize
dynamically as per the viewers screen resolution?
I find that since I made my layers 800px wide (height varies with amount
of content in the layer), that anyones screen resolution set to 800x600
forces them to scroll side-to-side in order to read all of the content.
Making the width narrower would be an option, except then users who have
higher resolutions (1280x1024) end up looking at this skinny little panel
down the center of the page.
 
Hi,
a layer should always have a declared width - which should be the
same as the content (a table or whatever). Layers are not designed to expand
horizontally to hold content. Unless you have a good reason tho a layer
should not have a declared height, layers are designed to expand vertically.
To my mind FP is wrong to add a height when you insert a layer - modern
browsers (especially Moz based) will have problems if the declared height is
less
than the actual content in the layer.

For the question the easiest way would be to give the layers a % width - the
same as you would with a table. One could use script to find the width of
the users window and resize the layers proportionally but that seems like a
lot of extra work.
 
Back
Top