Help! The Queen of DaniWeb Hoover in the center of the page with the opacity black bg

Thread Solved

Join Date: Oct 2009
Posts: 3
Reputation: cribaldo is an unknown quantity at this point 
Solved Threads: 0
cribaldo cribaldo is offline Offline
Newbie Poster

Help! The Queen of DaniWeb Hoover in the center of the page with the opacity black bg

 
-2
  #1
Oct 2nd, 2009
Hi,
I am new at css and I just wanted a hoover that would trigger at the time of mouseover (kind of obvious I guess) but I can't get the positioning right. So basically what I would like is when you enter your page for the first time you get a form, I would insert an image instead. that is enhanced by having a black background around it.

Pls... I have tried everything. I also noticed that you got the right position in both browsers..
Thank you,
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 178
Reputation: codejoust is an unknown quantity at this point 
Solved Threads: 18
codejoust's Avatar
codejoust codejoust is offline Offline
Junior Poster

Re: Help! The Queen of DaniWeb Hoover in the center of the page with the opacity blac

 
1
  #2
Oct 4th, 2009
I don't quite understand what you mean?
You can trigger children elements on hover like:
  1. body:hover form {background:red;}
  2. /*or*/
  3. body:hover div#form-cover { display:visible; }
  4. #form-cover { position:absolute; z-index:20; background:black; margin-top:-(1/2 height of the element)px; margin-left:-(1/2 width of the element)px; height:(height of element)px; width:(width of element)px; }
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 3
Reputation: cribaldo is an unknown quantity at this point 
Solved Threads: 0
cribaldo cribaldo is offline Offline
Newbie Poster

Re: Help! The Queen of DaniWeb Hoover in the center of the page with the opacity blac

 
0
  #3
Oct 5th, 2009
Thank you so much! It is actually working now, I used the lightbox code and I will be happy to donate to them.

Ok, here it is their site, I should have linked to what I wanted!
http://www.huddletogether.com/projects/lightbox2/

Here it is my site:
http://www.azlogfurniture.com/

It was so easy to follow their instructions!>

Thank you!
Clara
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 3
Reputation: cribaldo is an unknown quantity at this point 
Solved Threads: 0
cribaldo cribaldo is offline Offline
Newbie Poster

Re: Help! The Queen of DaniWeb Hoover in the center of the page with the opacity blac

 
0
  #4
Oct 5th, 2009
Sorry, since I have to add bigger pictures and clean up a little, I have it here temporarily:
http://www.ribaldotech.com/diana/bedroom.shtml




Originally Posted by cribaldo View Post
Thank you so much! It is actually working now, I used the lightbox code and I will be happy to donate to them.

Ok, here it is their site, I should have linked to what I wanted!
http://www.huddletogether.com/projects/lightbox2/

Here it is my site:
http://www.azlogfurniture.com/

It was so easy to follow their instructions!>

Thank you!
Clara
Reply With Quote Quick reply to this message  
Reply

Tags
background, css, hover, opacity, positioning

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC