SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2013
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need to use text-align: right AND text-indent: -9999px.

    Hello!

    Here's the site I'm working on: http://goo.gl/VI4OSy

    I added text-align: right to the div (.top-menu .wrap) that's holding the menu at the very top (about, contact, advertise, overwhelmed? start here, and submit freebies & deals). As a result, the text-indent: -9999px on the last two links (overwhelmed, submit freebies) isn't working.

    Is there a way around this or a better way to do this? The positioning is perfect. Now I just need the text to go away on those 2 buttons.

    Thanks for any ideas!

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Various things you could do there, probably neater than this, but it works:

    Code:
    .top-menu .widget_nav_menu li.overwhelmed a, .top-menu .widget_nav_menu li.submitfreebies a {text-align: left;}
    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."

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2013
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, thank you so much! I had tried adding text-align: left, but to the wrong section. I was trying to add it to the li a. Thanks again!!

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    You're welcome. Glad to help.
    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
  •