• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 12. Creating a Photo Gallery > Creating a Side-By-Side Variation

Creating a Side-By-Side Variation

Using the same selectors and HTML code, it is possible to change the layout so that the images and their captions are displayed side by side.

First, the width of the <div> will need to be increased to accommodate the caption beside the image. The declaration can be changed to width: 250px.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint