OfficeAnimal
Technical User
I am working in HTML 4.01 Strict and CSS 2.0. I have:
CSS:---------------------------------------
#top-left-corner { float: left; }
#top-right-corner { float: right; }
#top-bar
{
width: 100%;
height: 14px; /* tight around the GIF */
float: left;
}
#top-bar img { display: block; }
#top-bar-inner
{
width: 100%;
height: 6px; /* match depth of curve */
float: left;
color: #993300; /* dark brown */
background-color: #993300; /* dark brown */
}
CSS:-----------------------------------------------
HTML:----------------------------------------------
<div id="top-bar">
<div id="top-left-corner">
<img
src="img/curve-top-left-993300-darkBrown-radius14.gif"
width="14px"
height="14px"
alt="">
</div>
<div id="top-bar-inner"></div>
<div id="top-right-corner">
<img
src="img/curve-top-right-993300-darkBrown-radius14.gif"
width="14px"
height="14px"
alt="">
</div>
</div>
HTML:-----------------------------------------------
My idea is that the images should appear at either side of top-bar and top-bar-inner should fit neatly between them. However, the bits are displayed in three rows.
How can I get top-bar-inner to appear between the images?
All and any help appreciated.
CSS:---------------------------------------
#top-left-corner { float: left; }
#top-right-corner { float: right; }
#top-bar
{
width: 100%;
height: 14px; /* tight around the GIF */
float: left;
}
#top-bar img { display: block; }
#top-bar-inner
{
width: 100%;
height: 6px; /* match depth of curve */
float: left;
color: #993300; /* dark brown */
background-color: #993300; /* dark brown */
}
CSS:-----------------------------------------------
HTML:----------------------------------------------
<div id="top-bar">
<div id="top-left-corner">
<img
src="img/curve-top-left-993300-darkBrown-radius14.gif"
width="14px"
height="14px"
alt="">
</div>
<div id="top-bar-inner"></div>
<div id="top-right-corner">
<img
src="img/curve-top-right-993300-darkBrown-radius14.gif"
width="14px"
height="14px"
alt="">
</div>
</div>
HTML:-----------------------------------------------
My idea is that the images should appear at either side of top-bar and top-bar-inner should fit neatly between them. However, the bits are displayed in three rows.
How can I get top-bar-inner to appear between the images?
All and any help appreciated.