Announcement Announcement Module
Collapse
No announcement yet.
website menu help (css) Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • skribe
    Reply to school project one pager
    skribe
    I think it is well executed. Especially for a school project. The roll overs are good, and I really like the eagle spreading its wings. The only thing that caught my eye was the label text on the banners...
    Today, 07:06 PM
  • KitchWitch
    Reply to Can anyone help identifying this script typeface?
    KitchWitch
    Hi Eann and welcome to GDF.

    We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't done anything...
    Today, 03:00 PM
  • Pat Angelo
    Reply to Laptop Bags
    Pat Angelo
    Yeah,go to shop and choose a suitable.
    Today, 01:32 PM
  • PrintDriver
    Comment on Christmas cards
    PrintDriver
    Yeah, it's too bad new designers don't know them.
    I had a couple sub-vendor printers go completely offline for two weeks in November due to a Christmas crush. They didn't take any new orders for...
    Today, 01:07 PM
  • PrintDriver
    Comment on Christmas cards
    PrintDriver
    You shouldn't be looking on google images... at least not without expecting to pursue permission to use the images. Google images is NOT a stock site, though some stock shows up in it.

    There...
    Today, 01:01 PM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • website menu help (css)

    http://www.jeremywisecup.com/mhsc09

    I was curious if someone could help me figure out how to get the menu to span the whole distance of the menu width. 500px is its css property, but instead of adding padding to each tab, i'd like them to just auto adjust to distribute themselves in the width of 500px.

    is this possible?

    I'm trying to get rid of the empty space on teh right side of the menu. the just blue area with no link.

  • #2
    Not possible with CSS alone
    Swedish Meatball Pornography

    Comment


    • #3
      what are possible options?

      Comment


      • #4
        You could try asking at www.webdesignforum.co.uk - they are mainly web designers/developers and if anyone knows someone there will (possibly!)

        Comment


        • #5
          Width:auto

          If I'm reading it right...
          “Pain is temporary. Quitting lasts forever.” Lance Armstrong

          Comment


          • #6
            give auto to which property?

            Comment


            • #7
              Width: auto is the default width setting of any block-level element, so no, that won't work.

              You could manage it with Javascript but I wouldn't know where to start with it.
              Swedish Meatball Pornography

              Comment


              • #8
                Have a read here: http://www.sohtanaka.com/web-design/...-w-css-jquery/

                Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

                Comment


                • #9
                  You first need to calculate the width of every list item.

                  You would then also calculate the width of the containing element.

                  Then you would subtract the the total width of all list items from that of the containing item.

                  From there you would then divide the the difference by the total number of list items.

                  You would then take that number and divide it by half to redistribute as padding to the left and right of each list item.

                  The only part that becomes somewhat tricky is resolving fractions.

                  I've written something to do this before in JavaScript, but only God would know where its located on my computer…

                  Comment

                  Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc.
                  Working...
                  X