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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2009
    Location
    Orange County, CA
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    having trouble w/ some basic h1 styling...!

    Hello everyone! I am currently coding an html email that needs to be built in tables. I've done a lot of these, but all of a sudden I'm stumped w/ something. When I put text in over a background image the text seems to want to be centered vertically by default (or so it seems) as opposed to being at the top of the cell. Need help fast! thanks.

    see the email at:
    http:www.f7digitaldesign.com/dtc

    You'll see my CSS (for h1) in the source code of the document)

    Thanks!

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by f7brian View Post
    Hello everyone! I am currently coding an html email that needs to be built in tables. I've done a lot of these, but all of a sudden I'm stumped w/ something. When I put text in over a background image the text seems to want to be centered vertically by default (or so it seems) as opposed to being at the top of the cell. Need help fast! thanks.

    see the email at:
    http:www.f7digitaldesign.com/dtc

    You'll see my CSS (for h1) in the source code of the document)

    Thanks!
    You need vertical-align:top; in your CSS for the table cells. Let me know if that doesn't sort it out.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


  •  

    Tags for this Thread

    Posting Permissions

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