Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Re: CSS navmenu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 361 of 439
Post > Topic >>

Re: CSS navmenu with CSS sidepop tooltips: works, mostly, but =bizarre=

by Jim Moe <jmm-list.AXSPAMGN@[EMAIL PROTECTED] > Aug 30, 2005 at 12:33 AM

dave wrote:
> 
> problem IS, though: when I made the tooltip "spans inside the li's", I 
> must'a did something really wrong, 'cause somewhere the code (or the 
> CSS) is generating "extra blank table cells" in the left navigation menu

> (and those cells aren't there in the code). to top it all off, the page 
> validates perfectly, AND the CSS validates 100% as well...
> 
   Validation has little to do with correctness. It is only a first step.
   "#sidebar ul li a { ... }" creates a box for every <a> element. The 
first two <li>s have two <a>s in them. Thus a box for each one.

Change
  #sidebar ul li {
    list-style-type: none;
  }
  #sidebar ul li a {
    border-color: #4174A3;
    border-style: solid;
    border-width: 1px;
    width: 200px;
    height: 20px;
    padding-left: 10px;
    margin: 2px auto 1px auto;
    display: block;
  }

To
  #sidebar ul li {
    list-style-type: none;
    border-color: #4174A3;
    border-style: solid;
    border-width: 1px;
    width: 200px;
    height: 20px;
    padding-left: 10px;
    margin: 2px auto 1px auto;
  }
  #sidebar ul li a {
    display: block;
  }

-- 
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)




 3 Posts in Topic:
CSS navmenu with CSS sidepop tooltips: works, mostly, but =bizar
dave <tool_box@[EMAIL   2005-08-29 20:57:29 
Re: CSS navmenu with CSS sidepop tooltips: works, mostly, but =b
Jim Moe <jmm-list.AXSP  2005-08-30 00:33:26 
Re: CSS navmenu with CSS sidepop tooltips: works, mostly, but =b
Rincewind <the_rincewi  2005-08-30 10:55:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 7:06:28 CDT 2008.