Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2011
    Posts
    39
    Thanks
    18
    Thanked 0 Times in 0 Posts

    expanding clickable area of a text link..

    hi,

    is it possible to make a simple text link and expand the clickable area around it, especially the height.. without changing the font size..

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,277
    Thanks
    28
    Thanked 272 Times in 266 Posts
    Quote Originally Posted by ali haydar View Post
    is it possible to make a simple text link and expand the clickable area around it, especially the height.. without changing the font size..
    a { display: inline-block; height: 2em; }?
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • Users who have thanked Arbitrator for this post:

    ali haydar (02-12-2012)

  • #3
    New Coder
    Join Date
    Nov 2011
    Posts
    39
    Thanks
    18
    Thanked 0 Times in 0 Posts
    yes, thank you very much..


    i used padding instead of height, for the record..
    a {display: inline-block; padding:2em;}


  •  

    Posting Permissions

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