PDA

View Full Version : Text different in Browsers


Soad
06-22-2007, 07:29 PM
I have a page of text in a table which I have left aligned and in Firefox its ok but in Internet Explorer it centers the text, any ideas ?

Thanks

domedia
06-22-2007, 07:51 PM
Incorrect code most likely. 8)

Guess what I will ask for next..

Andromeda
06-25-2007, 04:09 AM
Incorrect code most likely. 8)

Guess what I will ask for next..

A crystal ball????

Soad
06-25-2007, 04:53 AM
Check http://www.bollywoodcuisine.co.uk/r-menu.html for the code

Thanks

edbr
06-25-2007, 05:41 AM
you have
.style15 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

and in your page for example
<td height="33" bordercolor="#FFFFFF" class="style15"><strong>Chicken Chat</strong><br />
Pieces of chicken &amp; cucumber cooked in chat Mosalla sauce</td>

set an attribute for text align ;left;

Andromeda
06-25-2007, 05:43 AM
Hi Soad

I haven't been through your code with a fine tooth comb but it looks to me like the table which the menu is contained in is aligned centre and that's why IE is diplaying your page like that.

I thought about Firefox displaying the text left aligned and wonder if the reason for this is:
that because your table cells do not have an alignment specified, then firefox uses the defalt (left aligned) while IE uses the parent table alignment which is centred.

Just a theory.