Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: centering and padding in horizontal menu

  • Subject: Re: centering and padding in horizontal menu
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Sun, 19 Mar 2006 08:58:43 +0000
  • Newsgroups: alt.html
  • Organization: schestowitz.com / MCC / Manchester University
  • References: <6d6c$441d0912$cf706e6e$10004@PRIMUS.CA> <b7eba$441d0981$cf706e6e$10004@PRIMUS.CA> <mi5q12tk8g574c75j2tqvp8t7u8el60pjq@news.spartanicus.utvinternet.ie>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ Spartanicus ] on Sunday 19 March 2006 08:25 \__

> Carolyn Marenger <cajunk@xxxxxxxxxxxx> wrote:
> 
>>I have fixed the problem with overlapping lines.  I still have two issues
>>with my horizontal menu.
>>
>>I have set the text alignment to center, however when the line wraps to a
>>new line, the first line is not centered.  There is more space to the left
>>edge than there is to the right.
>>
>>The second item is that the last item in the line, when wrapping has it's
>>padding and vertical border cut off.


I have extended your page to lie in a wide screen, but all items to lie in a
single line. There is still a larger gap on the left, so wrapping is not the
culprit.

I tried messing about with your stylesheet (using the Web Developer
extension) to no avail. I suspect that there is nothing too obvious that you
can do apart from extending the buffers to hide the imperfection of the
centering.


>>http://www.marenger.com/provinggrounds/horizmenu.html
>>
>>Any suggestions?
> 
> ul{padding:0;margin:0}


Oh, yeah! That mends it when appended to the stylesheet. *smile* Goog call,
Spartanicus.

Sorry to have contributed nothing to this thread!

Roy

-- 
Roy S. Schestowitz, Ph.D. Candidate in Medical Biophysics
http://Schestowitz.com  |    SuSE Linux     ¦     PGP-Key: 0x74572E8E
  8:50am  up 11 days  1:27,  10 users,  load average: 0.92, 0.97, 0.86
      http://iuron.com - Open Source knowledge engine project

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index