How to make div container float to side of screen regardless of screen resolution?

I have a laptop and a desktop computer, the desktop being the machine I mainly work from. The monitor size for my desktop is 1920x1080 and my laptop's screen is 1366x768. I noticed one day that the project I had been working on's container div didn't show up on my laptop's screen. I need the container div to constantly stay on the right side of the screen, regardless of the resolution/size of the screen.


#container {
    margin:0px auto 0 auto;


You can replace the second auto with 0 in the margin property.

#container {
  margin: 0 0 0 auto;

Need Your Help

HttpRequestHeader cookie format

c# .net http web

In which format does HttpRequestHeader.Cookies need to be specified? F.e, if I want to add cookie named CITY with value NY how should I do that with WebClient.Headers.Add() method?

Column-Width and Image Wrapping in Firefox

css3 firefox

Using the CSS3 column-width property in Firefox seems to not work as expected. When an image that is taller than it's container exists, the image does not wrap onto a new column as expected:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.