| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | 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) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Nov 2008
Posts: 15
![]() | |
| | |
| | #2 (permalink) |
| NamePros Regular Join Date: Oct 2006 Location: U.S.
Posts: 413
![]() ![]() ![]() | 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.
|
| | |
| | THREAD STARTER #3 (permalink) |
| New Member Join Date: Nov 2008
Posts: 15
![]() | 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 |
| | |