Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 908935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:47:44+00:00 2026-05-15T16:47:44+00:00

By default VS 2010 likes to put CSS in-line, I’m wondering if there is

  • 0

By default VS 2010 likes to put CSS in-line, I’m wondering if there is a way to force it to put the CSS into a css file instead?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:47:46+00:00Added an answer on May 15, 2026 at 4:47 pm

    Are you referring to the inline styles that controls use in asp.net webforms??

    If so, then the following can help, but may not fix all of the problems.

    Don’t use any of the style properties for the control, other than to set the class property to a class name that resides in your css file. Unfortunately this does depend on how the control is actually rendered in the html, so this will probably not work for everything. Fortunately they were supposed to have cleaned up the controls quite a bit with vs2010, but I haven’t had the chance to try it out yet.

    Also asp.netmvc doesn’t have the control problem since you have full control over how everything is rendered. That may be a more flexible option assuming you don’t already have legacy code hanging around.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to change the macro editor from this default one: It
I'm trying to get the new ASP.NET Web API beta (VS 2010 default Web
By default, Visual Studio (2010 as well as 11 beta) builds every project in
We have installed TFS 2010 RC. By default it creates a project collection called
This DLL is added by default in Visual Studio 2010 projects. What is this
By default, the ordered list looks like this: There are some spacing on the
By default pip installs editable packages into src subdirectory of the directory where Python
I would like all WPF XAML items to default to private instead of internal.
Whenever I open a new (web) project in VS 2010 the default build configuration
I have a MVC3 application, based on default layout from VS 2010, which I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.