Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2008, 09:46 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default IE6 Hover Bug - Causing containing DIV to collapse

Hi,

When viewing my site in IE6, IE7 and Firefox all appears well. However, when I roll over the "BUY NOW" or "ORDER" linkS in the new release or pre-order section, the containing DIV collapses when viewed in IE6. I have tried including a clearing around the containing DIVs, but it appears to make no difference.

You can view the bug here:

http://www.actinicdesignergb.co.uk/test/index.html

The CSS used for the New Release layouts is as follows:

Code:
/* Promo Pods */

.pod-wrapper { width:410px;  }

.promo-pod { width:193px; padding:10px 5px 8px 7px;
              float:left;
             }

.promo-pod img { float:left; border:solid 1px #000; margin:0 8px 8px 0; padding:0; } 

.promo-pod h2 { text-transform:uppercase; text-decoration:underline; font-size:1.1em; width:100px; }

.promo-pod p { margin:3px 0; padding:0; width:100px; }

.promo-pod p a { color:#f00; font-weight:bold; }

.promo-pod p a:hover { color:#fff; background-color:#01CC00; text-decoration:none; }
 

h2#new-releases-hr { background:url("new-releases-dance-music-hr.gif") no-repeat top left;
                       text-indent:-99999px; height:36px; font-size:1px;
                       }
and here's the HTML snipet:

Code:
 <div class="pod-wrapper fixclear"> 
        <div class="promo-pod">
          <img src="record-sleeve-temp.jpg" width="75" height="75" alt="" />
          <h2>DJ SNEAK</h2>
          <p>Magnetic</p>
          <p><a href="#">£4.99 - ORDER NOW</a></p>
        </div>
        <div class="promo-pod"> 
          <img src="record-sleeve-temp.jpg" width="75" height="75" alt="" />
          <h2>DJ SNEAK</h2>
          <p>Magnetic</p>
          <p><a href="#">£4.99 - ORDER NOW</a></p>
        </div>
        <div class="promo-pod">  
          <img src="record-sleeve-temp.jpg" width="75" height="75" alt="" />
          <h2>DJ SNEAK</h2>
          <p>Magnetic</p>
          <p><a href="#">£4.99 - ORDER NOW</a></p>
        </div>
        <div class="promo-pod"> 
          <img src="record-sleeve-temp.jpg" width="75" height="75" alt="" />
          <h2>DJ SNEAK</h2>
          <p>Magnetic</p>
          <p><a href="#">£4.99 - ORDER NOW</a></p>
        </div>
        </div>
Gaz
__________________
Gaz





Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6: Hover stops working on AJAX page sigilaea Ajax 0 March 17th, 2008 09:58 AM
Expand/Collapse Structure kanoorani Javascript 4 June 19th, 2007 03:54 AM
Bug or no to bug learning C using VS.Net to compil tesh All Other Wrox Books 0 February 14th, 2007 01:06 PM
DHTML - Div tags causing table cells to expand ve clem_c_rock HTML Code Clinic 5 September 12th, 2006 02:03 PM
CSS2 :hover Problem in IE6 kwilliams CSS Cascading Style Sheets 9 April 13th, 2006 02:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.