peasepud
Programmer
- Jul 20, 2007
- 35
Hi,
I have a site which I have developed and tested using Firefox and all is fine.
On checking IE7 I have the following problems, neither seem much but I cant seem to get them to work.
Firstly, theres a series of left floating divs which each contain a single column table within them, in FF this lines up nicely but in IE the table sits about 10px in (as if the div had padding-left:10px) and therefore overhangs the outside right by 10px.
Secondly, on another page there is an image centered using margin:auto but in IE it sits to the left.
I tried doing a simple IE stylesheet using the conditional comment to put a negative margin in but no matter what I do it doesnt seem to recognise and use it? When I check the source theres no mention of the IE stylesheet??
I also tried using the underscore hack but that also failed, Im guessing IE7 resolved that???
These are easy to fix problems I know but for some reason I cant seem to get the hacks to work
I have a site which I have developed and tested using Firefox and all is fine.
On checking IE7 I have the following problems, neither seem much but I cant seem to get them to work.
Firstly, theres a series of left floating divs which each contain a single column table within them, in FF this lines up nicely but in IE the table sits about 10px in (as if the div had padding-left:10px) and therefore overhangs the outside right by 10px.
Secondly, on another page there is an image centered using margin:auto but in IE it sits to the left.
I tried doing a simple IE stylesheet using the conditional comment to put a negative margin in but no matter what I do it doesnt seem to recognise and use it? When I check the source theres no mention of the IE stylesheet??
I also tried using the underscore hack but that also failed, Im guessing IE7 resolved that???
These are easy to fix problems I know but for some reason I cant seem to get the hacks to work