I'm trying to add grid view into pages that I have created, I did this before so I'm effectively copying and pasting the code across from an old site to my new site but on the new site the code does not display properly.
<ul class="indexgrid">
<li class="textbox"><h2>Header Text</h2><p>Some information pertaining to header text.</p></li>
<li><a href="{xen:link /link to content/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li><a href="{xen:link /link to content/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li><a href="{xen:link /link to content/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li><a href="{xen:link /link to contents/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li class="textbox warning"><h2>Header Text 2</h2><p>Text pertaining to header text 2</p></li>
</ul>
This should in theory put the images next to each other in a grid view until the space runs out then it drops the image down a level and again the images go next to each other. Before I had this 2 images side by side then it should jump down and another 2 side by side.
Am I missing something?
<ul class="indexgrid">
<li class="textbox"><h2>Header Text</h2><p>Some information pertaining to header text.</p></li>
<li><a href="{xen:link /link to content/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li><a href="{xen:link /link to content/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li><a href="{xen:link /link to content/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li><a href="{xen:link /link to contents/}"><img src="link to image" /><h3>Blah</h3></a></li>
<li class="textbox warning"><h2>Header Text 2</h2><p>Text pertaining to header text 2</p></li>
</ul>
This should in theory put the images next to each other in a grid view until the space runs out then it drops the image down a level and again the images go next to each other. Before I had this 2 images side by side then it should jump down and another 2 side by side.
Am I missing something?