RC5: New Web templates

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

RC5: New Web templates

Post by ckv »

I love those new Web templates. Who made them by the way?

But the Simle(_COLOR_) templates css files isn't valid.
There was typo in css font atribute 'Veranda0' I think that, such font don't exist. :wink: and font family should have points between font names.

All how know css could you confirm.

Edit:
Also in all Simple(_CPLOR_) template 'page.html' files are missing one '<tr>

Code: Select all

	</tr>
		<td class="desc">#PIC_TEXT#</td>
	</tr>

------------------------------- Should be -----------------------------

	</tr>
	<tr>
		<td class="desc">#PIC_TEXT#</td>
	</tr>



and all html files are missing character encoding

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

------------------------------------- or --------------------------------------

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Maybe some HTML pro should which encoding should be used. (iso-8859-1 is probably must, in deutsch templates)

In the css files the font family should be like this.

Code: Select all

	font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
------------------------------------------------------------------------------


I don't know what the author of these templates think about this, but I fixed all the bugs above and I also converted 'header.jpg' files to png format (over three times smaller file size)

Patched web templates: download

XnView 1.80 <x>
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: RC5: New Web templates

Post by xnview »

ckv wrote:I love those new Web templates. Who made them by the way?

But the Simle(_COLOR_) templates css files isn't valid.
There was typo in css font atribute 'Veranda0' I think that, such font don't exist. :wink: and font family should have points between font names.

All how know css could you confirm.

Edit:
Also in all Simple(_CPLOR_) template 'page.html' files are missing one '<tr>

Code: Select all

	</tr>
		<td class="desc">#PIC_TEXT#</td>
	</tr>

------------------------------- Should be -----------------------------

	</tr>
	<tr>
		<td class="desc">#PIC_TEXT#</td>
	</tr>



and all html files are missing character encoding

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

------------------------------------- or --------------------------------------

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Maybe some HTML pro should which encoding should be used. (iso-8859-1 is probably must, in deutsch templates)

In the css files the font family should be like this.

Code: Select all

	font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
------------------------------------------------------------------------------


I don't know what the author of these templates think about this, but I fixed all the bugs above and I also converted 'header.jpg' files to png format (over three times smaller file size)

Patched web templates: download
Ok, thank you very much
Pierre.