[WEB4LIB] CSS help

Chris Gray cpgray at library.uwaterloo.ca
Tue Apr 23 15:23:41 EDT 2002


Try replacing "width: 16%" for a.nav with "padding-left: 3%;
padding-right: 3%".

Padding applies to all elements not just block-level elements.

Chris Gray
Library Systems
University of Waterloo

On Tue, 23 Apr 2002, Karen Knox wrote:

> Hello all!
> 
> I'm hoping some of you who are more CSS-knowledgeable might be able to help
> me on this one...
> 
> I've just learned CSS, with an intent to experiment with doing our library
> web site redesign using CSS.  This is what I've got:
> 
> 	http://novi.lib.mi.us/redesign/karen.htm
> 
> (It's just the one page...links won't take you anywhere...)
> 
> In IE, it looks beautiful...just perfect!  :)
> In NS 6.x, my horizontal navigation at the top "bunches" together - it
> doesn't recognize the spacing I've tried to do.
> In NS 4.x, it looks awful, which is expected...but if I could get it to look
> a little better, that'd be good.
> 
> Can anyone help me out?  I'm not familiar with what CSS is supported by
> which browsers.  And the NS 6.x problem really baffles me.
> 
> You can find my CSS at:
> 	http://novi.lib.mi.us/redesign/style/karenstyle.css
> 
> Thanks very much for any advice...
> 
>           Karen
> --------------------------------------------------------
> Karen C. Knox, MLIS
> kknox at tln.lib.mi.us
> Head of Systems & Technology
> Novi Public Library - Novi, Michigan
> 
> 




More information about the Web4lib mailing list