Reply to Re: centering and padding in horizontal menu

Your name:

Reply:


Posted by Roy Schestowitz on 03/19/06 10:58

__/ [ Spartanicus ] on Sunday 19 March 2006 08:25 \__

> Carolyn Marenger <cajunk@marenger.com> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация