Forum Moderators: open
I used CSS and I'm using 'margin-left: auto;' and 'margin-right: auto'.
I've tried using the above in an enclosing <div>, but it didn't help.
Is there a simple incantation that will work on ALL browsers INCLUDING IE7? I am sure the solution is very simple once you know how.
Many many thanks! Yours frustratedly,
Darren
I tried the <center> tag around the top <div> and it works! Isn't this supposed to be deprecated? That's why I wasn't using it! However, as poppyrich says if it works go with it and try to find a better way at your leisure. What's more it seems to still work when I use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> ... interesting.
Thanks to all.
Darren