Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 519 520 521 522 523 ... 553
10 2620 posted 18 years ago by salsajid
replace submit buttons with nice images and does also the rollover. Easy.
1 1506 posted 18 years ago by valcartei
Style form fields
1 1674 posted 18 years ago by valcartei
this layout has a fixed width sidebar and a fluid main body.
1 1313 posted 18 years ago by penguin999
Developed for eclipse but prolly useful elsewhere, put the text after 'find' in the 'find' box and the text after 'replace' in 'replace'. Note: this example uses an html list item 'li', make sure to replace that with the tag you want to find
5 1969 posted 18 years ago by rhlowe
to call this function you would use "asfunction:myFunction,argument1,argument2,argument3" as the href in the tag in an HTML text box.
0 2092 posted 18 years ago by Bonky
have dt and dd inline is done automatically in Firefox, but screws up in IE7. So we need additional css rules, which have to be applied only if IE is used.
0 1844 posted 18 years ago by valcartei
To use css which will only be applied if the browser is IE.
0 1634 posted 18 years ago by valcartei
From railscast #41
2 1864 posted 18 years ago by bordalix
There must also be a JavaScript function defined in the containing HTML page: function makePopup(url,pop_name,width,height) { window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes"); }
1 1711 posted 18 years ago by Bonky
0 1294 posted 18 years ago by wintondeshong
0 1345 posted 18 years ago by asteinhaus
Build URLs for subcategories, e.g. 'cat-child-support.html' becomes '/family-law/child-support/'
0 1562 posted 18 years ago by ches
0 1269 posted 18 years ago by vanne
Over time, your Mac's Mail program can start to feel sluggish because, like any database, over time it needs to optimized.
4 2175 posted 18 years ago by jonhenshaw
1 1277 posted 18 years ago by bordalix
A great way to improve the performance of your web app, by using a column in the projects table which stores the number of task associated with it, seen in railscast #23
1 1680 posted 18 years ago by bordalix
A quick and simple way of having any flash messages, from railscast #18
1 1374 posted 18 years ago by bordalix
シンプルなドロップダウンメニュー。入れ子方式。 by http://www.pmob.co.uk/temp/dropdown_horizontal2.htm
1 1648 posted 18 years ago by fjm
For forms with a default value onload you don't want your users to have to select the value, delete it and then insert their own input. This function focuses on a selected input, then it selects the default text so the user can easily type their o...
1 1775 posted 18 years ago by 1man
via http://icant.co.uk/csstablegallery/
0 1347 posted 18 years ago by fjm
STICKER - A valid, easy to use CSS sticky footer by Ryan Fait This is the basic CSS you need along with the one extra empty div and the wrapper required to achieve the effect. I suggest that you leave the * { margin: 0; } code in while testing a...
8 2933 posted 18 years ago by daeliur
hoverで透明度
0 1259 posted 18 years ago by fjm
1 ... 519 520 521 522 523 ... 553