Results 1 to 2 of 2
  1. #1

    XHTML Text Formatting

    I've got this block of text that needs to have a CSS formatting class applied to it, but it also is hyperlinked

    PHP Code:
    <div class="images-related-text-title"><a href="">Yahoo Link</a></div
    The text formatting (color change, font, size, etc) works if I put the <DIV> tag inside of the <A> tag, but that isn't XHTML compliant. If I put the <DIV> tag outside of the <A> tag (like it is now), then the css doesn't apply and the text gets formatted like a link.

    How can I get this link to format the way I want it to?
    TextAdMarket -
    Supply & Demand Advertising

  2. #2
    you define .images-related-text-title a{your style}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts