![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Murray *TMM* wrote: But on a horizontal menu, it's not necessary. You can not control the width or height of an inline element Hence .navlink a { width:175px; height:23px; } |
#12
| |||
| |||
|
|
depending on the parent element = the only way to fill up a cell :-) |
#13
| |||
| |||
|
|
Perhaps, if you want vertical menus. But on a horizontal menu, it's not necessary. And it might not even be necessary on a vertical one. |
#14
| |||
| |||
|
|
.oO(Murray *TMM*) Perhaps, if you want vertical menus. But on a horizontal menu, it's not necessary. And it might not even be necessary on a vertical one. The width and height properties do not apply to non-replaced inline-level elements. They apply to <img> for example (replaced element), but not to anchors. You would have to use line-height and padding instead. Micha |
#15
| |||
| |||
|
|
ranjan wrote: Murray *TMM* wrote: But on a horizontal menu, it's not necessary. You can not control the width or height of an inline element Hence .navlink a { width:175px; height:23px; } Display: block + padding + a few IE hacks depending on the parent element = the only way to fill up a cell :-) -- Al Sparber - PVII http://www.projectseven.com Dreamweaver Extensions - DesignPacks - Tutorials - Books --------------------------------------------------------------------- The PVII Newsgroup | news://forums.projectseven.com/pviiwebdev The CSS Newsgroup | news://forums.projectseven.com/css --------------------------------------------------------------------- |
#16
| |||
| |||
|
|
Thanks, guys. I thought incorrectly then.... |
#17
| |||
| |||
|
|
Murray *TMM* wrote: Thanks, guys. I thought incorrectly then.... Ne-ne-ne-ne-ne-neeeee ;-) -- Dan Vendel - *GOF* Contact me directly at http://contact.vendel.info Formmail tutorial at http://www.vendel.info/tut/formmail.html Nested table demonstration at http://www.vendel.info/tabletut/ Search Engine Optimization & Rank Control Utility at http://awr.vendel.info Search Dreamweaver newsgroup at http://www.vendel.info/google.html |
#18
| |||
| |||
|
|
Bullocks (my new favvy word). |
#19
| |||
| |||
|
|
Don't you mean "bollocks"? "favvy" ?? |
#20
| |||
| |||
|
|
Mick White wrote: Don't you mean "bollocks"? "favvy" ?? Yes, thanks for correction. "favvy" or "favvie" is a "cool" word we youngsters use, so don't worry about it.<g -- Dan Vendel - *GOF* Contact me directly at http://contact.vendel.info Formmail tutorial at http://www.vendel.info/tut/formmail.html Nested table demonstration at http://www.vendel.info/tabletut/ Search Engine Optimization & Rank Control Utility at http://awr.vendel.info Search Dreamweaver newsgroup at http://www.vendel.info/google.html |
![]() |
| Thread Tools | |
| Display Modes | |
| |