Support Forums

Safari Display Problem

This is a discussion on Safari Display Problem within the Templates, HTML, CSS, and Design Help forums, part of the General category; I have a couple of display issues with my classified ads website using Safari web browser. The homepage displays absolutely ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-13-2009, 10:06 AM   #1
Junior Member
 
Join Date: Jul 2008
Posts: 5
Rep Power: 0
PoundAd is on a distinguished road
Default Safari Display Problem

I have a couple of display issues with my classified ads website using Safari web browser. The homepage displays absolutely fine in IE7 & Firefox, but in Safari there appears to be a problem with the search bar and my book mark bar.

Can someone please take a look and let me know if they have any possible solutions.

The web address is Classified Ads, Household, Property, Cars, Job Vacancies, Local & National

Thanks,
Peter
PoundAd is offline   Reply With Quote
Old 02-13-2009, 10:33 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I just viewed it in Safari on a Mac and didn't see any differences.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 02-13-2009, 10:36 AM   #3
Junior Member
 
Join Date: Jul 2008
Posts: 5
Rep Power: 0
PoundAd is on a distinguished road
Default

I am using Safari in Windows perhaps that is causing the problem?
PoundAd is offline   Reply With Quote
Old 02-13-2009, 11:22 AM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,308
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I believe your issues are because your code doesn't validate due to several inconsistencies in your XHTML elements. I didn't actually run it through a validator, however by glancing at the source code briefly, I saw many issues.

If you declare your document type (Which you should always do and you do) and your source code doesn't comply with the specification, then the browser will go into what is known as Quirks Mode. Essentially a "dumb" browser that will best guess what you mean in your source code.

A few examples in your code are:
<meta name="example"> should be <meta name="example" />
<meta name="example"/> should be <meta name="example" /> (space before the close " />"
<img src="image.gif" other stuff> should be <img src="image.gif" width="xxx" height="xxx" />
</span>your stuff</span> should be <span>your stuff</span>

My recommendation is that you run it through a validator and it will tag all of your errors and warnings. Go through those errors and warnings and you should be good to go.

Here's one of several places you can go on the net to validate your code:
W3 Schools validator

Hope that helps and good luck,
-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-15-2009, 02:23 PM   #5
Junior Member
 
Join Date: Jul 2008
Posts: 5
Rep Power: 0
PoundAd is on a distinguished road
Default

Thanks Mike-N-Tosh your comments are very useful, I will have a good look through the code and clean it up, hopefully this will resolve the browser display issues!
__________________
PoundAd Classified Ads - http://www.poundad.co.uk
PoundAd is offline   Reply With Quote
Old 02-16-2009, 06:11 AM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,329
Rep Power: 83
seymourjames is a jewel in the rough
Default

A great tool to use is to use with Firefox is the web developer toolbar add-on. It is free and I cannot recommend it highly enough.

https://addons.mozilla.org/en-US/firefox/addon/60

You can investigate and isolate many problems in your xhtml and css. You can modify a page locally , see if it solves the problem, save the changed file to disk and then upload it to your server. CHECK IT OUT. The alternative is Firebug.

Safari (your case) also has a download called web inspector which does similar things and has good reviews.

Web Development with... Safari / journal / hicksdesign

However, if you really want to make great code you need proper editors which validate.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Safari Browser Issue ok_dir Templates, HTML, CSS, and Design Help 4 12-04-2008 07:03 PM
Adpack Display seymourjames Modification Release 0 12-02-2008 04:03 PM
Text Display tdisraeli Technical Support 4 11-23-2008 01:54 AM


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


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