Mixed up table and list display style
-
This is a sample from frontend output code I came accross:
<div class="download-attachments"> <table class="table"> <thead> <th class="attachment-title">File</th> <th class="attachment-about">Description</th> </thead> <body> <span class="pdf"><a href="(...)" title="(...)">(...)</a><br /></span> <span class="pdf"><a href="(...)" class="attachment-link" title="(...)">(...)</a><br /></span> <span class="pdf"><a href="(...)" class="attachment-link" title="(...)">(...)</a><br /></span> </div>
I see two mistakes, correct me if I’m wrong.
- The list display style is set on my settings page but the frontend code starts as a table. Also, there are no <td> tags nor a closing </tbody> and </table> tag
- If this were a table style, <body> should be <tbody> instead
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Mixed up table and list display style’ is closed to new replies.