Treehouse: Grow your CSS skills. Land your dream job.

One letter ID or Class names?

  • # November 29, 2012 at 8:30 pm

    Hello All,

    Curious to know If using a one letter ID or class name is considered bad practice. Could it have any issues in older browsers?

    # November 29, 2012 at 8:32 pm

    Terrible practice. What could `

    ` possibly mean to anyone?
    # November 29, 2012 at 8:50 pm

    For my purpose it would only be used one time for a “clear” type situation

    # November 29, 2012 at 8:57 pm

    Still give it relevance to its use.

    # November 29, 2012 at 9:00 pm

    Ok, Thanks for the help/input guys

    # November 29, 2012 at 9:22 pm

    While it my be for your purpose only, it leads to bad habits, and then you might find yourself doing it when working in a team. I’d ajust avoid it altogether.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.