![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I know this question has been asked many many times.. but I'll have to ask again. I'm a newbie and i started whizzing along making my site.. and noticed there is the Layer option.. this is very cool, gives me the power to put anything anywhere.. very nice. I wanted to create a border around some of my Layers and figured creating tables would be the easiest.. Well after fixing my layers into the table cells, i previewed and everything looked great until i maximized the page. Everything was off centered. Is there any way around this? What's the best procedure of doing something like this? I'm assuming using Layer (whata bummer) is bad because the location is not defined. I tried using percentages, but they don't work perfectly, it is still off when centering with in table cells. Am i just supposed to use Layers or Tables, but not both? I hate the way Tables work, they just don't do it for me. The layers options is sooo much easier.. reminds me of Power Point. OK Thanks! |
#4
| ||||
| ||||
|
|
I know this question has been asked many many times.. but I'll have to ask again. I'm a newbie and i started whizzing along making my site.. and noticed there is the Layer option.. this is very cool, gives me the power to put anything anywhere.. very nice. |
|
of my Layers and figured creating tables would be the easiest.. |
|
fixing my layers into the table cells, i previewed and everything looked great until i maximized the page. Everything was off centered. Is there any way around this? What's the best procedure of doing something like this? |
|
assuming using Layer (whata bummer) is bad because the location is not defined. |
#5
| |||
| |||
|
|
Frank Oh wrote: I know this question has been asked many many times.. but I'll have to ask again. I'm a newbie and i started whizzing along making my site.. and noticed there is the Layer option.. this is very cool, gives me the power to put anything anywhere.. very nice. Just be very aware of the draw back to using absolutely positioned layers. They dont interact with each other. So in a senario where you might have a layer beneath another layer both filled with text try then zooming the text, via the browser, and see what happens. The text in the top layer will encroach onto the text in the layer underneath. Table and table cells will adjust to accomodate the text. I wanted to create a border around some of my Layers and figured creating tables would be the easiest.. Nope you should use css to do this. Draw a layer on your page and in the properties inspector give it the id 'mylayer' (without quotes) Next cut the code below, open DW's code view and paste directly before the closing </head> tag. (its near the top) style #mylayer { border: 1px solid #ab1; } /style If you do it correctly you will have a lime green border around your layer. You should learn some basic css to control various elements on your page. Well after fixing my layers into the table cells, i previewed and everything looked great until i maximized the page. Everything was off centered. Is there any way around this? What's the best procedure of doing something like this? Dont put layers into table cells. They produce unstable results. I'm assuming using Layer (whata bummer) is bad because the location is not defined. Yes the location is defined. Absolutely positioned layers, as you are using, will take their co-ordinates from the top/left of the DW/browser window. |
#6
| |||
| |||
|
|
I know this question has been asked many many times.. but I'll have to ask again. I'm a newbie and i started whizzing along making my site.. and noticed there is the Layer option.. this is very cool, gives me the power to put anything anywhere.. very nice. I wanted to create a border around some of my Layers and figured creating tables would be the easiest.. Well after fixing my layers into the table cells, i previewed and everything looked great until i maximized the page. Everything was off centered. Is there any way around this? What's the best procedure of doing something like this? I'm assuming using Layer (whata bummer) is bad because the location is not defined. I tried using percentages, but they don't work perfectly, it is still off when centering with in table cells. Am i just supposed to use Layers or Tables, but not both? I hate the way Tables work, they just don't do it for me. The layers options is sooo much easier.. reminds me of Power Point. OK Thanks! |
#7
| |||||
| |||||
|
|
you can place backgrounds and tiled images etc inside your blocks which you cant with layers (which is stupid). |
|
If they could only get the stretching and centering sorted within brwoser windows for absolutely positioned layers we would have a really flexible way to work without having to use bloody tables at all. |
|
You can use relative CSS positioning but IMO this is far less user-friendly than using absolutely positioned layers. |
|
If they can get absolute positioning to work correctly we will have the functionality and flexibility of many standard page layout programs for use on the web site design which would be brilliant. Its completely daft how absolutely positioned layers dont move or stretch with the browser window. It creates an off centred webpage that looks really amateurish. |
|
Dreamweaver uses layers in very similar ways to CSS block positioning and in fact they are almost indistinguishable. Instead of using layers use CSS blocks instead and you will find that you can place backgrounds and tiled images etc inside your blocks which you cant with layers (which is stupid). Personally I think layers are the way to go for the future of web site design combined with CSS styles and positioning. If they could only get the stretching and centering sorted within brwoser windows for absolutely positioned layers we would have a really flexible way to work without having to use bloody tables at all. At the moment it seems that using tables is the only easy way to get your web site to stretch within a browser window. You can use relative CSS positioning but IMO this is far less user-friendly than using absolutely positioned layers. If they can get absolute positioning to work correctly we will have the functionality and flexibility of many standard page layout programs for use on the web site design which would be brilliant. Its completely daft how absolutely positioned layers dont move or stretch with the browser window. It creates an off centred webpage that looks really amateurish. -- Regards Nigel Stutt Web Site Designer Email: nstutt (AT) nstutt (DOT) freeserve.co.uk Web: http://www.nstutt.freeserve.co.uk "Osgood" <notavailable (AT) atthisaddress (DOT) com> wrote in message news:cbtsd0$69d$1 (AT) forums (DOT) macromedia.com... Frank Oh wrote: I know this question has been asked many many times.. but I'll have to ask again. I'm a newbie and i started whizzing along making my site.. and noticed there is the Layer option.. this is very cool, gives me the power to put anything anywhere.. very nice. Just be very aware of the draw back to using absolutely positioned layers. They dont interact with each other. So in a senario where you might have a layer beneath another layer both filled with text try then zooming the text, via the browser, and see what happens. The text in the top layer will encroach onto the text in the layer underneath. Table and table cells will adjust to accomodate the text. I wanted to create a border around some of my Layers and figured creating tables would be the easiest.. Nope you should use css to do this. Draw a layer on your page and in the properties inspector give it the id 'mylayer' (without quotes) Next cut the code below, open DW's code view and paste directly before the closing </head> tag. (its near the top) style #mylayer { border: 1px solid #ab1; } /style If you do it correctly you will have a lime green border around your layer. You should learn some basic css to control various elements on your page. Well after fixing my layers into the table cells, i previewed and everything looked great until i maximized the page. Everything was off centered. Is there any way around this? What's the best procedure of doing something like this? Dont put layers into table cells. They produce unstable results. I'm assuming using Layer (whata bummer) is bad because the location is not defined. Yes the location is defined. Absolutely positioned layers, as you are using, will take their co-ordinates from the top/left of the DW/browser window. |
#8
| |||||||||
| |||||||||
|
|
Dreamweaver uses layers in very similar ways to CSS block positioning and in fact they are almost indistinguishable. |
|
Instead of using layers use CSS blocks instead and you will find that you can place backgrounds and tiled images etc inside your blocks which you cant with layers (which is stupid). |
|
Personally I think layers are the way to go for the future of web site design combined with CSS styles and positioning. |
|
If they could only get the stretching and centering sorted within brwoser windows for absolutely positioned layers we would have a really flexible way to work without having to use bloody tables at all. |
|
At the moment it seems that using tables is the only easy way to get your web site to stretch within a browser window. |
|
You can use relative CSS positioning but IMO this is far less user-friendly than using absolutely positioned layers. |
|
Its completely daft how absolutely positioned layers dont move or stretch with the browser window. |
|
It creates an off centred webpage that looks really amateurish. |
|
Dreamweaver uses layers in very similar ways to CSS block positioning and in fact they are almost indistinguishable. Instead of using layers use CSS blocks instead and you will find that you can place backgrounds and tiled images etc inside your blocks which you cant with layers (which is stupid). Personally I think layers are the way to go for the future of web site design combined with CSS styles and positioning. If they could only get the stretching and centering sorted within brwoser windows for absolutely positioned layers we would have a really flexible way to work without having to use bloody tables at all. At the moment it seems that using tables is the only easy way to get your web site to stretch within a browser window. You can use relative CSS positioning but IMO this is far less user-friendly than using absolutely positioned layers. If they can get absolute positioning to work correctly we will have the functionality and flexibility of many standard page layout programs for use on the web site design which would be brilliant. Its completely daft how absolutely positioned layers dont move or stretch with the browser window. It creates an off centred webpage that looks really amateurish. |
![]() |
| Thread Tools | |
| Display Modes | |
| |