Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Hyperlink a div

  1. #11
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    346
    Tokens
    0

    Default

    Oh right lmao.
    I am Bojangles =]




  2. #12

    Default

    Quote Originally Posted by Plux View Post
    He's a lazy idiot who can't google.

    Edited by jesus (Forum Super Moderator): Please do not insult other members.
    ey new username eh?

    Edited by Hitman (Forum Moderator): Please don't post offtopic, thanks.
    Last edited by Hitman; 17-03-2008 at 11:53 PM.

  3. #13
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Quote Originally Posted by Plux View Post
    You always post your crap here, it's easy to google a problem.
    But you persist posting here? :S
    Do we really need the negitivety? At first glance most people would instinctively try a link tag around a div. Obviously he tried this and it didn't give him the desired result so he went looking for a better way. Is it a crime to seek help in the 'Design & Development' from [some] knowledgeable members?

  4. #14

    Default

    Why don't you jsut use the a tag and set the button as the background and the display to block?
    Code:
    .button a
    {
    display: block;
    height: ;
    width: ;
    background: url('path/to/image');
    }
    
    <a href="#" class="button"></a>

Page 2 of 2 FirstFirst 12

Posting Permissions

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