HighDots Forums  

Need Help With Css.

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Need Help With Css. in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
~Quaay
 
Posts: n/a

Default Need Help With Css. - 01-03-2008 , 11:40 PM






Hey all,
I've just started work on a site for
a project i'm doing. I'm having problems
layering images with CSS Z-Index.
Currently I have Three images;
The background, a text image and a rollover effect.
I have set Z-Index 0 to the background and 1 to the the text image and 2 to
the rollover.
The rollover is visible but i cant reposition it unless I apply absolute
placement in whichcase
it becomes invisible.

Any ideas?

Thanks,
Ben


Reply With Quote
  #2  
Old   
Loco-Motive
 
Posts: n/a

Default Re: Need Help With Css. - 01-04-2008 , 04:54 AM






HI ~Quaay,

Thats because its supposed to work like that
Z-index only worls on positioned elements ( position:relative; or
position:absolute; )
see http://www.w3schools.com/css/pr_pos_z-index.asp for more details

Greetz,
Superficial


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.