PeteW


Member since 05/08/2009

Name: Pete Williams

PeteW

Location: Guildford, UK

Website: http://petewilliams.info

8 snippets

3807 profile views

3 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

PeteW's Recent Snippets



« Prev 1 Next »
Displays HTML list as a gramatically correct English sentence. \r\n\r\nFor example\r\n\r\n<ul class=\"commaList\">\r\n <li>one</li>\r\n <li>two</li>\r\n <li>three</li>\r\n <li>four</li>\r\n</ul...
1 715 posted 14 years ago by PeteW
Summarised snippet of Natbat's article: http://natbat.net/2009/Jun/10/styling-buttons-as-links/ Any link that that initiates an action, rather than just changing a page should semantically be a form with a submit button not a l ink. However you ca...
3 1269 posted 15 years ago by PeteW
2 723 posted 15 years ago by PeteW
2 956 posted 15 years ago by PeteW
Nice clean, and semantically correct breadcrumb XHTML accompanied by the CSS. Create a transparent GIF of the symbol '>' and save it in /img/gt.gif. This will be used for older browsers that don't support the :after pseudo element.
4 872 posted 15 years ago by PeteW
A simple replacement for print_r or whatever you use to display debug info.
2 833 posted 15 years ago by PeteW
« Prev 1 Next »