Support Forums

Showlisting Validation Problems

This is a discussion on Showlisting Validation Problems within the Technical Support forums, part of the Technical Support Forums category; Hi, I am currently making my site xhtml strict, i have done the homepage and im starting on the searchresults.php ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 11-10-2008, 01:04 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,031
Rep Power: 29
bowers01 is on a distinguished road
Default Showlisting Validation Problems

Hi,
I am currently making my site xhtml strict, i have done the homepage and im starting on the searchresults.php page.

I currently have
Code:
{if $sDisPhoto == "Y"}
<td{if $entry.class<>""} width="140" class="{$entry.class}"{/if}><a href="{$entry.link}">{if $entry.image != ""}<img src="thumbs/small_{$entry.image|escape:"url"}" alt="{$entry.title}" />
In showlistings.tpl and in the searchresults it looks like http://everythingsfree.org/image//im...esultsgood.jpg
but because it has width="140" it does not validate.

So i change it to
Code:
{if $sDisPhoto == "Y"}
<td class="photowidth" {if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}">{if $entry.image != ""}<img src="thumbs/small_{$entry.image|escape:"url"}" alt="{$entry.title}" />
and the css is
Code:
td.photowidth {
	width: 140px;
}
but when i do that it turns out like this http://everythingsfree.org/image//im...resultsbad.jpg
as you can see there is a gap where the highlighted listings are.
Any idea?
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 11-10-2008, 01:10 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,031
Rep Power: 29
bowers01 is on a distinguished road
Default

That one seems to validate now. But i get the same thing when i do it for dealer logo on the righthand side, using virtually the same code and the same problem.


EDIT: The code for dealers is
Code:
<td width="220" {if $entry.class<>""} class="{$entry.class}"{/if}>
But if i change it to
Code:
<td class="storeimagedealer" {if $entry.class<>""} class="{$entry.class}"{/if}>
and css is
Code:
td.storeimagedealer {
	width: 220px;
}
the same thing happens.

Any ideas?
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template

Last edited by bowers01; 11-10-2008 at 01:16 AM.
bowers01 is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question showlisting wesse249 Technical Support 0 09-25-2008 07:56 AM
w3.org Validation Problems bowers01 Templates, HTML, CSS, and Design Help 2 09-16-2008 07:10 AM
Extra fields on showlisting.php ? Fatih67 Technical Support 6 06-23-2008 02:11 PM
forums and support validation email problems redmtnex2 Pre Sales Questions 5 01-10-2007 06:28 PM


All times are GMT -4. The time now is 05:54 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0