Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Styling of Menu Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GeoffreyD - 25 Oct 2007 22:02 GMT
Hi

I am working together with an artist who is familiar with CSS and HTML, but
we seem to be struggling with some of the more intricate details of the Menu
control. From what I understand, it is possible to apply an adapter to this
control that could make the generated html a great deal easier to style
(although I haven't seen such an adapter myself yet). Could anyone help me /
point me in the right direction?

Thanks
WenYuan Wang [MSFT] - 26 Oct 2007 09:40 GMT
Hello Geoffrey,

It seems what you need is an ASP.NET control adapter, correctly? Please
correct me if I misunderstand anything here.

If this is the case, Scott described the CSS Control Adapter Toolkit for
us. You may refer to
http://weblogs.asp.net/scottgu/archive/2006/05/02/CSS-Control-Adapter-Toolki
t-for-ASP.NET-2.0-.aspx
[CSS Control Adapter Toolkit for ASP.NET 2.0]

Hope this helps.
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
GeoffreyD - 29 Oct 2007 19:22 GMT
Thank you very much for that :) The artists love it.

However, I ma having some trouble in that the menu is not visible at all
under IE6. Is there any workaround for this or am I doing it a little wrong?

> Hello Geoffrey,
>
[quoted text clipped - 15 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
WenYuan Wang [MSFT] - 30 Oct 2007 12:18 GMT
Hello Geoffrey,
Thanks for reply.

Do you mean the menu (asp.net 2.0 control) is not visible on IE 6?
That's strange. I never met such issue before.
Would you please paste the HTML Code generated by ASP.net in newsgroup?
I will try it on my side, and update here as soon as possible.

Have a great day.
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
GeoffreyD - 30 Oct 2007 15:15 GMT
Hi There

It seems I managed to solve the problem. The problems occurs when widths are
not specified for the <li> elements. So putting the following line of code
seems to make the problem go away. :)
<!--[if IE 6]>

<style>

.SimpleEntertainmentMenu ul.AspNet-Menu li {width: 5em;}

.SimpleEntertainmentMenu li {width: 6em;}

</style>

<![endif]-->

Regards
Geoff

> Hello Geoffrey,
> Thanks for reply.
[quoted text clipped - 12 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
WenYuan Wang [MSFT] - 31 Oct 2007 09:21 GMT
Hello Geoff,
Thanks for your feedback.

Cool! This seems you figured out the root cause, and resolved the issue.
Future readers may get benefits of it.:)

If you have any more concern, please feel free to let me know. We are glad
to assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.