Part 2 of our code snippets series takes a look at more handy pieces of html, ajax and css that you can incorporate into your web designs. If you missed part 1 you can see it here.
Tables with style - It might not seem like it but styling tabular data can be a lot of fun. From a semantic point of view, there are plenty of elements to tie some style into. You have cells, rows, row groups and, of course, the table element itself. Adding CSS to a paragraph just isn’t as exciting.
CSS Shadows - So for a couple of years now, folks have been trying to find ways to work around the fact that the box-shadow property from CSS3 seems to perpetually be just a few months away from actually appearing in Web browsers everywhere. Box shadows are a very common design element, and not being able to use them on the Web is a real pain in the ass.
Airtight Corners - Here’s a quick number on how to produce a box with rounded corners using only one image, and off-setting that image for each corner.
Collapsing Tables With DOM and CSS - Each of the tables below has a class called “footcollapse” which makes the script add the arrow images in the footer allowing the table to be collapsed and expanded.
3D Box Model Diagram - Here’s a thing. I’ve seen umpteen diagrams showing CSS beginners how padding, border and margin work together, but not the order in which elements such as background colour and image are stacked. To try and fill this hole, I’ve drawn a diagram.
Docking Boxes - Docking boxes (dbx) adds animated drag ‘n’ drop, snap-to-grid, and show/hide-contents functionality to any group of elements.
CSS Submit Button - For some time now we have all known about how you can treat a submit button as you would any tag when it comes to styling it with CSS, we can change its background colour, border and font styles using our trusty CSS.
PHP Style Switcher - For your style-sheet-switching pleasure, A List Apart offers the Switcher, a piece of JavaScript that dynamically changes page styles. Functional as it is, it quite unfortunately relies on the user to have both JavaScript and cookies enabled. There’s not much we can do about the cookies, but we can sidestep client-side processing with a little help from PHP.
Two Color sIFR - How to implement two color sIFR
Styled images with caption - The problem is a simple one. A client wants to add an image to their site via the content management system. They want it to look attractive, not appear too boxy (let us say they want a nice rounded corner, as this is all the rage) and have a nice caption underneath it. However, they do not know how to use an image editor (beyond basic resizing) or how to edit HTML.
Simple CSS Image Switcher - This is a pure CSS image switcher that is lightweight and standards-compliant. It could be used for a gallery or any similar function.
Dynamic Pie Chart with CSS - This is an example of creating a semi-dynamic pie chart without the use of server-side imaging libraries
Replicating a Tree Table - The aim is to replicate a graphic table tree using HTML
Listamatic - Can you take a simple list and use CSS to create radically different list options? The Listamatic shows the power of CSS when applied to a simple list.
Simple accessible external links - How to identify external links
CSS Element Hover Effect - Using css and html only
CSS Going to Print - You’ve seen them before: links that say “click here for printer-friendly version†or words to that effect. Every time you follow one of those links, you load a separate document that presents exactly the same information with a different layout, and probably different markup.
Drop Caps with CSS - The code for the dropcap is simple, but we can fancy it up a bit. We use the inline CSS for fiddling with the look.
CSS: Unordered List Calendar - This is a list boxes calendar. It isn’t the most semantic method, but it does seem to be faily stable and it resizes perfectly. A monospace font like Courier New must be used to ensure proper proportions and two characters must be used. Prepared with dynamic generation in mind.
Visited Links - Everyone does visited links differently. Jakob Neilson flunkies use the old school blue-and-purple combo to help show visitors where they’ve been. People with actual design taste use more palatable colors, or perhaps a font-weight variation instead.
Smart Back to top link - Back to top link’s purpose is to quickly position the viewport back to a beginning of a web page. Sometimes you have a variable height of the content and this link is unnecessary if a particular page is shorter than viewport height
Displaying percentages with CSS - In turning this part of the design into something flexible on the website I saw two options; clever CSS, or ‘Lots of Images’. I decided that ‘Lots of Images’ was a bad idea
Unobtrusive Sidenotes - Unobtrusive Sidenotes is a simple mix of Javascript and CSS that makes it ridiculously easy to incorporate sidenotes into your web pages or blogs.
CSS Cheatsheet - The CSS cheat sheet is designed to act as a reminder and reference sheet, listing all selectors (as of CSS 2.1) and properties. It includes a visual example of the box model, unit reference for CSS units and the various media types CSS makes allowance for.
CSS Navigation Techniques - A roundup of 37 different nav bars
Making money on internet is not a difficult task. Just buy domain name and the enough web space needed for a web site to come online. A striking as well as proper domain name with appropriate extension also increases the worth of the site. If the site is about banking or accounting than try directory submission in popular business directories. A higher ranked site along large number of visitors can also take part in affiliate marketing and make enough money through blog marketing as well.
Related Link: 642-812 Exam Questions That Prepare you for the CCNP Certification. 642-812 Test Exam Questions




























































