Why is the CSSFriendly Login control rendered with <em> tags around the first letter of each label?

Jun 9, 2009 at 9:57 AM

It means that they appear on my screen as italics, which doesn't look right. I could do a CSS reset... but then that would be site wide. I'd have to set a class on the login control and set descendant <em>s to be non-italic.

I don't like to complain because I really like these adapters... but this formatting seems a bit silly to me. What was the intention?

Jun 9, 2009 at 2:21 PM

IIRC, that's a setting to let you create "hot keys" (although I'm not sure that's what they're called in the docs) - so that someone using a keyboard vs. a mouse can have quick access to an item.

I think it's possible to turn that setting off. Or you can just not use the CSS adapter for the log-in control ;-)

Jul 20, 2009 at 4:27 PM

There's no property for it that's visible in the property window in Visual Studio, so I guess I have to go into the source and edit it myself.

Jul 26, 2009 at 4:33 PM

This helped me:

.AspNet-Login-UserPanel label em,

.AspNet-Login-PasswordPanel label em,

.AspNet-Login-RememberMePanel label em


font-style: normal;


Jul 26, 2009 at 4:36 PM
Simple when you know how!

2009/7/26 TravisMay <notifications@codeplex.com>:
> From: TravisMay
> This helped me:
> .AspNet-Login-UserPanel label em,
> .AspNet-Login-PasswordPanel label em,
> .AspNet-Login-RememberMePanel label em
> {
> font-style: normal;
> }
> Read the full discussion online.
> To add a post to this discussion, reply to this email
> ([email removed])
> To start a new discussion for this project, email
> [email removed]
> You are receiving this email because you subscribed to this discussion on
> CodePlex. You can unsubscribe on codePlex.com.
> Please note: Images and attachments will be removed from emails. Any posts
> to this discussion will also be available online at codeplex.com