View Single Post
Old 11-23-2022, 01:12 AM   #12
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Tex2002ans View Post
Side Note: Also, I'm not sure if you were aware...

MobileRead has a [CODE] tag. You accidentally shoved your code inside of a [PHP] tag.
Nope, not accidentally but intentionally. I like the coloured text as it makes it easier to read


Quote:
Originally Posted by Tex2002ans View Post
It's fine. It's a very simple table + you already used <th> for your headings, so that should be good enough.

One tweak I would do though is... I tend keep my <th> + <td> bare, making it WAY easier to read.

(Plus, you don't need to do all that <p class="noindent"> shenanigans.)

Before:

Code:
<th><p class="noindent">NO.</p></th>
<th><p class="noindent">TIME/EST</p></th>
<th><p class="noindent">LOC</p></th>
<th><p class="noindent">READING</p></th>
After:

Code:
<th>NO.</th>
<th>TIME/EST</th>
<th>LOC</th>
<th>READING</th>
WAY easier to read the code + spot issues.
Ok, so use the bare tags and style it in the css if necessary. Makes sense. I'll do that.
Thanks!!
Karellen is offline   Reply With Quote