This is a discussion on "Will it slide beneath?" within the Web Page Design section. This forum, and the thread "Will it slide beneath? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Will it slide beneath?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Will it slide beneath?
I've just rebuilt my site using CSS and it works fine. However, if a browser has a lot of toolbars at the top the page is vertically compressed and the menu at the top slips behind a large SWF at the base of each page. I'm guessing that it is possible to effectively dictate what sits uppermost on the page, so can anyone tell me how it's done? As you've probably guessed I ain't a developer!
The site is www.marksk.co.uk and if you move the base of the browser up you'll see what happens! And here's my amateurish CSS...
Last edited by karinne; Apr 25th, 2007 at 16:00. Reason: Please use [code]...[/code] tags when displaying code! |
|
|
|
|||
|
Re: Will it slide beneath?
The bottom div that contains the swf is set for absolute positioning. So no matter what size the window is, it will position itself where you told it to be.
|
|
|||
|
Re: Will it slide beneath?
So does Absolute set the 'layer order'? The swf always sits in the right position on the screen but I need the menu section to remain uppermost!
|
|
|||
|
Re: Will it slide beneath?
I'm not sure...
|
|
|||
|
Re: Will it slide beneath?
Try changing your #bottom div to
|
|
|||
|
Re: Will it slide beneath?
Quote:
When people talk about 'layering' of elements, usually divs, then they are talking about the z-axis, i.e., front to back if you think in three dimentions. The element with the highest z-index is nearest the front. In general, divs appear top to bottom in the sequence they are in the (x)html code. Also look at position: relative and floating elements for a complete picture. As already stated in an earlier post - avoid using position: absolute where at all possible. Hope this helps. Last edited by ukgeoff; Apr 26th, 2007 at 16:48. Reason: Corrected as per Ryan's post |
![]() |
| Tags |
| layers, over, slide, under |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| High Slide? | byrd80 | JavaScript Forum | 2 | Mar 21st, 2008 20:02 |
| Slide up and down | DregondRahl | JavaScript Forum | 6 | Oct 30th, 2007 21:10 |
| Making div to drop down when div beneath it change it's height dimension ? | gitarista | Web Page Design | 2 | Oct 15th, 2007 23:59 |
| slide slide slid | Bcullen | JavaScript Forum | 9 | Oct 2nd, 2007 10:02 |
| Slide show/s :) | OmiE | Flash & Multimedia Forum | 4 | May 25th, 2007 04:55 |