1man


Member since 07/01/2006

Name: Matt Hobbs

Location: London

Website: http://nooshu.com

18 snippets

10179 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

1man's Recent CSS Snippets



« Prev 1 Next »
Useful bit of CSS to vertically centre a navigation. Good for Pagination.
1 784 posted 13 years ago by 1man
Finally got round going through a sliding door example myself. All fairly straightforward apart from a few IE6 issues (who would have guessed!). The button is floated so you may need to add overflow: hidden to it's container.
1 726 posted 14 years ago by 1man
Useful little spippet for a button anchor where the text may change.
0 756 posted 14 years ago by 1man
Should also work in IE6 because of the filter
5 738 posted 15 years ago by 1man
A very annoying 'bug' can occur when you are applying a top margin to an element inside a container. The inner elements margin seems to "leak" out of the top of the container. This pushes the container down, and looks very messy if you have a backgro...
4 707 posted 16 years ago by 1man
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
9 816 posted 16 years ago by 1man
CSS image replacement with no extra span needed.
3 537 posted 16 years ago by 1man
Say you want a containing block with 2 floating elements to expand around the floating element, usually this wouldn't happen since the container has no height because the floating elements are out of the usual flow. The method below fixes this pro...
3 581 posted 16 years ago by 1man
Removes the default styling different browsers use, so you minimise cross browser problems.
1 583 posted 16 years ago by 1man
Example off ALA, pleasing typography layout for the web. Based on the grid system.
4 808 posted 16 years ago by 1man
Great little debuging snippet found while browsing. The code adds different coloured borders to the assets depending on its level. Leave commented out if not needed.
96 6261 posted 17 years ago by 1man
This fixes a very annoying bug in IE by where when you scroll the page becomes corrupted. It relates to the way IE renders pages. This code places a null background image behind, making IE render the page differently. *note* This can also be plac...
5 807 posted 17 years ago by 1man
A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id ta...
11 882 posted 17 years ago by 1man
Simple styling for the links on a webpage using CSS. Sometimes hard to remember what order the have to be in for the :hover to work correctly. (Now fixed :)
2 925 posted 17 years ago by 1man
Markup example: See Big Curly Quotes Markup. Thx to difusion.org.uk. No need for images to make big quotes on a page, CSS does it for you. Tested in many browsers.
94 5261 posted 17 years ago by 1man
5 613 posted 17 years ago by 1man
Taken from bluerobot. Create a content div, set the width and the margin set to auto will align the div to the centre horizontally.
5 548 posted 17 years ago by 1man
Taken from Dead Centre. Adjust #content depending on the size div you need.
118 8652 posted 17 years ago by 1man
« Prev 1 Next »