This is a discussion on "div positioning" within the Web Page Design section. This forum, and the thread "div positioning are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
div positioning
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|
|
|||
|
style="z-index:10;"
|
|
||||
|
what does that do then? whats a z-index? and why 10?
|
|
||||
|
dont know why, that did'nt work...
|
|
|||
|
z-index acts like layers in Photoshop, etc with the highest number indicating the top most layer.
HTH u2o |
|
|||
|
you can try putting the draggable window at the end of the page code
|
|
||||
|
i cant do that because its in a table... but the z-index doesnt work..
also, do you know how to make a div stay attatched to the bottom edge of the browser window? you will never need to v. scroll so it doesnt need to move....? |
|
||||
|
possible solution for the z-index not working:
I think you must set the 'position' css attribute to either "absolute" or "relative" before using z-index. i.e.: <DIV style="position:absolute;">
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
confirmed, z-index only works with absolute postioning.
|
|
|||
|
z index works also with relative. why not?
|
![]() |
| Tags |
| div, positioning |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Positioning between <h3> | konnor5092 | Web Page Design | 3 | Sep 11th, 2007 22:37 |
| CSS and positioning | djme | Web Page Design | 6 | Feb 3rd, 2006 13:27 |
| Positioning with CSS | Tino | Web Page Design | 8 | Jan 21st, 2006 15:45 |
| css positioning | ivyholly | Web Page Design | 14 | Dec 20th, 2005 18:43 |
| Positioning with css | Hub | Web Page Design | 12 | Dec 13th, 2005 19:45 |