Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5958011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:28:57+00:00 2026-05-22T18:28:57+00:00

i am trying to make a menu of sorts. the code is available here:

  • 0

i am trying to make a menu of sorts.

the code is available here:
http://jsfiddle.net/Chumillas/WyA3U/
(thank you Chumillas for teaching me about this)

if you check the result via the link above, you will see that there is a design issue with this code – all visible menu items have to have the same length (75px) and this does not look beautify as the distances between them are uneven:

.titleCell
{
    width: 75px;

how can i fix it so that the length is actually that of the content (+padding) instead of having to fix it to 75px so that the distances between the menu items are THE SAME?

  • edit —

if it can not be done, i would be happy with a link to a similar thing online. thnx again

  • edit 2 —

if anyone wonders where i got this thing originally from: http://www.devinrolsen.com/css-hide-and-display-content/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:28:58+00:00Added an answer on May 22, 2026 at 6:28 pm

    You can remove position:absolute from .titleCell strong and change the padding-left to padding-right with a bigger value, something such as 40px. Also remove the width from .titleCell

    Here a demo: http://jsfiddle.net/ktCb8/

    As an advise, don’t apply rules for strong tag. Style the parent div or the parent li.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a menu based off of an asp.net sitemap. How do
I'm trying to make a menu using tags, and you can see it here,
So, I am trying to make a tabs menu, like this: http://flowplayer.org/tools/tabs/index.html (but i
http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm Hi, I'm trying to make a dropdown menu with only css. I don't
I have been trying to make the sub-menu horizontal. In my HTML it looks
I am trying to make a dropdown menu with pure html and css, but
I am trying to make a jquery menu that when I click on one
Trying to make a floating css menu. How do I get the floating div
I'm trying to make a drop down menu using javascript/jquery but can't get my
I'm trying to make one of the MenuItems on my Menu have a checkmark

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.