Best way to learn CSS?

Out of context: Reply #44

  • Started
  • Last post
  • 64 Responses
  • Projectile0

    ok checkit- I'm gonna use this thread for silly questions now.

    For example.. want to try having some menu buttons as a span or a tag so they'll be in line. But there's padding. I even tried to specify no padding
    css:
    .menupad {padding: 0px}

    HTML:
    <a><img src="images/TabMenu2.gif"></a>
    <a style="menupadding"><img src="images/TabMenu2.gif"></a>

    There is still about 4px of padding. Will this always happen? Should I usually create float-left divs? when's a good time to use spans and a tags?

    • css = menupadding not menupad so it should workProjectile
    • <a class="menupadding">
      ********
    • <a class="menupad">janne76
    • a class="menopause"ukit

View thread