It is currently Tue Mar 19, 2024 4:23 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Tip:On Web Standards
PostPosted: Mon Dec 29, 2008 5:53 pm 
Newbie
Newbie

Joined: Thu Dec 25, 2008 3:10 pm
Posts: 8
Use them....Thats about it. Just wanted to put a post here encouragin people to include DocType Decloraton and validate their pages at the W3C Validator (http://validator.w3.org/).

This is good for your coding practices, and to an extent makes you pages apear the same on almost all browsers.

also, IE7 dosent read all tags and atributes quite right, so avoid it :P

_________________
http://additives.freehostia.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 30, 2008 6:01 pm 
Moderator
Moderator

Joined: Tue Feb 27, 2007 12:18 am
Posts: 521
And IE8 is going to be even worse!

I agree though that its always worth checking your code against a validator, it makes life alot more easy for people with visibilty difficulties.

_________________
http://www.mjmclocks.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 04, 2009 12:14 am 
Getting Started
Getting Started

Joined: Tue Nov 25, 2008 11:54 pm
Posts: 61
Location: Canada
Oh... I don't do that :oops:

Thanks

_________________
[won't be online much for a few months]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 26, 2009 2:01 am 
Newbie
Newbie

Joined: Wed Mar 25, 2009 7:39 pm
Posts: 2
It's really worth it. At first you'll think it's a bit annoying, but soon you'll realize that validation really makes your code a lot tighter and fixes a lot of dumb mistakes.

By far the easiest way to get started is with the HTML validator extension for firefox: http://users.skynet.be/mgueury/mozilla/

This free extension adds the W3 engine and another great program called HTML tidy to your browser. You can set an icon that tells you how many errors are on whatever page you're currently on for quick review.

It also adds features to the 'view source' window. It marks each error and adds much more helpful hints than the w3 validator does. Best of all, there's a button to use the Tidy engine to automatically clean up the code. It's not perfect, but you'll learn a lot.

Good luck!

_________________
HTML / XHTML / CSS All in One for Dummies
http://www.aharrisbooks.net/xfd

PHP6 / MySQL Programming for the Abs. Beg
http://www.aharrisbooks.net/ph3ed

Game Programming - the L Line
http://www.aharrisbooks.net

(all hosted on freehostia)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 06, 2011 8:26 am 
Newbie
Newbie

Joined: Tue Dec 28, 2010 3:59 am
Posts: 3
Tips On Web Standards:

The empty div clearfix anti-pattern
CSS shorthands for margin and paddings
CSS hacks for IE-only style rules
Easy clearing of floats

_________________
Outsource Web Design, PHP Web Development


Top
 Profile  
 
 Post subject: Re: Tip:On Web Standards
PostPosted: Wed Oct 29, 2014 4:44 am 
Newbie
Newbie

Joined: Wed Oct 29, 2014 4:37 am
Posts: 1
Thanks a lot for the tip, FnCool =)
turns out i forgot to put in the js file in as well :P
oh and sorry about the double posting, i wasnt sure which forum should i post it on...

_________________
ali


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011