Results 1 to 1 of 1

Thread: Div Tag in A Tag

  1. #1
    Join Date
    Jun 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Div Tag in A Tag

    Hello.. Im using the Featured Content Slider, and i will to have in the buttons (<a class="toc">) text, and div..

    http://famous.g-patty.de/adix_united/

    Here on the right side of the News.. (the small news)

    Buts its not W3 valid.. how i can do it else?

    Code:

    HTML Code:
    <a class="toc" href="javascript:void(0);">
    	<div class="headlines_title_small">
        	<div class="headlines_rubric_small">$rubricpic</div>
            <div class="headlines_infos_small"><font class="headline_small_font">$headlines</font><br /><font class="headline_datetime_small_font">$date - $time - posted by </font><font class="headline_poster_small_font">$poster</font></div>
            <div class="clear"></div>
        </div>
    	<div class="headlines_content_small">$content</div>
    </a>
    I testet to give the <a tag display:block.. but its not valid (see here: http://validator.w3.org/check?uri=ht...Inline&group=0)

    SRY 4 my bad english
    Last edited by bulletproof91; 06-22-2010 at 12:48 PM.

Bookmarks

Posting Permissions

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