Layers - how to 'stick'

P

Pam

Is there a way to make a layer stay where you put it so that no matter what
size monitor you have, or browser you open, the layers stay where you
originally placed them in fp2003?

when I am in fp2003 and have folder list open and place the layers on my
website in design view and publish - the layers are off (I've placed them on
a jpg) - if I close the folder list so that the view of website in fp is
full screen and then place the layers - the browser window looks correct...
anyone point me in the right direction on this as I know they must not be
showing up correctly in other browsers/size settings

thanks
Pam
 
J

Jon Spivey

Hi Pam,
In a lot of cases FP will make a lame job of rendering a page in design
view, the only real guide is previewing in your browser. Do you still see
problems when you view the page in your browser? If so can you post up a url
we can look at - that should help determine whether this is FP's fault or a
deeper problem in your code.
 
R

Ronx

A general solution:
If you place the code for the layer immediately after the <body> tag, or
immediately before the </body> tag, the layer will always be in the same
place in all browsers.
Example:

<body>
<div id="layer1">contents of layer</div>

Rest of page

<div id="layer2">contents of layer 2</div>
</body>
</html>

In the above example, the positioning for the layers is in a style
sheet.

Do NOT place layers directly in table cells, and it is best to not place
text in a layer, since resizing the text may cause odd results.

Additionally, although the layers will not move (100% guarantee), the
rest of the page will move if the browser is resized, or the browser
font size is changed, and these changes cause the page layout to alter.
In this case, you will want the layers to move, but they won't.

The solution you probably need is not the general one, but one specific
to your page.
 
P

Pam

mmmm....well, if I understand you right - then this 'general' solution
probably won't work for me - correct? So guess it would be easier for me to
go back to my paint program (pp) and do each picture indivudally directly on
the pedigree jpg and type the text in each jpg....it's just that the text
looks so much cleaner when I type directly in fp instead of doing the whole
thing in pp

thanks though
Pam
 
J

Jon Spivey

OK first thing if your site is going to kick off some loud music please warn
people first. I can't see you being able to do what you want with layers in
any way, even if you fiddled enough to get it going in IE6 it's going to
fail in other browsers. I think the only way to portray what you want - am I
right in saying it's like a family tree for bulls? - is by making a graphic
then putting those graphics in a simple table. The graphics won't even be
big and thus won't add too much to page weight.
 
R

Ronx

See http://www.rxs-enterprises.org/tests/pages/calves.htm
I have re-coded one of your diagrams, the rest should be similar. The text
positioning will need a little tweaking, but the layers will stay in
position regardless of changes in the browser size, but changing font size
may cause an overlap problem (as can be seen in this unstyled page). When
you apply your styles, the text will be clearer.
 
P

Pam

I'm sorry Jon - customer request - I need to put the slider on it - I have
my pc on mute :)

Ron has given me a heads up on this one so I'm going to copy his source and
see if I can duplicate it - thanks

actually - it's a page with their 'cows' listed - each with a pedigree - but
pretty much similar to what your thinking.

I was thinking I was going to have to do the graphic thing...which I may end
up doing anyway - if the layers are going to fall apart in various
browsers..

pam
 
J

Jon Spivey

Ron's page falls over completely when I view it in a not very fancy setting.
I can't see any way you could make this work with layers cross browser -
make the graphics. I apprecite it's going to take some up front time but
your client will thank you for it.
 
P

Pam

Well....live and learn - just spent that last couple of hours trying to fix
everything in layers....works great in ie .. not so good in ff ... so bck to
the graphics....geez.....

thanks!

Pam
 
P

Pam

just a last note - made the graphics - not happy with the way the text look
blurry - but guess it will have to do - my friend likes it - course...he has
no clue :) ... I think it looks blurry - might try redoing them in corel
draw instead of pp ... maybe that would make the text clearer...again -
thanks

Pam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top