SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
-
Jul 29, 2006, 07:43 #1
Is it possible to use z-index without using absolute positioning?
Is it possible to use z-index without using absolute positioning?
I want to make a cool background in flash that's animated, and I want it to display under some html text content.
Here's what I'm referring to:
http://216.69.151.46/DivTest.php
Here I have a table with 3 columns and a header. I would use absolute positioning and tell both divs to be 150px from the top but the thing I realized, is if I ever make the header bigger, I would have to change the distance from the top also in css for the content area. Is it possible to just make the divs appear relative to the area it's in?
I tried using position:relative but that didn't work. The div's just placed eachother one under the other in height but not in depth.
-LineThe LineDetail Drawing Co Theme Site Design Art Flash Game Design
http://WebSlime.com | Low Cost Hosting And Domain Names
-
Jul 29, 2006, 14:02 #2
hindsight, I could just change the css distance from "top" if the header gets longer in height. I just hoped there would be a way for it to auto distance dependant on its current location without absolute positioning..
-LineThe LineDetail Drawing Co Theme Site Design Art Flash Game Design
http://WebSlime.com | Low Cost Hosting And Domain Names
-
Jul 29, 2006, 16:15 #3
-
Jul 29, 2006, 16:23 #4
Hey Thanks a lot LJK for taking a stab at it.
I was attempting to do things in DIV but I'm afraid to because I haven't mastered it yet.
I would do it on my own site first before doing a client's site.
I noticed you still had to use absolute positioning for the object tag, I Guess there's no luck to make it relative to the container/parent it's in? Or am I misunderstanding absolute and relative?
-LineThe LineDetail Drawing Co Theme Site Design Art Flash Game Design
http://WebSlime.com | Low Cost Hosting And Domain Names
-
Jul 29, 2006, 16:59 #5
- Join Date
- Dec 2004
- Location
- Sweden
- Posts
- 2,670
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Line
Simon Pieters
-
Aug 3, 2006, 01:02 #6
- Join Date
- Aug 2006
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Wow! that is amazing!
Can you do the same with CSS menu's over flash as well?
-
Aug 3, 2006, 07:09 #7
0211382 haha i feel like a tard for showing people this because i haven't seen it done yet but yes you can.
-LineThe LineDetail Drawing Co Theme Site Design Art Flash Game Design
http://WebSlime.com | Low Cost Hosting And Domain Names
-
Aug 3, 2006, 07:27 #8
- Join Date
- Aug 2006
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Gosh, I'm gob Smacked. It's pretty straight foward in doing it. I'm in a middle of a project and wanted to do exactly what is shown here. Thanks a lot for the help. I was gonna make my menu's in 100% flash as I didn't have much choice but now I have and I am not compromising on the accessibility side of it either. Great Stuff! Thanks again.
Bookmarks