![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to build a CSS driven nav.. basically href links that have a dotted line under each item, and the entire "button" (not sure if I should make that a table cell or what) changes color appropriately.. I can set DW so that the href text changes color, but not the entire space around it.. |
#3
| |||
| |||
|
|
On Tue 09 Nov 2004 04:16:40p, _Adrian wrote in macromedia.dreamweaver: I want to build a CSS driven nav.. basically href links that have a dotted line under each item, and the entire "button" (not sure if I should make that a table cell or what) changes color appropriately.. I can set DW so that the href text changes color, but not the entire space around it.. Set display to block in css: a { display : block ; ... } For the dotted underline, you need to set text decoration to none, and the bottom margin to dashed: a { text-decoration: none; margin-bottom: 1px dashed lime; } However, this conflicts with your earlier desire to make the entire container for the link clickable. It will make the bottom margin of the entire block a dashed line, not just the space under the linked text. |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
This works great Joe, but I'm wondering now if there's a way to have a secondary <a> reference in my style sheet that doesn't use the block property, while not screwing up the existing <a> CSS? |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |