SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast tide's Avatar
    Join Date
    Mar 2005
    Location
    Hawaii
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    span vert. alignment issue

    I'm having a problem with vertically aligning a span tag. Maybe I'm doing this all wrong, but it's the only way I could figure out to do it and have the gradated box appear correctly.

    Here's the link.

    http://miraclecord.com/test1.html

    My goal is to get the price on the right to be centered in the box the same way as the head is. It works fine in Safari but not in Firefox in IE.

    Any suggestions?

    Thanks.

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,711
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    If you ste up your HTML like this
    Code:
    <h4><span style="float:left;color:#FFF">Head One</span><span>$1,475</span></h4>
    It will work...move the styles to a class of course.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Enthusiast tide's Avatar
    Join Date
    Mar 2005
    Location
    Hawaii
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Of course, why didn't I think of that. Thanks so much.

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,711
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Your welcome . If you have any more questions just ask.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


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
  •