Tips to create better CSS for your website
Posted on | February 19, 2009 | 2 Comments
Hello Friends,
If you are working as a web designer or web developer than you must interacting with CSS for creating website .
Here are some tips to create better Cascading Style Sheets ( CSS ) which might help you.
- Remove Padding and Margin from individual elements.
- Define styles for all basic elements . like.. Body , H1 , H2 , H3 , H4 , H5 , H6 , ul , ol , a ,p , div ..etc.
- Define styles for floating to the sides and remove margin bottom from element . (this may help for coding).
- Define basic element for layout. (e.g .. header , content , footer …etc)
- Define all elements for header , content , footer ..etc.
Cheers !!
Comments
2 Responses to “Tips to create better CSS for your website”
Leave a Reply





I am
March 1st, 2009 @ 8:42 pm
Really useful. Keep it up. Thamks.
March 1st, 2009 @ 8:44 pm
Online Hungama must go ahead. Nice effort to share your knowledge.