

|
 |
| Programming > Html Tags > Re: CSS navmenu... |
|
| << 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:
|
dave <tool_box@[EMAIL |
2005-08-29 20:57:29 |
|
Jim Moe <jmm-list.AXSP |
2005-08-30 00:33:26 |
|
Rincewind <the_rincewi |
2005-08-30 10:55:28 |
|
Post A Reply:

|
|
|
|