SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    825
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    resposive nav -- getting even space betw links....

    oh man, I thought I was pretty getting good with responsive nav....;-)

    but I can't figure out how have even space between the links here...
    http://mayacove.com/dev/rd/nav2/resp_nav.html

    would appreciate suggestions...

    thank you...

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,584
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)

  3. #3
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,584
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)

  4. #4
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    825
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    thank you...

    interesting.. I had never seen this... do those calc: functions depend on Javascript?

  5. #5
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,584
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    The "calc" function is new in CSS3 and it not consistently supported. It is not a reasonable property to use for a production site at this time. No, it does not depend on JavaScript; it's CSS3.

    djeyewater's thread contains a good discussion describing a particular style of spacing horizontal menus. In the second thread, Paul adds other CSS choices including the popular "text justify" method. That's an especially informative thread because it is the contest in which the technique is thoroughly discussed.

    If you read through djeyewater's thread, you will come to a link to djeyewater's blog where he posted some very sophisticated JavaScript code. If that interests you, you can take it to the JavaScript forum and perhaps find a way to use it.

    Your post did not indicate much about what you want to achieve, so I posted some links where you can find a variety of horizontal menu spacing examples and maybe identify one that you want to replicate. Paul's code is already available in his posts, which makes it easy to harvest.

    Good reading and good luck.


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
  •