Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS figcaption Validation error Re: figcaption Validation error

#103689
MBM
Participant

Thanks. Valid and displaying correctly in the major browsers. When I added the figure tag it added a big ugly white border around the thumbnails. I defined two figure classes, one for the thumbnails which defaulted the border to it’s original size :

.noframe {
margin:0;
}

And another which added a frame, even though this was defined in a class previously but for some reason it wouldn’t display, to the full size image :

.frame {
margin:0;
background:#ffffff;
padding: 6px 6px 6px 6px;
}

The HTML :

That seems a terribly inefficient way of doing something a simple as added a caption and a frame!