[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Help with Web design?



On Sat, Jul 11, 2009 at 3:06 PM, Peter Humphrey<peter@xxxxxxxxxxxxxxxxxx> wrote:
> 1.      If I press CTRL-<minus> in Firefox the row of buttons just below the
> header overflows onto a second line, but in Opera it behaves correctly.

Hi,
It looks like it's something to do with the total width of all the
buttons being too large. You may have better luck using a % width for
.hmenu li. IMO 12% looks good (just less than 100/8).

> 2.      I did have the row of buttons centred
> on ./pages/music.d/programme.html
> but something I've done has caused them to be flushed left.

Give .hmenu a width of 784px. Floated elements will always float to
the far left (or right) of their parent element.
You can then, if you wish, set a percentage width for .hmenu li.

Hope this helps,
Ezra.

_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html

GNU - The Choice of a Complete Generation