Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > horizontal menu line wrapping issue

Reply
Thread Tools

horizontal menu line wrapping issue

 
 
Carolyn Marenger
Guest
Posts: n/a
 
      03-18-2006
I can't get my head around a line wrapping problem. I have a horizontal
menu in which each link is a clickable box. When there are enough items in
the menu, the boxes wrap to the next line. The problem is, there is not
enough vertical distance between the lines, resulting in boxes that
overlap.

Before you go further - I know, the colours are a bit on the glaring side.
I am working on the layout, then I will make it a little more asthetic.

http://www.marenger.com/provinggrounds/horizmenu.html

Thanks!

Carolyn
--
Carolyn Marenger

 
Reply With Quote
 
 
 
 
Spartanicus
Guest
Posts: n/a
 
      03-18-2006
Carolyn Marenger <> wrote:

>I can't get my head around a line wrapping problem. I have a horizontal
>menu in which each link is a clickable box. When there are enough items in
>the menu, the boxes wrap to the next line. The problem is, there is not
>enough vertical distance between the lines, resulting in boxes that
>overlap.


http://www.w3.org/TR/CSS21/visudet.h...ef-line-height

--
Spartanicus
 
Reply With Quote
 
 
 
 
Carolyn Marenger
Guest
Posts: n/a
 
      03-18-2006
Thanks, it is now working.

Carolyn
--
Carolyn Marenger

 
Reply With Quote
 
Carolyn Marenger
Guest
Posts: n/a
 
      03-18-2006
Spartanicus wrote:

> Carolyn Marenger <> wrote:
>
>>I can't get my head around a line wrapping problem. I have a horizontal
>>menu in which each link is a clickable box. When there are enough items
>>in
>>the menu, the boxes wrap to the next line. The problem is, there is not
>>enough vertical distance between the lines, resulting in boxes that
>>overlap.

>
> http://www.w3.org/TR/CSS21/visudet.h...ef-line-height
>


Thanks, I figured it would be something that simple. One day, I expect to
know the whole standard - by then it will probably be out of date.

Carolyn
--
Carolyn Marenger

 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      03-19-2006
In article <ada41$441c6628$cf704e6e$>,
Carolyn Marenger <> wrote:

> I can't get my head around a line wrapping problem. I have a horizontal
> menu in which each link is a clickable box. When there are enough items in
> the menu, the boxes wrap to the next line. The problem is, there is not
> enough vertical distance between the lines, resulting in boxes that
> overlap.
>
> Before you go further - I know, the colours are a bit on the glaring side.
> I am working on the layout, then I will make it a little more asthetic.
>
> http://www.marenger.com/provinggrounds/horizmenu.html



Yes, this was an issue that was troubling me too in a different
thread, I used line-height in the css to control this behaviour
and also hopefully to try to control the length of the vertical
border, acting as separator. It was good for former to make
things more graceful on wrap but I am still not quite pleased
with the height (it is too tall!) The two aims seem to clash re a
line heighty solution. Bigger line height gives more grace on
wrap but exacerbates the separator height issue. I need to think
more about this.

http://dorayme.150m.com/test/waywardKing.html

But I am not totally happy, I think I was getting more graceful
looks in the old way I used to do this: by "|" (the shift + \
key) which was letter height and just what I wanted! But I have
already had a late night knock on the door from the new css/html
police and prefer to avoid a repeat...

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu items alignment for a horizontal menu Emil ASP .Net 1 12-11-2007 12:01 PM
Horizontal menu with same width menu items Hoa ASP .Net Web Controls 0 08-30-2006 02:31 AM
Horizontal 2-line Menu? Arnold Shore Javascript 1 03-26-2006 03:29 PM
Horizontal Menu Navigation Web Control - Spaces Between Menu Items Philip ASP .Net Web Controls 1 03-21-2006 01:55 PM
Horizontal Menu and Sub menu in asp.net 2.0 itzikkl ASP .Net 0 03-27-2005 12:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57