1. Welcome to DNTrade. If you want to find out about the latest domain name industry news or talk, share, learn, buy, sell, trade or develop domain names - then you've come to the right place. It's a diverse and active community, with domain investors, web developers and online marketers - and it's free! Click here to join now.
    Dismiss Notice

Calling all web development experts!

Discussion in 'Web Development' started by Webfunk, Oct 19, 2011.

  1. webdeal

    webdeal Membership: Community

    Joined:
    Oct 22, 2011
    Messages:
    48
    Likes Received:
    0
    always glad to help....
     
  2. Webfunk

    Webfunk Membership: Community

    Joined:
    Apr 12, 2011
    Messages:
    129
    Likes Received:
    0
    If my menu is an unordered list, and I have each list item based on a percentage of the browser width, how would I center an image horizontally within the list item? margin: 0 auto; won't work. Nor does text-align: center;

    Is there a way of doing this?
     
  3. webdeal

    webdeal Membership: Community

    Joined:
    Oct 22, 2011
    Messages:
    48
    Likes Received:
    0
    try the following

    Code:
    
    <ul>
    <li><div id="abcxyz">Home</div></li>
    <li><div id="abcxyz">About</div></li>
    <li><div id="abcxyz">Contact</div></li>
    </ul>
    
    
    and use image as a background of <div> and center it through style
     
  4. Webfunk

    Webfunk Membership: Community

    Joined:
    Apr 12, 2011
    Messages:
    129
    Likes Received:
    0
    I've gone a different avenue, but thanks for the tip. Didn't even think about making it a background img!
     
  5. Webfunk

    Webfunk Membership: Community

    Joined:
    Apr 12, 2011
    Messages:
    129
    Likes Received:
    0
    Hey webdeal,

    While I gotcha, any idea how to make those arrows (next to the sliding banner) stick to the edge of the list item? At the moment I have them position with absolute properties but I'd prefer for them not to move with the browser.
     
  6. webdeal

    webdeal Membership: Community

    Joined:
    Oct 22, 2011
    Messages:
    48
    Likes Received:
    0
    need to see what u got at the moment...show in live
     
  7. Webfunk

    Webfunk Membership: Community

    Joined:
    Apr 12, 2011
    Messages:
    129
    Likes Received:
    0
  8. sp@rky13

    sp@rky13 Membership: Community

    Joined:
    Apr 5, 2011
    Messages:
    464
    Likes Received:
    0
    Wouldn't you just put change the position of it. You may need to use a negative number
     
  9. Webfunk

    Webfunk Membership: Community

    Joined:
    Apr 12, 2011
    Messages:
    129
    Likes Received:
    0
    I think the issue is my lack of knowledge of javascript and the way the widget is built.
     
  10. Webfunk

    Webfunk Membership: Community

    Joined:
    Apr 12, 2011
    Messages:
    129
    Likes Received:
    0
    UPDATE

    I have made some changes to the site over the last day or 2, most noticeably it is now liquid scrolling. What do you think?
     
  11. sp@rky13

    sp@rky13 Membership: Community

    Joined:
    Apr 5, 2011
    Messages:
    464
    Likes Received:
    0
    I was saying in terms of css

    EDIT: And it'd probably need to be set to relative