November 9, 201015 yr Hi I have just completed a new website and have used the jello technique to position the page in the middle of the screen. To do this I have put the following code in CSS body {margin: 0; padding: 0; } Then for the wrapper #wrapper { width: 890px; margin: auto; } Although the website is central in other browsers, it will not centralise in IE. However in the past I have used this technique and it worked. I have checked many things on the website, but cannot find a solution. I would be very grateful for any insights into this problem. The DOC type is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Many thanks, Kath
December 23, 201015 yr Hi Kath, Use below code body {margin: 0; padding: 0; } #wrapper { width: 890px; margin:0px auto; } Its working
Create an account or sign in to comment