PeteW


Member since 05/08/2009

Name: Pete Williams

PeteW

Location: Guildford, UK

Website: http://petewilliams.info

8 snippets

3968 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 741 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 1296 posted 15 years ago by PeteW
2 749 posted 15 years ago by PeteW
2 992 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 908 posted 15 years ago by PeteW
A simple replacement for print_r or whatever you use to display debug info.
2 865 posted 15 years ago by PeteW
« Prev 1 Next »