Notable CSS Tips

9
Feb

I found a CSS tip today that was new to me. You can find it as the last item on this CSS Validation Advanced Tips page.

Incase the link ever changes. The tip is to use: element * [att] (p * [href]) to target an element with the specified attribute on it. Targeting any p element with the attribute 'href' on it. Pretty nifty.

written by jackson

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <pre>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

CAPTCHA
Complete this form and then pat yourself on the back.