Announcement

Collapse
No announcement yet.

website menu help (css)

Collapse
X
  • 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

                  Search

                  Collapse

                  Sponsor

                  Collapse

                  Incredible Stock

                  Latest Topics

                  Collapse

                  • salsa
                    Reply to Feedback on Beer Bottle Designs
                    salsa
                    The fonts are different. Were you able to get the same typeface that was used on the originals? I think it would make them look even more consistent, like they were designed at the same time, if you can...
                    Today, 01:39 PM
                  • GDFundamentals
                    Reply to Personal rebranding: feedback please
                    GDFundamentals
                    Hi, usually I try to get inspirired by other logos in the same industry. Pinterest is a very good resource for that. I've seen that a lot of photographers use their initials also & they add some photographic...
                    Today, 10:28 AM
                  • DesignHorse
                    Photoshop 3d render photographs and product 3d packaging
                    DesignHorse
                    Hi i want to learn 3d render photographs so they sort of popping out of the picture, and also want to learn product packaging. Im a seller on Amazon.com and i would like to do the 3d render and packaging...
                    Today, 10:04 AM
                  • Carlo
                    Comment on Illustrator - This Logo - HOW TO?? HELP!
                    Carlo
                    I don't think that a gradient has been applied. So I would use the Blend tool and change the spine to a spiral. Tp make it fit cut with the scissors on an endpoint to mak th circles fit the spiral an...
                    Today, 09:56 AM
                  • PrintDriver
                    Reply to Plumbing website design
                    PrintDriver
                    Site doesn't load....
                    Today, 08:10 AM
                  GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright © 2016 Mediabistro Holdings
                  Working...
                  X