[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

css li height width issue

I think I just need some fresh eyes here: http://getwordpressed.com/testing1/

Can someone give me a hand on the menu at the top? I can't seem to force the height and width of the <li> tags. The id is #menu. The height should be 41px and width 112px so the background image displays correctly. (I removed all my attempts at setting the height and width. No matter how or where I put them, the size doesn't change.)

I haven't set the font yet, but it will need to stay centered with equal padding so that the buttons with two words breaks into two lines.
0
Dzynit
Asked:
Dzynit
  • 3
  • 2
1 Solution
 
pvlierCommented:
try clearing the
LI
  {
  display : inline
  }
to
LI
  {
 
0
 
pvlierCommented:
sorry, got cut off

LI
  {
  float: left;
  }
0
 
pvlierCommented:
Summary:
#menu LI
  {
  background-image: .....
  float: left;
  width: 112px;
  height: 41px;
  text-align: center;
  }
0
 
DzynitAuthor Commented:
Yep, that did the trick. Thank you very much!
0
 
DzynitAuthor Commented:
Thanks much!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now