I'm having a problem displaying floating boxes within a DIV box. I've got four DIV boxes: one to act as a container for the other three, one title box to hold a title graphic, one middle box for the main content of my page and a bottom box to hold a curved graphic. What I'm trying to do is add a series of thumbnails, each within a floating box so it's displayed in a similar way to a table. However, instead of displaying the floating boxes after the text, the floating boxes are displayed underneath the bottom box containing the curved graphic. I'm testing it using Firefox at the moment - any ideas most gratefully received!!
My CSS code is as follows:
body
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color:#999999;
text-align: justify;
background-color: #003333;
}
/* Container box */
div.pagebox
{
position: relative;
left: 10%;
top: 5%;
border: none;
background-color: #003333;
width: 846px;
}
/* Top title box */
div.title
{
position: relative;
width: 846px;
height: 210px;
background-image:url(../images/albumtitle.gif);
}
/* Main content box */
div.text
{
position: relative;
background-color: #ffffff;
border-left: 3px solid #006600;
border-right: 3px solid #006600;
padding: 10px 10px 10px 10px;
}
/* Bottom box holding curved graphic */
div.bottom
{
position: absolute;
width: 846px;
height: 42px;
background-image:url(../images/bottomBar.gif);
}
/* Floating box containing slide graphic */
div.contentimg
{
float: left;
width: 304px;
height: 225px;
background-image:url(../images/photoImage.gif);
margin-right: 15px;
}
div.picbox
{
position: relative;
margin-top: 3%;
border: none;
}
/* Floating box for thumbnails */
div.pic
{
float: left;
width: 136px;
height: 96px;
padding: 15px;
margin: 5px 3px;
background-color: white;
border: 1px solid black;
}
My CSS code is as follows:
body
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color:#999999;
text-align: justify;
background-color: #003333;
}
/* Container box */
div.pagebox
{
position: relative;
left: 10%;
top: 5%;
border: none;
background-color: #003333;
width: 846px;
}
/* Top title box */
div.title
{
position: relative;
width: 846px;
height: 210px;
background-image:url(../images/albumtitle.gif);
}
/* Main content box */
div.text
{
position: relative;
background-color: #ffffff;
border-left: 3px solid #006600;
border-right: 3px solid #006600;
padding: 10px 10px 10px 10px;
}
/* Bottom box holding curved graphic */
div.bottom
{
position: absolute;
width: 846px;
height: 42px;
background-image:url(../images/bottomBar.gif);
}
/* Floating box containing slide graphic */
div.contentimg
{
float: left;
width: 304px;
height: 225px;
background-image:url(../images/photoImage.gif);
margin-right: 15px;
}
div.picbox
{
position: relative;
margin-top: 3%;
border: none;
}
/* Floating box for thumbnails */
div.pic
{
float: left;
width: 136px;
height: 96px;
padding: 15px;
margin: 5px 3px;
background-color: white;
border: 1px solid black;
}