Cool part 2 rocks just like part 1
[...] You might also be interested in our article on Killer Code Snippets for Web Designers [...]
nice how abot some javascript ones though
[...] Killer Code Snippets every Good Designer Should See 25 Killer Code Snippets every Good Designer Should See Round up 25 of the Best CSS, scripts, html and widgets that you can use on on your website or blog [...]
Spectafantasticular. And then some.
[...] 25 Code Snippets for Web Designers (Part2) [...]
Yes now Javascript please
[...] Source [...]
You might also be interested in our article on Killer Code Snippets for Web Designers
[...] 25 Code Snippets: 25 trucos para el diseño web [...]
Yes, another extra-useful list of snippets!
Thanks a lot!!
Let’s have some javascripts now!
[...] Snippets every Good Designer Should See Filed under: Uncategorized — recar @ 10:37 am 25 Killer Code Snippets every Good Designer Should See Round up 25 of the Best CSS, scripts, html and widgets that you can use on on your website or blog [...]
[...] social bookmarking site some days ago. (Don’t remember which) It is still useful, so here we go: » 25 Code Snippets for Web Designers (Part2) ::emp:: __________________ The blog: Blind Ape Seo ~~~~~~~~~~~~~~~~~~~~ Easy Domain Names | [...]
For the Javascript-wanters - check out our post on Ajax tutorials - loads there for you!
http://tutorialblog.org/100-ajax-tutorials-and-resources/
Good stuff… Thanks.
[...] read more | digg story [...]
[...] » 25 Code Snippets for Web Designers (Part2): 25 Code Snippets for Web Designers (Part2) [...]
[...] This is the link to part 2, with part 1 linked in the article. [...]
sifr3 allows for multiple colors, as well as varying styles and sizes.
http://novemberborn.net/sifr3
bravo!
Thank you very much for this list. It a definite must read for web designers and coders alike. Cheers.
[...] http://tutorialblog.org/25-code-snippets-for-web-designers-part2/ [...]
[...] CSS ile hazırlanmış 25 güzel kodlama. Link [...]
[...] » 25 Code Snippets for Web Designers (Part2) (tags: ajax blog css design javascript tutorial programming html webdesign) [...]
[...] 25 Code Snippets for Web Designers - handy pieces of html, ajax and css that you can incorporate into your web designsFiled under: css webdesign web2.0 webdev snippets for:hijacker [...]
[...] » 25 Code Snippets for Web Designers (Part2) Lleno de muchas cosas bonitas, como las supernenas (tags: css webdesign design tutorials) [...]
[...] » 25 Code Snippets for Web Designers (Part2) (tags: webdesign tips guide) [...]
thanx u, but how about css frameworks, code plz?
[...] 25 Code Snippets For Web Designers Related Comments Related [...]
[...] » 25 Code Snippets for Web Designers (Part2) 25 codigos uteis para webdesign (tags: Css webdesign design tutorials html snippets web code) [...]
[...] » 25 Code Snippets for Web Designers (Part2) (tags: css Design tutorials) [...]
[...] 25 Code Snippets for Web Designers (Part2) (tags: css WebDesign design tutorials snippets web html) [...]
[...] 25 Code Snippets for Web Designers (Part2) – Part 2 of our code snippets series takes a look at more handy pieces of html, ajax and css that you can incorporate into your web designs. [...]
[...] sobre las joyitas que se consiguen con CSS y JS, una recopiación de 25 recursos para usar en diseños Web. Marzo 18, 2007 miniblog, [...]
[...] 25 Code Snippets for Web Designers Part 2 Tutorialblog presents a few nice code goodies. [...]
Awesome collection. I custom built my own blog site and have been tweaking a few things here and there. These collections are great when looking for things to improve.
[...] http://tutorialblog.org/25-code-snippets-for-web-designers-part2/ [...]
[...] tutorialblog.org [...]
[...] 25 Code Snippets for Web Designers (Part2) TutorialBlog’s roundup of common CSS/Javascript components, snippets and techniques (tags: css javascript) This entry was written by Craig and posted on March 17, 2007 at 6:18 pm and filed under Bookmarks. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL. « links for 2007-03-16 links for 2007-03-18 » [...]
[...] » 25 Code Snippets for Web Designers (Part2) (tags: css webdesign) [...]
[...] 25 Code Snippets for Web Designers (Part2) Handy pieces of html, ajax and css that you can incorporate into your web designs. (tags: advice AJAX blog design gallery guide hacks howto Javascript Links link list lists programming Reference resource resources scripting script tips tricks tutorial tutorials usability web2.0 Web webDesign webmaster website work snippets HTML CSS) [...]
Thanks!
Especially for CSS Navigation Techniques.
[...] ЧаÑть 1 ЧаÑть 2 [...]
[...] sobre las joyitas que se consiguen con CSS y JS, una recopiación de 25 recursos para usar en diseños Web. MiniEnlaces, [...]
[...] 25 Code Snippets for Web Designers (Part2) Tags: dev web webdesign html css ajax javascript [...]
[...] 25 Code Snipets for web designers. [...]
[...] 25 Code Snippets for Web Designers [...]
[...] 25 Code Snipets for web designers. [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
Interesting comments..
[...] 25 Code Snippets for Web Designers An overview of useufl techniques and code snippets. There are loads of handy scripts, bits of html and widgets that you can incorporate into your websites and blogs - here we bring together 25 of the most helpfull in the first part of this series. 25 more code snippets can be found in the second part of the article. [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
[...] 25 Code Snippets for Web Designers (Part2) 25 Code Snippets for Web Designers (Part2) (tags: css webdesign design tutorials snippets html javascript) [...]
[...] Best CSS, scripts, html and widgets that you can use on on your website or blog (Part 2) …..read more | digg [...]
[...] AJAX Snippets April 18th, 2007 — sachinkraj After our code snippets for web designers series, I am presenting you with 25 Ajax tutorials and code [...]
[...] 25 Code Snippets for Web Designers An overview of useufl techniques and code snippets. There are loads of handy scripts, bits of html and widgets that you can incorporate into your websites and blogs - here we bring together 25 of the most helpfull in the first part of this series. 25 more code snippets can be found in the second part of the article. [...]
[...] resources for web designers so get them bookmarked! If you missed them, also check out part one , part two and part [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
I often refer my friends to Listamatic whenever a navigation list has to be styled
[...] things that are free and you’re free to play with. Tutorial blog has thus gathered not 1,2,3 but 4 perhaps more in further series of handy scripts, bits of html and widgets that you can [...]
Hi My Name Is ivauqx.
Good web site!!! Thank you for your job!!! I will recommend you to all my friends… Visit my site and add your comments
[...] read more | digg story [...]
I have seen snippets for web design part 1 but I didnt know part 2 was out already. Nice.
Sarah
[...] 25 Killer Code Snippets every Good Designer Should See [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
You can check out this web site and can get an idea how the CSS has been scripted…
[...] 25 Killer Code Snippets every Good Designer Should See [...]
[...] 25 Code Snippets for Web Designers (Part2) [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
This is exactly what I expected to find out after reading the title o.us poetry. Thanks for informative article
Jessie
Will you post on my comments too? Trying to make my site look popular lol
nice collection again, thanks…
[...] 25 Code Snippets for Web Designers CSS HTML - 25 code snippets para web (tags: CSS html) [...]
These are really easy to use
I read part1 and now part2, it is a good tutorial.
very nice thanx
nice collection again,thanks
gooodd veri veri :))))))
erotich hikaye
thanks a lot..
thanx for all nice
thanks for you
Ögretmenler Sitesi
I have seen snippets for web design part 1 but I didnt know part 2 was out already. Nice.
Sohbet
[...] read more | digg story [...]
thans your for all nice
[...] Best CSS, scripts, html and widgets that you can use on on your website or blog (Part 2) …..read more | digg story Similar posts: google [...]
[...] 25 Code Snippets for Web Designers (Part2) Handy pieces of html, ajax and css that you can incorporate into your web designs. (tags: advice AJAX blog design gallery guide hacks howto Javascript Links link list lists programming Reference resource resources scripting script tips tricks tutorial tutorials usability web2.0 Web webDesign webmaster website work snippets HTML CSS) [...]
[...] 25 Killer Code Snippets every Good Designer Should See [...]
25 killer good thanks
thanks i will use them.
[...] Square Corners with CSS 25 Killer Code Snippets every Good Designer Should See Tableless forms A Cool CSS Effect to Dim the Screen (Dashboard Style) Top 10 CSS image gallery [...]
I’ve tried to think it over and I guess this is just a rumor. I hate rumors that ruin private life so advise you not to believe it and leave your comments by yourself.