|
Posted by darwinist on August 3, 2006, 2:38 am
Please log in for more thread options
Number 11950 - GPEMC! Replace number with 11950 wrote:
> >
> > Number 11950 - GPEMC! Replace number with 11950 wrote:
> > > The inset & colour change does not apply to the entire DIV instead of
> just
> > > to the hyperlink itself. See www.geoceanis.com for this little
> catastrophe!
> >
> > Haven't hacked on your example myself, but the usual fix is to set
> > a { width: 100% }
> [SNIP]
>
> Tried setting
> a { display: block; }
>
> this seems to do the trick...
>
> What is the significance of setting
>
> -a { display: block; }
> OR
> a { display: block; }
> OR
> +a { display: block; }
I've had the same problem, it took me a while to discover how useful
"display" can be:
block: separate entity, line break before and after
inline: part of a paragraph or whatever, no auto-line breaks
none: hide the element entirely, great if you like rich-clients (pop-up
menus, etc).
display:none has important differences from visibility:hidden. Found a
good, brief, working explanation here:
http://www.devx.com/tips/Tip/13638
hth
> ???
>
> I've seen this use of "+" & "-" in certain stylesheets but haven't a clue as
> to intended function...
>
> Thanks in advance...
>
> --
> Timothy Casey GPEMC! >> 11950 is the number@fieldcraft.biz 2email
> Terms & conditions apply. See www.fieldcraft.biz/GPEMC
> Discover valid interoperable web menus, IE security, TSR Control,
> & the most advanced speed reading application @ www.fieldcraft.biz
|