Results 1 to 3 of 3

Thread: .Net Inline Styles

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    .Net Inline Styles

    Is there any way to stop .Net adding inline styles to my web pages?

    I always though inline styles are a bad idea. Yet .Net seems to inflict them

    Pino

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: .Net Inline Styles

    Not as far as I know. I've been wondering this myself. I also find it annoying how it'll create block elements inside of span tags and not put registered JS in the head tags but I've just learned to live with it (most are minor annoyances and not deal breakers).
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: .Net Inline Styles

    If you're using VS 2008, you can have "Manage Styles" target the style block in your head or your external CSS file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width