![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
What does the -p represent in css-p? |
|
Unless, ofcourse, I am totally missing something. |
|
Osgood, What does the -p represent in css-p? Also, speaking of Div's or layers, in my experience, I have never been able to position a layer exactly where it is intended in various browsers, |
| |
#3
| |||
| |||
|
|
Osgood, What does the -p represent in css-p? |
| Also, speaking of Div's or layers, in my experience, I have never been able to position a layer exactly where it is intended in various browsers, without anchoring it to some image. |
| |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Maybe i was missing the fact that by using CSS you can surround static Div's with other floating Div's >that have rules about their positioning which forces |
|
OhhhhhhK.... So I'm missing? |
#6
| |||
| |||
|
#7
| |||||||
| |||||||
|
|
i guess because of the tables, as Osgood pointed out. ?? - i'm still not getting that. |
|
So floating would imply that you position the layer via CSS #rules as opposed to x and y directly on the div tag? |
|
What's your take on my remarks about attempting css-p |
|
Dima, You're right, I'm not completely getting it yet. But I am trying. I have been reading, so I'm not just sitting back being lazy looking for easy |
|
I guess I don't understand static vs. floating div's. I was thinking that static implied you gave the div an x and y coordinate -- therefore it is |
|
So floating would imply that you position the layer via CSS #rules as opposed to x and y directly on the div tag? What's your take on my remarks about attempting css-p on tables first, then making a progression toward layers over tables. I would imagine that |
| |
#8
| |||
| |||
|
|
Shelton: I think this is how it goes - An absolutely positioned page element is positioned at an absolute location on your screen, regardless of its location in the flow of the code. A relatively positioned page element is positioned relative to the position of its container, regardless of its location in the flow of the code. A statically positioned page element is positioned relative to its location in the flow of the code. Page elements that are NOT positioned are static. i guess because of the tables, as Osgood pointed out. ?? - i'm still not getting that. Page elements can move on the page if they have been RELATIVELY positioned, e.g., div align="center">This will move</div Absolutely positioned elements will NOT move on the page. If one moves and the other doesn't then your brain says "hey - one of these has moved!". That's all there is to it. So floating would imply that you position the layer via CSS #rules as opposed to x and y directly on the div tag? No. You can position page elements either by using inline styles (i.e., the way DMX writes a 'layer'), or by using stylesheet styles (the way you might do it if you were hand coding. INLINE - div id="foo" style="position:absolute; top:140px; left:200px; visibility:hidden; z-index:1" STYLESHEET - #foo { position:absolute; top:140px; left:200px; visibility:hidden; z-index:1; } ... div id="foo Float refers to a sorta different effect which I am not going to discuss further here. What's your take on my remarks about attempting css-p How about this - make your pages the way you normally would and as your understanding of CSS improves, introduce those new capabilities incrementally. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET ANSWERS ================== http://www.dreamweavermx-templates.com - Template Triage! http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes ================== "shelton" <webforumsuser (AT) macromedia (DOT) com> wrote in message news:bf3g10$mcr$1 (AT) forums (DOT) macromedia.com... Dima, You're right, I'm not completely getting it yet. But I am trying. I have been reading, so I'm not just sitting back being lazy looking for easy answers. I guess I don't understand static vs. floating div's. I was thinking that static implied you gave the div an x and y coordinate -- therefore it is fixed. But... as I mentioned before, if you are using tables as well on the page, in different browsers, you get the appearance of the layer positioning differently - i guess because of the tables, as Osgood pointed out. ?? - i'm still not getting that. So floating would imply that you position the layer via CSS #rules as opposed to x and y directly on the div tag? What's your take on my remarks about attempting css-p on tables first, then making a progression toward layers over tables. I would imagine that it is quite difficult to lay out some designs completely via layers and css. I was looking at some recent sites I have built and was thinking what a nightmare it would be to try to make it work without any tables. |
#9
| |||
| |||
|
|
An absolutely positioned page element is positioned at an absolute location on your screen, regardless of its location in the flow of the code. |
|
A relatively positioned page element is positioned relative to the position of its container, regardless of its location in the flow of the code. |
#10
| |||
| |||
|
|
Shelton: I think this is how it goes - An absolutely positioned page element is positioned at an absolute location on your screen, regardless of its location in the flow of the code. A relatively positioned page element is positioned relative to the position of its container, regardless of its location in the flow of the code. A statically positioned page element is positioned relative to its location in the flow of the code. Page elements that are NOT positioned are static. i guess because of the tables, as Osgood pointed out. ?? - i'm still not getting that. Page elements can move on the page if they have been RELATIVELY positioned, e.g., div align="center">This will move</div Absolutely positioned elements will NOT move on the page. If one moves and the other doesn't then your brain says "hey - one of these has moved!". That's all there is to it. So floating would imply that you position the layer via CSS #rules as opposed to x and y directly on the div tag? No. You can position page elements either by using inline styles (i.e., the way DMX writes a 'layer'), or by using stylesheet styles (the way you might do it if you were hand coding. INLINE - div id="foo" style="position:absolute; top:140px; left:200px; visibility:hidden; z-index:1" STYLESHEET - #foo { position:absolute; top:140px; left:200px; visibility:hidden; z-index:1; } ... div id="foo Float refers to a sorta different effect which I am not going to discuss further here. What's your take on my remarks about attempting css-p How about this - make your pages the way you normally would and as your understanding of CSS improves, introduce those new capabilities incrementally. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET ANSWERS ================== http://www.dreamweavermx-templates.com - Template Triage! http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes ================== "shelton" <webforumsuser (AT) macromedia (DOT) com> wrote in message news:bf3g10$mcr$1 (AT) forums (DOT) macromedia.com... Dima, You're right, I'm not completely getting it yet. But I am trying. I have been reading, so I'm not just sitting back being lazy looking for easy answers. I guess I don't understand static vs. floating div's. I was thinking that static implied you gave the div an x and y coordinate -- therefore it is fixed. But... as I mentioned before, if you are using tables as well on the page, in different browsers, you get the appearance of the layer positioning differently - i guess because of the tables, as Osgood pointed out. ?? - i'm still not getting that. So floating would imply that you position the layer via CSS #rules as opposed to x and y directly on the div tag? What's your take on my remarks about attempting css-p on tables first, then making a progression toward layers over tables. I would imagine that it is quite difficult to lay out some designs completely via layers and css. I was looking at some recent sites I have built and was thinking what a nightmare it would be to try to make it work without any tables. |
![]() |
| Thread Tools | |
| Display Modes | |
| |