SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2010
    Posts
    143
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Left alignment ?

    Hello dear skilled javascript developers,

    I need your wisdom on a little thing here :-)

    I have this page http://www.europasprak.com/engine/mo...isePageId=3804

    And I wonder why the tabs: La nationalité des personnes célèbres Exercice Exercice 2
    are appearing on the right (as seen on Firefox and Chrome) on not on the left as they should.

    Any clue ?

    Thank you !

    Stephane

  2. #2
    SitePoint Addict
    Join Date
    Apr 2011
    Posts
    265
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    It is added to right because it is se to much space on the left, to the container Div.
    The Div with class="slider" has set left: 241px;.
    Try change that value in css, or overwrite it to that Div.
    Free: Web Programming Courses HTML, CSS, Flash
    Web Programming: AJAX Course and PHP-MySQL Course video Lessons
    Good JavaScript and jQuery course for beginners

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    You have this inline CSS on the div container:

    Code:
    <div class="slider" style="-webkit-perspective: 1000px; -webkit-backface-visibility: hidden; position: relative; cursor: default; width: 349px; overflow: hidden; -webkit-transform: translateX(241px);">
    That is moving the div 241px away from the left hand side, so just remove that.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


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
  •