HighDots Forums  

CSS - Dividing remaining whitespace in horizontal layed-out UL

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss CSS - Dividing remaining whitespace in horizontal layed-out UL in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jorislindhout
 
Posts: n/a

Default CSS - Dividing remaining whitespace in horizontal layed-out UL - 08-07-2007 , 01:07 PM






Dear Reader,

I'm trying to make a text-based menu which has a drop-shadow effect.
I've accomplished this through a list for which the items consist of
two p's: one for the normal text, and one (with a negative margin,
thank you alp.com) for the shadow effect.

That all works pretty well, but now the different list-items are layed-
out so that they all have an equal space within the horizontal menu. I
would like the whitespace between them to be equal (so the menu
becomes more or less fluid).

link: http://beautifulcity.de/menutest.htm

In the css from the above link I've set the width's in the menu to
fixed px's, just as I had it before I started experimenting. I
understand this is for sure not gonna work, but it's just to have a
clear stylesheet.

Thanks & best,

Joris Lindhout


Reply With Quote
  #2  
Old   
Bergamot
 
Posts: n/a

Default Re: CSS - Dividing remaining whitespace in horizontal layed-out UL - 08-07-2007 , 02:41 PM






jorislindhout wrote:
Quote:
Dear Reader,
You do know you're posting to Usenet, not some google forum, don't you?

Quote:
I'm trying to make a text-based menu which has a drop-shadow effect.
That all works pretty well
http://beautifulcity.de/menutest.htm
The positioning of the "shadow" doesn't look so nice to me. It impairs
readability, especially with the middle link because it wraps to 2
lines. If you don't see that, zoom text up some in Firefox.

It is also an accessibility issue, since the text for each link is there
twice. It won't sound good to a screen reader, or look "right" when CSS
isn't applied.

If you want shadows, I suggest using graphics. There isn't any benefit
to the user trying to do this with plain text.

--
Berg


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.