| | |
Please help with Browser Compatibility Gallery Script!!!!!PLEASE
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2007
Posts: 33
Reputation:
Solved Threads: 0
Hi everyone, i will try to explain this the best way i can. I am building a shopping website and i need to display new items and pictures on the home page in some kind of gallery that scrolls left to right on mouse over.
The gallery fetches images from a database using PHP and loops them out into a straight line. However i wanted to include the product details right below the image. The order is like this:
i achieved this very well in firefox browsers and IE7 and above but IE6 is giving me a headache!!! can anyone please tell me what is wrong? The real script is here this:
Firefox displays the images just fine (horizontally) but IE6 displays them vertically. Please help!!!!!! THANK YOU!!!!
The gallery fetches images from a database using PHP and loops them out into a straight line. However i wanted to include the product details right below the image. The order is like this:
<div // wrapper div> <div> // product image goes here </div> <div> // product details go here </div> </div // end of wrapper div>
i achieved this very well in firefox browsers and IE7 and above but IE6 is giving me a headache!!! can anyone please tell me what is wrong? The real script is here this:
// after using mysqli_query to $getImages //
while($row = $getImages->fetch_assoc()) {
echo "<div style='display:inline-block;height:130px;position:relative;'>".
"<div style=' height:150px; border-bottom:1px solid #CCCCCC; border-right:1px solid #CCCCCC;'>".
"<a href='#'>";
echo "<img src='http://mysite.com/IMAGES/products/large/".$row["image"]."' id='img_product_".$i."' border='0' >".
"</a>".
"</div>".
// This is what i was trying to add //
"<div style='display:absolute; bottom:0px; height:50px; border-right:1px solid #CCCCCC; background:#F4F4F4;'>".
"<p style='font-size:10px; margin-left:23px;'>".$row["product_name"]."<br> <strong>$".$row["product_price"]."</strong><br>in ".$row["product_category"]."</p>".
"</div>".
"</div>";
$i++;
}Firefox displays the images just fine (horizontally) but IE6 displays them vertically. Please help!!!!!! THANK YOU!!!!
baba
•
•
Join Date: Jul 2008
Posts: 101
Reputation:
Solved Threads: 8
•
•
•
•
"<div style='display:absolute; bottom:0px; height:50px; border-right:1px solid #CCCCCC; background:#F4F4F4;'>".
Firefox displays the images just fine (horizontally) but IE6 displays them vertically. Please help!!!!!! THANK YOU!!!!
Position:absolute might do some trick, but in my experience absolute positioning can create more problems than it solves.
Last edited by ingeva; Jul 4th, 2009 at 6:57 am.
Yes, I'm running Ubuntu. Of course.
![]() |
Similar Threads
- Browser Compatibility Check (VB.NET)
- Problems with browser compatibility.. especially internet explorer (JavaScript / DHTML / AJAX)
- Browser compatibility (JavaScript / DHTML / AJAX)
- Floting menu for Browser compatibility (JavaScript / DHTML / AJAX)
- Javascript browser detection (and then if IE activate script) (JavaScript / DHTML / AJAX)
- Which browser are you using? (Geeks' Lounge)
- CSS browser compatibility ??? (HTML and CSS)
- safari makes my script look weird, HELP (OS X)
- [JOB] Senior Cold Fusion Developer, Alexandria, VA (Web Development Job Offers)
- I'm looking for a certain type of script (desc. within) (PHP)
Other Threads in the HTML and CSS Forum
- Previous Thread: 10 rare HTML Tag
- Next Thread: Expanding Iframes/divs background
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7





