|
|
 |
Photo and Captions Hands-on Exercises
- Create styles for
photo-right, photo-image, and photo-caption

.photo-right {
float: right;
border: 1px solid #666666;
}
.photo-image {
padding: 0px;
}
.photo-caption {
font: 9px Verdana, Arial, sans-serif #666666;
text-align: center;
}
- Open the hill-retires.html in your news folder
- Create a <div> for your photo/caption page component
- Create a <div> for your photo
- Insert the photo and set the width of the <div>
<div style="width: ###px;">
using the Quick Tag editor
- Create a <div> for your caption placing it right after the photo's <div> but still within your overall component <div>
- Insert the caption text
|