Jump to content

IE and FF: Problems


Norman
 Share

Recommended Posts

Hi Norman,try <td style="text-align: center;"><div style="margin: 0 auto; width: *px; ">content (a flash menu)</div></td>where * is the width of the content

Link to comment
Share on other sites

  • 3 weeks later...
It doesn't work.. is there an "if is this browser: do this. if is that browser: do that", or something like this?
Not in HTML. If it came to it you could do that in javascript (but what would you tell it, in this case?!)It looks as though it should work. With text or img cell contents, that code works fine in IE6, IE7 and FF. Might be worth posting the whole <table> in case there's something else causing the problem (such as a row/table attribute/style). Also suggest putting temporary visible borders on your table to show you whether IE and FF render your cells where you think they do, and also try substituting text cell content to see if that is behaving as it should in that cell.If all else fails you could also try abandoning the css style and go for the old <td> attributes to see if that works:<td align="center">my non-text cell contents</td>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...