Adjust menu items to fit fixed page width?

2 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    349 posts
    Member since:
    Nov 2008

    Posted 04 Feb 2009 Link to this post

    I have implemented a horizontal menu with the skin 'black', and it 'almost' fills the page width.
    Really it would look much better if it fit 100% to the width, but setting the menu width property
    only adds the flat background colour, rather than stretching the buttons to fit.

    I could tweak font size to get the menu to fit in IE,  but then Safari shows the menu narrower,
    due to slight differences in the rendering of font sizes in CSS.

    One way to work around this would be to have the button 'image' as the menu background
    and allow it to fill the space. Is there a neat way do do this?

    Thanks for any help on this!

    Clive
  2. Yana
    Admin
    Yana avatar
    5013 posts

    Posted 05 Feb 2009 Link to this post

    Hello Clive,

    Please find attached a sample page showing the needed approach.

    Greetings,
    Yana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top