Line 217, Column 12: Element figcaption not allowed as child of element li in this context. (Suppressing further errors from this subtree.) Spartacus The Television Series
Here's the HTML :
<div id="gallery"> <ul> <li> <img src="images/Spartacus_tn.png" class="mini" alt="Spartacus Starz"/> <figcaption>Spartacus The Television Series</figcaption> <div class="pic"> <img src="images/Spartacus_001.png" alt="Starz Spartacus"/> <figcaption>Spartacus The Television Series - A HTML5 & CSS3 website developed as part of a University project</figcaption> </div> </li>
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 :
<div id="gallery"> <ul> <li> <figure class="noframe"> <img src="images/Spartacus_tn.png" class="mini" alt="Spartacus Starz"/> <figcaption>Spartacus The Television Series</figcaption></figure> <div class="pic"> <figure class="frame"><img src="images/Spartacus_001.png" alt="Starz Spartacus"/> <figcaption>Spartacus The Television Series - A HTML5 & CSS3 website developed as part of a University project</figcaption></figure> </div> </li>
That seems a terribly inefficient way of doing something a simple as added a caption and a frame!
Line 217, Column 12: Element figcaption not allowed as child of element li in this context. (Suppressing further errors from this subtree.)
Spartacus The Television Series
Here's the HTML :
And the url :
http://mbmitservices.co.uk/
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 :
The HTML :
That seems a terribly inefficient way of doing something a simple as added a caption and a frame!