I have started to make a test page using CSS which just contains the basic layout of how I want to position certain sections in a web page.
I have basically made all of the content align to the center of the page but I've also used a background image for reasons that I need later on in the project but hopefully aren't particulary relevant to this problem (although I did ask about it in thread215-1125127 if anyone wonders why I've done it like this).
You can see the results of what I have done at or I can paste the HTML and CSS code here if necessary.
If you view the site through IE, it displays as I want it do in that the text aligns itself to the center of the page and on top of the white background. However, this isn't the case if you view the page through Firefox and the text simply aligns to the very left of the page.
I had incorrectly assumed that both browsers would show the same results although I'm guessing that this is probably an IE quirk and Firefox shows it how it should be displayed albeit not how I actually wanted it to show!
So, my questions are:
1) Why does it align differently?
2) How should I have done it in the first place?
Thanks,
Mark
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.
I have basically made all of the content align to the center of the page but I've also used a background image for reasons that I need later on in the project but hopefully aren't particulary relevant to this problem (although I did ask about it in thread215-1125127 if anyone wonders why I've done it like this).
You can see the results of what I have done at or I can paste the HTML and CSS code here if necessary.
If you view the site through IE, it displays as I want it do in that the text aligns itself to the center of the page and on top of the white background. However, this isn't the case if you view the page through Firefox and the text simply aligns to the very left of the page.
I had incorrectly assumed that both browsers would show the same results although I'm guessing that this is probably an IE quirk and Firefox shows it how it should be displayed albeit not how I actually wanted it to show!
So, my questions are:
1) Why does it align differently?
2) How should I have done it in the first place?
Thanks,
Mark
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.