Layers

He has: 17 posts

Joined: Mar 2005

I was trying some stuff out in Dreamweaver and came upon "layers". They seemed quite useful at the time, yet after I created them I noticed on monitor and screen resolution size they seemed to change and avoid what I thought they would look like on my computer. It may be better to type my own code for this but do you know a way I could come apon this problem so my layers dont change on different resolutions and monitors.

They have: 5,633 posts

Joined: Jan 1970

A litle info would help.
1) What are you doing with the layers?
2) Desplaying some of the code would help.
3) Links and screen shots help too.

He has: 17 posts

Joined: Mar 2005

I'm using the layer over a picture, which is where i will put all of my text for the site.

Heres the code:

Text goes here...

So my question is how do I make it so it doent change with different screen resolutions and stay with the design.

He has: 578 posts

Joined: Jun 2004

Put it inside a wrapper div, or maybe absolute position the picture too?

He has: 17 posts

Joined: Mar 2005

A wrapper div? Do you mean like put the div for my layer inside another div? I'll try both ideas and see what happens.

He has: 17 posts

Joined: Mar 2005

I tried both and niether worked. I figure though that there are better ways to set up a layout since this was a site I attempted to create awhile ago and was just wondering about layers in general.

They have: 5,633 posts

Joined: Jan 1970

Well I am guessing that your picture is not positioned in css. So its in html. Depending on how you set it up the picture might move according to the window size. Where the text is positined useing absolute positioning. It will always be at the exact same spot. 459 X 165 to be exact. The way you fix it would be to make the picture not move. In other words. Dont center or use percentages.

Also, you might be able to use relative positioning but that gets very tricky.

dk01's picture

He has: 516 posts

Joined: Mar 2002

Could you post your code? That'd make it a bit easier to visualize what you are going through.

-dk

He has: 17 posts

Joined: Mar 2005

It doesn't really matter anymore, it was an old site that I came across that I was working on and just wondered how I could get it to work. Anyways I already did post my code.

He has: 17 posts

Joined: Mar 2005

Well I decided to come back to layers one more time...

That is the code that Dreamweaver generated for the layer, yet the layer resizes with the screen resolution not stay with the intended design. I was wondering if you could tell me what to do. I can post the site if you want me to.

dk01's picture

He has: 516 posts

Joined: Mar 2002

If you post the site it would be helpful. The layer above should not be moving around at all.

-dk

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.