NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page hoverbox HELP!!

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Reply
 
LinkBack Thread Tools
Old 03-05-2009, 01:56 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Nov 2008
Posts: 15
therise03 is an unknown quantity at this point
 



Help! hoverbox HELP!!


Ok so I want to use the hoverbox css gallery to display images on my site. The problem is that I put the hover box li elements into a div class so I can have control over where I place them, but when I put the <li> elements into the div, they overlap what is underneath them, such as another section for something else. Whats the deal with that? It seems like the positioning properties of hoverbox are conflicting with my floated layout. Does anyone know how to "tame" hoverbox so you can just add a small picture gallery into another section of your site, or into another div element ?
????: NamePros.com http://www.namepros.com/web-design-discussion/564728-hoverbox-help.html

example code:

<div id="hoverboxcontainer">

<ul class="hoverbox">
<li>
<a href="#"><img src="img/photo01.jpg" alt="description" /><img src="img/photo01.jpg" alt="description" class="preview" /></a></li>
<li>
<a href="#"><img src="img/photo02.jpg" alt="description" /><img src="img/photo02.jpg" alt="description" class="preview" /></a></li>
</ul>

</div> <!--close hoverboxcontainer-->



<div id="asectionbelow">
blah blah blah
</div>


* hover box elements seem to overlap my div below * Any help, ideas, greatly appreciated!
therise03 is offline   Reply With Quote
Old 03-05-2009, 03:44 PM   #2 (permalink)
NamePros Regular
 
FathomJH's Avatar
Join Date: Oct 2006
Location: U.S.
Posts: 413
FathomJH is a jewel in the roughFathomJH is a jewel in the roughFathomJH is a jewel in the rough
 



Without seeing all your code, I'm not sure exactly what's happening. Anytime you float anything, you then want to "clear" that float (i.e. - clear: both. That may be causing the overlap with your other code.

You can also give this a try in your code, along with the "clear,"

<li>
<a href="#"><img src="img/photo02.jpg" alt="description" class="preview" />
<span><img src="img/photo02.jpg" alt="description" /></span></a></li>

The css would be something along the lines of:
????: NamePros.com http://www.namepros.com/showthread.php?t=564728

li a:hover span { background-image:url(img/photo02.jpg); }

Hope this helps.
Last edited by FathomJH; 03-05-2009 at 03:49 PM.
FathomJH is offline   Reply With Quote
Old 03-06-2009, 06:25 AM THREAD STARTER               #3 (permalink)
New Member
Join Date: Nov 2008
Posts: 15
therise03 is an unknown quantity at this point
 



close...but not there yet...


ok close, but no cigar let me give a little more insight into my question...


so my layout is two floated columns, and a center piece. Inside the center piece is where all the content goes. So I have a class that hold weekly updates and below them I want to add a small gallery with the hoverbox function. and do this for all the weekly updates so my code looks like this


<div id="left"> <!--floated left-->
content
</div>

????: NamePros.com http://www.namepros.com/showthread.php?t=564728
<div id="right"> <!--floated right-->
content
</div>

<div id="center">

<div class="weeklyupdate">
text
</div>

--hoverbox gallery--

<div class="weeklyupdate">
text
</div>

--hoverbox gallery--

</div> <!--close center div-->



I tried your advice and tried clearing both on the weeklyupdate div class but what that did was bring my center div id and dropped it right below the bottom of the right and left div id's. I will say that when I did it, the hoverbox gallery did NOT overlap my second weeklyupdate div class which I liked...but on the other hand, my whole center div id just drops out all the way below the columns.

I hope my code is a bit better understood now along with my situation
therise03 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 07:54 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger