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
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts

    text not aligning correctly in IE7

    For some reason the title "Big Sky" and "Play Full Screen" are not aligned in IE7, but are in other browsers. Would someone know why? Thanks in advance. Link below


    Link: http://experiencemediaonline.gorilla...sky=1&expand=0

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,740
    Thanks
    22
    Thanked 1,837 Times in 1,821 Posts
    Hello eberdome,
    You position one and float the other. That float is acting like it should, you're just seeing the two different ways those browsers implement inline display.

    Try floating both instead, like this maybe -
    Code:
    span.video-title { 
    margin: 16px 0 0;
    float: left;
    font-weight: bold; 
    text-transform: uppercase; 
    }
    span.play-fullscreen { 
    margin: 16px 0 0;
    float: right; 
    font-weight: bold; 
    }
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    eberdome (04-02-2011)

  • #3
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts
    that worked perfectly. Thanks bud!!


  •  

    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
    •