SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Zealot MrDiaz's Avatar
    Join Date
    Dec 2005
    Location
    Ontario, Canada
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Positioning a background image.

    I have been wondering how can I do something like for a while now but no luck so far.

    Take a look at: http://www.planetdiaz.com/test/

    Now on the navigation menus, notice that there is a little arrow on the following texts: Programming, Web Discussions, and Hardware & Software

    However, this arrow is on top of the text and I would like it to be just at the left of the text, so it looks something like this:

    http://www.planetdiaz.com/test/test.gif

    Help?
    My Website:
    www.planetdiaz.com

  2. #2
    SitePoint Enthusiast ada80ro's Avatar
    Join Date
    Apr 2005
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try background-position:0 50%;
    You also have to apply some left padding to the paragraph so that the arrow doesn't overlap with the text.

  3. #3
    SitePoint Zealot MrDiaz's Avatar
    Join Date
    Dec 2005
    Location
    Ontario, Canada
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what does the first 0 stand for?
    My Website:
    www.planetdiaz.com

  4. #4
    SitePoint Zealot MrDiaz's Avatar
    Join Date
    Dec 2005
    Location
    Ontario, Canada
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got it! totally understand now. Thanks friend!
    My Website:
    www.planetdiaz.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
  •