Quote:
|
He used a fixed height to keep the picture in check.
|
Which I understand, but since he's not stretching the picture, what difference does it make ?? The picture size won't change.
Depending on what he wants to do, it may not be necessary to add another div just for text, and adding divs willy-nilly 'just because' isn't a good practice.
Stanfoo, to add another div, just do this:
Quote:
<div style="position:relative; ">
<div id="imageContainer">
<img style="display: block; opacity: 0.95;"
src="images/bookmark_1.png" />
<img src="images/bookmark_2.png" />
<img src="images/bookmark_3.png" />
</div>
<div class="textContent">
<p>put your text here</p>
</div>
</div>
|
In your CSS, define the class for textContent to format the text in whatever way you need it, such as:
Code:
.textContent{
font-size: .75em; /*equal to 12px*/
color: blue;
line-height: 1.25em;
}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|