Reply
Float div over another div?
Old 04-22-2008, 02:29 PM Float div over another div?
Nathand's Avatar
Extreme Talker

Posts: 210
Location: USA
Is there any way to float one div over another? I mean actually make the second div hover over the first, I don't want it disturbing the first divs content at all.
Nathand is offline
Reply With Quote
View Public Profile Visit Nathand's homepage!
 
When You Register, These Ads Go Away!
Old 04-22-2008, 03:14 PM Re: Float div over another div?
Skilled Talker

Posts: 96
Name: Sandy
You could use the z-index:

http://www.w3schools.com/css/pr_pos_z-index.asp
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 04-22-2008, 03:46 PM Re: Float div over another div?
LadynRed's Avatar
Super Moderator

Posts: 6,534
Location: Tennessee
Yes, you'd have to use positioning and z-index to accomplish that.
The divs in the header of this site - www.mdnearyou.com are 'stacked' using this method.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Float div over another div?
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12162 seconds with 12 queries