horizontal menu widget
-
- Experienced User
- Posts: 147
- Joined: Tue Jun 17, 2014 4:00 pm
- First Name: Patti
- Last Name: Bednarz
- Company Name: McGard
- State / Province: New York
- Country: United States
- Contact:
horizontal menu widget
I am dynamically loading the choices for a horizontal menu widget. The sizing was a little tricky, but I got it to display properly under Internet Explorer. However, when a user runs under Chrome, the menu choice text is barely readable. It there any way to get the menu to display legibly under either browser? I am attaching examples along with my definition. Thank you, Patti
- Attachments
-
- menuchoice.docx
- (154.22 KiB) Downloaded 61 times
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: horizontal menu widget
All browsers will render slightly differently. In this case, Chrome thinks there is not enough room to fit the options in the width you've set, so it adds the scroll bar. There are a few things you can try.
1. The simplest would be to just make the menu widget a little bit wider.
2. You could also set the "overflow x" property to "hidden". This would prevent the scroll bar from appearing, but would also cut off anything that would not fit in the width of the menu.
3. Since your content is dynamic, a better option may be to remove the "width" property on the menu widget. Doing this will make it size itself to whatever contents you set. If you need it to line up with the right side of the grid below it, just let the position using the "right" property instead of the "left".
1. The simplest would be to just make the menu widget a little bit wider.
2. You could also set the "overflow x" property to "hidden". This would prevent the scroll bar from appearing, but would also cut off anything that would not fit in the width of the menu.
3. Since your content is dynamic, a better option may be to remove the "width" property on the menu widget. Doing this will make it size itself to whatever contents you set. If you need it to line up with the right side of the grid below it, just let the position using the "right" property instead of the "left".
-
- Experienced User
- Posts: 147
- Joined: Tue Jun 17, 2014 4:00 pm
- First Name: Patti
- Last Name: Bednarz
- Company Name: McGard
- State / Province: New York
- Country: United States
- Contact:
Re: horizontal menu widget
Thank you Brian. I tried #3. It works a lot better!
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: horizontal menu widget
Glad I could help.
Who is online
Users browsing this forum: No registered users and 15 guests