Tips-A2Z home page


Sub-categories

(None)

All  |   Discussion (0)CSS

General CSS tips:
  • Keep it Simple: complex code will cause you a lot of trouble in the long-run. Concentrate on usability rather than fancy colors.
  • Margins and padding: take care with these on all elements that you use, as different browsers will use different default amounts of margin and padding.
  • Don't use "divs" for everything when a HTML element will do (eg, e.g. p, h1, h2, h3, h4, h5, h6, ul, ol, dl etc...)
  • Validate your CSS code: link    Kevin Solway (173)
  • – –– ——— –– –

    Useful snippets:
  • Fancy table borders: <table style=”border: 2px blue”>   Kevin Solway (173)
  • – –– ——— –– –


     


     

    To post a new tip, sign up for a free account.
    (Unfortunately this is a necessary spam prevention measure)

    Who is online
    In total there are 2 users online :: 0 registered and 2 guests (based on users active over the past 5 minutes)