This is a discussion on "[SOLVED] css menu width issue" within the Web Page Design section. This forum, and the thread "[SOLVED] css menu width issue are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] css menu width issue
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] css menu width issue
Hi everyone.
Could somebody have a look at my menu that i have done in css.... http://www.design365.co.uk/sef/home.htm The image im using for the rollovers is 115 pixels wide but i dont understand why its not displaying the whole image. Any help would be appreciated. Thanks |
|
|
|
||||
|
Re: css menu width issue
add a display: block;
also ... instead of using 2 images, use only one and change it with the background-position property ... see this tutorial from the Creative Coding newsletter CSS Hover Effects |
|
|||
|
Re: css menu width issue
Hi Karinne, thanks for the tutorial its working ok.....
http://www.design365.co.uk/sef/home.htm theres just 2 things... 1. How do i position the text alongside the red square? 2. How do i push the whole menu left so its more centralised? Thankyou |
|
|||
|
Re: css menu width issue
Use this CSS code
#banner_middle { width:746px; margin:auto; } to align the banner to the middle of the screen so it flows with the container below. Aligning the text to be at the right of the square is a little more complicated. You need to look into 'line height' to vertically align the text and add some left padding to the 'li' to push it across. Last edited by Nortus; Nov 20th, 2007 at 09:20. |
|
|||
|
Re: css menu width issue
Hi Nortus, thanks for the advice but i want the banner to go all across. I just need to put the text in the right place in the buttons and move them all across.
|
|
||||
|
Re: css menu width issue
Link doesn't work anymore.
|
|
|||
|
Re: css menu width issue
Hi karrine.
Sorry new link.... http://www.design365.co.uk/sef/home.html How do i position the text? Nothing seems to be working for me lol |
|
|||
|
Re: css menu width issue
is anybody able to help? ive tried padding, margin, text align etc but the text isnt moving
|
|
||||
|
Re: css menu width issue
Make these changes
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Menu issue | mcdanielnc89 | Web Page Design | 5 | Feb 12th, 2008 07:06 |
| Drop down menu issue | Richowls | JavaScript Forum | 1 | Sep 17th, 2007 12:00 |
| width problem, menu appears 'squashed' | @lun | Web Page Design | 4 | Nov 18th, 2006 11:56 |
| Dropdown Menu Issue | greenphoenix | Web Page Design | 2 | Aug 22nd, 2006 20:17 |
| menu/list width question | swiftmed | Web Page Design | 3 | May 19th, 2006 13:05 |