473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

CSS - Dividing remaining whitespace in horizontal layed-out UL

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

Aug 7 '07 #1
1 2403
jorislindhout wrote:
Dear Reader,
You do know you're posting to Usenet, not some google forum, don't you?
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
Aug 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Wolfgang Jeltsch | last post by:
Hello, it is often convenient to insert whitespace into an XML document in order to format it nicely. For example, take this snippet of a notional DocBook XML document: <para> This is a...
0
by: Ian McCall | last post by:
Hello. How can I make an absolutely-positions div element expand and fill the remaining horizontal space available on-screen? The background is that I've used CSS to create the normal 'three...
65
by: Pmb | last post by:
I'm confused as to what the compiler error message I'm getting is refering to. Can someone take a gander and let me know what I did wrong? The program is below. When I compile it I get the...
3
by: Toby White | last post by:
I have a page in two, separately scrolling, columns. The second column contains a dictionary, with definitions for terms found in the first column, and I have the page set up such that when the...
0
by: Valerie Hough | last post by:
I have created an owner draw ListBox object. I have added an HScrollBar control to its Control collection. I have set the Anchor property to AnchorStyles.Bottom and the Dock property to...
0
by: Shan Plourde | last post by:
Hi everyone, I have been using various regular expressions with the ASP.NET RegularExpressionValidator for quite some time. In general it works very well. One of the common regex's that I use...
3
by: David Pratt | last post by:
Hi. I am splitting a string on a non whitespace character. One or more whitespace characters can be returned as items in the list. I do not want the items in the list that are only whitespace (can...
0
by: chrispforr | last post by:
I created a container div to hold all the index page’s content. I’m satisfied how the content is displayed within the container div; however, outside the container div, extra blank browser space...
9
by: amattie | last post by:
Does anyone have any idea on how I can strip the extra whitespace in the XML that shows up when I receive a response from an ASP.NET 2.0 webservice? This has been discussed before, but no one has...
25
by: Peter Michaux | last post by:
Hi, I'm thinking about code minimization. I can think of a few places where whitespace matters a + ++b a++ + b a - --b a-- -b when a line ends without a semi-colon in which case the new...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.