SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Terms and Conditions Page: hidden email address

    Hi guys, I am rolling out a terms and conditions page where I want to include a hidden from spammers, email address, the simplest solution for me was to create an image of the address, I am having trouble lining the image up with the text on the line, any css suggestions...

    Dave

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,477
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    We'd need to see the code but to line an image up you could probably just use vertical-align:middle on the image assuming it is an inline element.

    If you just need the image nudged a little horizontally then you could use horizontal margins or if you need a couple of pixels alignment vertically then add position:relative and top:-2px etc.

    It all depends on the content and structure but one of the above should work.

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul, that did the trick...

    Dave


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
  •