473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Gallery Problems with IE6

1
The code I wrote for a site I am working on makes the pictures in the gallery ovelapping the container



[code].....................



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Edo Nation</title>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="Edo.css" />




div id="container">

<div class="textblock">
<h1>Edo Cultural Pictures</h1>
<p class="intro">A selection of indoor sod options: reviewed and tested by <strong>CosmoFarmer.com</strong> in our state-of-the-art “Apartment Laboratory” on 5th Avenue. </p>
<div id="gallery">
<div class="figure">

<div class="photo">
<img src="carpet.jpg" alt="Carpet Grass" width="200" height="200" /> </div>

<p>Figure 1: Even the carpet-like <em>Carpetorium Pratensis</em> requires mowing. </p>
</div>
<div class="figure">
<div class="photo">

<img src="grass.jpg" alt="Bentgrass" width="200" height="200" /> </div>
<p>Figure 2: Creeping Bentgrass is best suited for outdoor use and should be avoided by the indoor farmer.</p>

</div>
<div class="figure">
<div class="photo">
<img src="bluegrass.jpg" alt="Bluegrass" width="200" height="200" /> </div>
<p>Figure 3: This indoor-hybrid of Kentucky Bluegrass has fallen out of fashion. </p>

</div>
<div class="figure">
<div class="photo">

<img src="leaves.jpg" alt="Leaves" width="200" height="200" /> </div>
<p>Figure 4: <em>Tinea Pedis Poaceae</em> threatens discomfort to bare feet. </p>
</div>

<div class="figure">
<div class="photo">
<img src="pattern.jpg" alt="Pattern Grass" width="200" height="200" /> </div>

<p>Figure 5: The difficult to maintain pattern of this indoor lawn is a sight to behold. </p></div>
<div class="figure">
<div class="photo">
<img src="dandelion.jpg" alt="Dandelion" width="200" height="200" /> </div>

<p>Figure 6: The dandelion: scourge of the apartment farmer.</p></div>


CSS..............................

.nav {
display : inline;
}
.figure {
float: left;
width: 210px;
margin: 0 10px 10px 10px;
}


.photo {
background: url(drop_shadow.gif) no-repeat right bottom;
}

.photo img {
border: 1px solid #666;
background-color: #FFF;
padding: 4px;
position: relative;
top: -5px;
left:-5px;

}

.figure p {
font: 1.1em/normal Arial, Helvetica, sans-serif;
text-align: center;
margin: 10px 0 0 0;
height: 5em;

}

/* IE 5/6 border erase bug */
* html #gallery {
width: 100%;
}

/* IE 5 placement bug */
* html #gallery img {
width: 100%;
}
Aug 10 '07 #1
0 1008

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Captain Ranger McCoy | last post by:
Hello! Suppose I have ten servers at ten ips: x.x.x.1 x.x.x.2 x.x.x.3 x.x.x.4 and so on Each server hosts 100+ photo galleries, all under a single domain name,
5
by: Fred | last post by:
I've written a number of "image gallery" pages before, but I'm trying to do something a little different. All the images are rectangular (these are just pictures from my camera), and the...
54
by: Max Quordlepleen | last post by:
Apologies for the crossposting, I wasn't sure which of these groups to ask this in. I have been lurking in these groups for a week or so, trying to glean what I need to design a simple, clean...
1
by: Olw | last post by:
Hello, I'm running image Gallery software written in php from http://gallery.menalto.com/ First, all was ok, but then I guess the server upgraded to php 5. Then, I got problems with:...
3
by: bob garbados | last post by:
I'm looking for thoughts on photo galleries and security/performance implications... I'm working on an asp.net site in vb that will include an updateable photo gallery that will display thumbnails...
10
by: ste | last post by:
Hi there, I'm trying to query a MySQL database (containing image data) and to output the results in a HTML table of 3 columns wide (and however many rows it takes) in order to create a basic...
11
by: ste | last post by:
Hi there, Further to my recent posts where I've received excellent help from Rik and Jerry, I've ended up with an image gallery on my website that displays images in a table, 3 images per row. ...
11
by: shror | last post by:
hi every body I need help please i have designed an image gallery of about 20 pictures and they are shown in thumb nail views and for viewing the largeer version of the images i have added a...
6
omerbutt
by: omerbutt | last post by:
hi all i am using a slide picture gallery provided by http://smoothgallery.jondesign.net/showcase/gallery/ the gallery is working fine but only if i try to make 2 slide shows on the same page it...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.