CSS Style Sheet code randomly moving around in Visual Studio

Posted on 2009-12-30
Medium Priority
Last Modified: 2013-11-26

I have a strange problem.

When I use Visual Studio, sometimes the code in the CSS style sheet randomly moves around.

For example, my table cell width randomly jumped to my CSS reset section. It took me awhile to figure out why my CSS code wasn't working until I found this. This has happened to me fairly frequently.

It sounds like a really strange problem. It doesn't happen with my C# or HTML code, despite being using the same Visual Studio IDE.

Any ideas?
Question by:GoldenBear

Accepted Solution

Nithyanandhan_T earned 2000 total points
ID: 26147116
If you edit your HTML visually using WYSIWYG editor, then you may get his problem.

Author Closing Comment

ID: 31671105
That's the best reason I've heard so far.

If you have any links that refer to this particular quirk, it would be appreciated. Thanks.

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question