Hey Experts, I have something strange going on. It's happened in every MVC webpage I've ever made.
See the attached screenshots first, this is the difference between no float, and float: right.
I always have something like so in my layout page:
With CSS like so:
margin: auto; /*This may not work in all browsers*/
Now, the @RenderBody will render my Index page which has a bunch of code in it, so far I only have a nav bar thingy set up. I have the nav bar wrapped in a div tag like so:
When I do CSS like so:
it never floats all the way to the right.
HELP! Tell me why!
Also, as you can see, the white background doesn't wrap the elements anymore.