Posted on: 1/6/2015 1:15:35 PM | Views : 478

Hi: I am building a website with the microsoft web developer 2010. When I test the site on my computer it is fine but when I put it on the Internet the css seems not functioning. All starting from the 0 and it seems that no div definition, no div width or height or left or top. See plz images on smartcad.se/my01.jpg and my02.jpg. It is not problem of accessing the css file because when I change the color of the body in the style file it respond correctly on the site on the Internet. See plz smartcad.se/my03.jpg. I can't figure out what is happning and I need to work it out quickly.
When the website starts it measure the size of the user screen and put the info in a static class and adjust the div in the master page accordingly.(the values in the static class is ok I checked it) then I use the add.Style to adjust the div as follows
mainContent.Style["left"] = xx.ToString() + "px"; rightContent.Style["l ...

Go to the complete details ...