Support Forums

CSS and XHTML Tips

This is a discussion on CSS and XHTML Tips within the Templates, HTML, CSS, and Design Help forums, part of the General category; Many people experience display problems as they start to customize their template files. A good piece of advice is to ...


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

Reply
 
Thread Tools Display Modes
Old 06-17-2009, 09:12 AM   #1
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,433
Rep Power: 87
seymourjames is a jewel in the rough
Default CSS and XHTML Tips

Many people experience display problems as they start to customize their template files.

A good piece of advice is to use this link below to validate your code. In many cases, getting rid of XHTML validation errors will help you solve your problem.

The W3C Markup Validation Service

Start by validating an empty page (so there is no content in the layout - just the layout itself - make your home page blank for example but do keep a back up of the home pages contents of course). This way you can rid your self of any errors present in the layout.tpl file which are going to appear on every page and just make matters more confusing. It will also help to eradicate interactions which may appear when content is placed into the layout. Finally, you can then test individual pages that are creating display problems and you will know immediately in which template file they reside.

Secondly, I highly recommend the Web Developer plugin for Firefox. This free tool allows you to highlight css on your pages, modify it and try it out without actually modifying your site, change your xhtml source to try it out , etc. Too much to describe here but it s one of the most useful tools around. Firebug for Firefox is another great tool. It is a small investment to learn these tools and save yourself lots of time.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
A bit of XHTML and Smarty seymourjames Modules / Plugins / Modifications 6 08-11-2008 04:44 PM
Xhtml seymourjames Technical Support 22 06-18-2008 09:28 AM


All times are GMT -4. The time now is 02:10 AM.


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