CSS/ web design
sugatshr
- Not closing a div or adding unnecessary closing div
- Leaving out the ending semi colon or misplacing semi colon.
Eg. .ml {float:left }; instead of .ml {float:left; }
- Not including “#” on color attributes.
Eg: color:efefef instead of color:#efefef
- Typing id and class name differently in CSS file and HTML file..
- Spelling an attribute incorrectly.
Eg: backgound for background
- Confusing order of attribute.
Eg: top-padding for padding-top
- Forgetting to clear floats.
- Leaving out the margin:0 on heading tags.
- Having the width of an element but not taking into account padding.
- Forgetting outline attributes on input fields and buttons.
Post Views: 430