Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,

So I have just stumbled across a very strange issue that is bugging the hell out of me. So I am developing my site with asp.net and c# within visual studio 2010. My pages were working exactly how I wanted them to and then I decided that I wanted to add a horizontal rule to my RadMultiPage. I dragged it onto the design page of VS and then I clicked on it to drag it somewhere else and all of a sudden it seemed to add margins or padding to ALL of my controls. I tried ctrl-z multiple times until I was undoing things that I did before I dragged the horizontal rule onto the page and nothing changed. So I then did a little investigation and while using google chromes developer editor it seems that if I disable the clear: both; css property I have on a div box at the bottom of my master page it fixes it in my browser. However, when I get rid of the css property in my stylesheet nothing happens, neither does getting rid of the div box all together, or changing the clear: both; to left, right, none, or inherit. These issues are happening in both google chrome and IE9. Does anyone have any ideas? This is terribly frustrating!!! Any help would be much appreciated. Thanks.
Posted

1 solution

So I finally figured out the problem. Which was very obvious, just overlooked. But I though I'd share the solution just incase anyone is confronted with the same problem.

So the Horizontal rule just changed the "*" css class, so once I changed those css settings back to zero's all is good. Was that simple.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900