background preloader

Web Design

Facebook Twitter

12 Common CSS Mistakes Web Developers Make. Let’s get real for a second here. As far as web languages go, CSS is arguably the simplest. I mean, really, what could be easier than a simple list of properties affecting an element? And the syntax is almost like written English. Want to change the font size? But despite its deceptively easy exterior, CSS is one complicated system, especially when you’re doing it in a professional, high-scale, high-performance level. It’s easy to get tripped up with CSS. 1. Web browsers are our fickle friends. One of the sillier things browsers do is provide default styling for HTML elements. In any case, there’s rarely a case of two browsers providing identical default styling, so the only real way to make sure your styles are effective is to use a CSS reset. What a CSS reset entails is resetting (or, rather, setting) all the styles of all the HTML elements to a predictable baseline value.

There are many CSS reset codebases on the web that you can incorporate into your work. 2. #navigation a { ... } 14 Best CSS Editors for Web Designers & Developers. 20.1K Flares Twitter 25 Facebook 0 Google+ 0 StumbleUpon 20.1K Pin It Share 0 20.1K Flares × CSS definitely provides you the ease of changing the appearance of your entire website by just modifying a single file. What makes the entire process of changing the CSS files more easy is the use of CSS Editors. BestDesignTuts.com has brought to you 14 such CSS Editors which will cut half of the work load of every designer.

Other Interested Articles: Btw, for high quality brochure printing in full color at PsPrint.com Stylizer Stylizer is a web browser that creates CSS ridiculously fast. Stylizer lets you design CSS layouts in real-time right on a browser, without any loss in control. XylescopeXylescope transparently converts pages with markup errors in the source code into well-formed XHTML. Style MasterStyle Master is the leading cross platform CSS development tool. CSSEditWith CSSEdit, you see changes to your style sheet applied in real-time.

About Author Andrew Smith. 43 Web Design Mistakes You Should Avoid. By Daniel Scocco There are several lists of web design mistakes around the Internet. Most of them, however, are the “Most common” or “Top 10 mistakes.” Every time I crossed one of those lists I would think to myself: “Come on, there must be more than 10 mistakes…”. Then I decided to write down all the web design mistakes that would come into my head; within half an hour I had over thirty of them listed. Afterwards I did some research around the web and the list grew to 43 points. The next step was to write a short description for each one, and the result is the collection of mistakes that you will find below. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43.

Wanna make money with your own website? CSS Basics - Making Cascading Style Sheets Easy to Understand. Divitis: What it is and how to avoid it (Updated!) By Megan McDermott, 8 June 2011 - 2:38pm When developing your website in HTML, you might be tempted to use the <div> tag to sovle problems. Things not lining up in every browser? Maybe another containing <div> would help. Don't know how to select that particular element? Wrap a <div> around it! Unfortunately this can lead to divitis: weighty, convoluted code that is slow to load and difficult to maintain. This article will explain the problems with divitis habits and propose some practical solutions. This is an updated version of an article originally published in 2007. What is a Div? A div is an HTML tag used to group sections of an HTML document.

For more detail, read our article on What is a Div? What is Divitis? Divitis refers to the over-use of the div tag for purposes other than dividing a page into meaningful sections. The end result is a document full of nested div tags reminiscent of the old method of nesting tables. It also comes from a misunderstanding of what HTML is actually for. The 30 CSS Selectors you Must Memorize | Nettuts+ The Anatomy of a Stylesheet - CSS Hints & Tips | ProgTuts. CSS stylesheets, in my experience, are things that are often thrown or hacked together to make a website look a certain way without really caring much about how it is done. CSS is a very powerful tool when creating websites and this tutorial will hopefully show you how a little bit of structure and some CSS wizardry can make your stylesheets look and work a whole lot better.

As always I will say that the techniques described here are by no means the only way of doing these things and are not superior to any other alternative that you may use. These hints and tips are purely suggestions to help you structure and work with CSS stylesheets. Stylesheet Header and Global Reset First thing first I suppose. /*===================================================================== * * Filename: style.css * Website: www.exmaple.com * Author: Gilbert Pellegrom * Date Created: 18/8/2008 * Media: Screen * * Description * ----------- * Put an description of your stylsheet here. Shorthand IE6 Workaround. The Shapes of CSS. Learn Development at Frontend Masters CSS is capable of making all sorts of shapes. Squares and rectangles are easy, as they are the natural shapes of the web.

Add a width and height and you have the exact size rectangle you need. Add border-radius and you can round that shape, and enough of it you can turn those rectangles into circles and ovals. We also get the ::before and ::after pseudo elements in CSS, which give us the potential of two more shapes we can add to the original element. Square Rectangle Circle Oval Triangle Up Triangle Down Triangle Left Triangle Right Triangle Top Left Triangle Top Right Triangle Bottom Left Triangle Bottom Right Curved Tail Arrow via Ando Razafimandimby Trapezoid Parallelogram Star (6-points) Star (5-points) via Kit MacAllister Pentagon Hexagon Octagon Heart via Nicolas Gallagher Infinity via Nicolas Gallagher Diamond Square via Joseph Silber Diamond Shield via Joseph Silber Diamond Narrow via Joseph Silber Cut Diamond via Alexander Futekov Egg Pac-Man Talk Bubble TV Screen Lock.