i have this code and tried a few things but nothing wants to centre it in IE7?? all is ok with chrome and FF
<div id='div_phone_big'></div>
<div id='div_longgray_gradient'>
<form>
<table class='menu_bar_table' width='100%'>
<br></br>
<tr>
<center>
<span class='spn_big_lightblue_rbc'>RAINBOW</span><span class='spn_big_black_rbc'>CODE</span>
</center>
</tr>
<br></br>
<tr>
<center>
<span class='spn_med_yellow_rbc' >THANK YOU,YOUR FORM HAS BEEN SUBMITTED</span>
</center>
</tr>
</table>
</form>
</div>
the two span tags have no alignment set in the CSS
what am i doing wrong please?
thank you
Don’t use center tag, it’s deprecated. Use CSS instead. You can do something like this:
You forgot to add tag inside your . If you want to study the anatomy of a table go here http://w3schools.com/html/html_tables.asp
Also, don’t use table for layout. Table is intended for tabular data, use CSS instead.