RC6: Web template tweaks
Posted: Sun Jun 12, 2005 1:18 pm
Don't get me wrong, I believe it's a nice template, layout- and color-wise, but it could use some tweaking.
- XHTML instead of HTML: The problem is that XnView use <br> as linebreaks between THUMB_TEXT items, whereas XHTML requires <br />. So it's basically impossible to generate a valid XHTML, even a transitional one.
<th class="header">#TITLE# - #HEADER#</th>: It's a bad idea to force the display of both title and header. If the user wants the title to be displayed there, he's free to include it in the header.
- align="center": the align attribute is deprecated
- <img... border="0" />: Deprecated as well
- <td class="thumbs" style="width:#THUMB_HEIGHT#px;height:#THUMB_HEIGHT#px;">: I could be missing something but height:#THUMB_HEIGHT#px looks useless to me. The cell's height will auto adjust to its content will it not? As for width:#THUMB_HEIGHT#px I suppose it was meant to be width:#THUMB_WIDTH#px ? It's indeed useful to specify a width in this case, otherwise long THUMB_TEXT lines wouldn't wrap. But what will happen when the thumb is small (say 50-75px), the text is long, and the font is big? I guess a massive number of lines of text under the thumbs. Another advantage of fixed cell width is it wouldn't need to be repeated in every cell.
- There's a display bug in IE: Thumbnails aren't properly centered
Here's a screenshot to show the last 2 points (plus curious vertical-alignment):
Could whoever designed these templates [Simple and Simple (Deutsch)] tweak them a bit before 1.80 is final? I could look into it otherwise =)
XnView 1.80 <x>
- XHTML instead of HTML: The problem is that XnView use <br> as linebreaks between THUMB_TEXT items, whereas XHTML requires <br />. So it's basically impossible to generate a valid XHTML, even a transitional one.
<th class="header">#TITLE# - #HEADER#</th>: It's a bad idea to force the display of both title and header. If the user wants the title to be displayed there, he's free to include it in the header.
- align="center": the align attribute is deprecated
- <img... border="0" />: Deprecated as well
- <td class="thumbs" style="width:#THUMB_HEIGHT#px;height:#THUMB_HEIGHT#px;">: I could be missing something but height:#THUMB_HEIGHT#px looks useless to me. The cell's height will auto adjust to its content will it not? As for width:#THUMB_HEIGHT#px I suppose it was meant to be width:#THUMB_WIDTH#px ? It's indeed useful to specify a width in this case, otherwise long THUMB_TEXT lines wouldn't wrap. But what will happen when the thumb is small (say 50-75px), the text is long, and the font is big? I guess a massive number of lines of text under the thumbs. Another advantage of fixed cell width is it wouldn't need to be repeated in every cell.
- There's a display bug in IE: Thumbnails aren't properly centered
Here's a screenshot to show the last 2 points (plus curious vertical-alignment):
Could whoever designed these templates [Simple and Simple (Deutsch)] tweak them a bit before 1.80 is final? I could look into it otherwise =)
XnView 1.80 <x>