April 3, 201214 yr Hi guys, I've been designing a website for a training company but I decided to check my preview out in Internet Explorer and its not the same as it is in Google Chrome. http://www.terrytilley.com/spdtraining/ Anyone know why this is? Terry Edited April 3, 201214 yr by Terry T 88
April 3, 201214 yr Author You will need to set a doctype too I see, thanks for that. I've added this to the top of the HTML. <!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"> and you can see what difference its made but my "search" and "sign up" buttons aren't aligned anymore.
April 3, 201214 yr It could be that all of the elements within #header-right with their respective widths, margins and paddings don't fit within the 250px you have allowed it. As a test try adding 10px to #header-right. If that works and the layout looks pretty much as it should do then you know that was the problem. I suspect it is. You will then just need to tweak your width, padding or margin on one of the elements (or even the div itself) to fit it as it should be.
April 3, 201214 yr Also as was mentioned previously a CSS Reset would be a good idea for this and any future projects
April 3, 201214 yr Author It could be that all of the elements within #header-right with their respective widths, margins and paddings don't fit within the 250px you have allowed it. As a test try adding 10px to #header-right. If that works and the layout looks pretty much as it should do then you know that was the problem. I suspect it is. You will then just need to tweak your width, padding or margin on one of the elements (or even the div itself) to fit it as it should be. Great! all solved. Thanks a million for all your help. Terry
Create an account or sign in to comment