This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > aligning layers in incluse .asp file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author aligning layers in incluse .asp file
muffy

2004-06-02, 11:15 pm

Hi,
I have a site layout that is 800px wide and centre aligned.
I have left navigation bar that is comprised of layers (pop up menus that
appear with mouse over). This left nav is a .asp include file.

The problem I have is the .asp file cannot follow the center alignment of the
page.
When the page is on a large screen the layers appear off the page and aligned
to the left. When the page is viewed on a smaller screen it all looks fine.

Is there any way to tell the .asp file to align to the center of the page?
The .asp file is just layers, there is no table. Is there a way to lock
layers relative to a table or cell?
I tried changing the layer tags from div to layer and I could then align to a
table but I lost my mouse over pop layers.

Any way around this problem?
I see that plenty of people have center aligned pages with mouse over
naviagtion - how is this done?

Any help would be much appreciated.

Christian



Osgood

2004-06-02, 11:16 pm

muffy wrote:

> Is there a way to lock
> layers relative to a table or cell?


You have just answered your own question. You can insert a <div> tag
into a table/cell and make its position relative, not absolute.

Obviously if you do this you will need to re-work the sub menus
positioning to take into account the movement of the page in the browser
view port.

If you are competent at building your own naviagtion system, or using
the 'positioned menu' techniques shown at www.projectseven.com, this
shouldnt prove to be too much of a barrier.

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews