HighDots Forums  

can you resize a layer depending on page size?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss can you resize a layer depending on page size? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
A.H.O.
 
Posts: n/a

Default can you resize a layer depending on page size? - 07-31-2004 , 02:44 PM






If I make my site so it can be looked at in as many different browsers as
possible, and in as many different monitor sizes (800x600, 1024x768,
1280x1024), is there a way to make my LAYERS expand to match the tables of the
page?
The problem is that I have layers as drop down menus, and while they look
great in 800x600 they look out of proportion in the bigger resolutions. AND
the snap function lines them up differently because the ratio between the
tables and layers gets thrown off. So I guess Im asking if there is a way to
keep the ratio of table size to layer size the same in all of the different
screen sizes.

The particular page Im talking about in this case is...
www.americanheritageoutdoors.com/huntingmontana.htm

Thanks


Reply With Quote
  #2  
Old   
Misha
 
Posts: n/a

Default Re: can you resize a layer depending on page size? - 07-31-2004 , 04:40 PM






You are not supposed to put absolutely positioned divs (layers) inside
table cells (various browsers interpret them differently).

It is possible to have dropdown menus that expand with the menus; it
takes some doing. You have to set the widths of the table cells to
percentages and then figure out how to position the divs.

I'm not quite sure what you're asking on the whole.

You may be better off asking on the PVII forum. forum.projectvii.com
perhaps? I can't remember it.

Drop down menus are hard on the whole. Did you take the pvii tutorial
on them? It's on the site.

A.H.O. wrote:

Quote:
If I make my site so it can be looked at in as many different browsers as
possible, and in as many different monitor sizes (800x600, 1024x768,
1280x1024), is there a way to make my LAYERS expand to match the tables of the
page?
The problem is that I have layers as drop down menus, and while they look
great in 800x600 they look out of proportion in the bigger resolutions. AND
the snap function lines them up differently because the ratio between the
tables and layers gets thrown off. So I guess Im asking if there is a way to
keep the ratio of table size to layer size the same in all of the different
screen sizes.

The particular page Im talking about in this case is...
www.americanheritageoutdoors.com/huntingmontana.htm

Thanks


Reply With Quote
  #3  
Old   
A.H.O.
 
Posts: n/a

Default Re: can you resize a layer depending on page size? - 07-31-2004 , 10:28 PM



My layers arnt placed inside of a table. I learned that lesson thanks to Nadia
and Murray. lol My layers are placed outside of my tables, but are being
snapped to images (menu headers) so that when you scroll over the image the
drop down menu appears. The problem is that when I do it I set them to fit in
a 800x600 screen. But when someone uses a bigger screen than that the layers
stay the same size while the tables they are floating over expand (the tables
are set to 100%). So my question would be how can I make my layers expand just
like my tables?


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

Default Re: can you resize a layer depending on page size? - 08-01-2004 , 08:41 AM



You can give a division a percent width.

I can't help but feel that you are flailing here with this design. Perhaps
it's time to step away from the keyboard and reconsider some design
decisions?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
My layers arnt placed inside of a table. I learned that lesson thanks to
Nadia
and Murray. lol My layers are placed outside of my tables, but are being
snapped to images (menu headers) so that when you scroll over the image
the
drop down menu appears. The problem is that when I do it I set them to
fit in
a 800x600 screen. But when someone uses a bigger screen than that the
layers
stay the same size while the tables they are floating over expand (the
tables
are set to 100%). So my question would be how can I make my layers expand
just
like my tables?




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.