i have align problems about my data into a html table. In Firefox everything is ok aligned to center. in IE everything is alligned to left and thats not ok
except the table itself nothing is at center. and thats only in IE . safari and firefox are working good...
what should i do
Last edited by peter_budo; Jan 6th, 2009 at 1:58 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
<table class='alltocenter' border='1' align='center' width="80%" cellspacing="0" cellpadding="0" bgcolor=#FFFFFF>
<tr>
.
.
it works (i see verdana) but the text and the image are still in the left!!
i also defined a doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
even i dont know what a doctype realy does... (i added this line before <html> tag......
i took a closer look at the code and saw some misspellings like "allign" and that you have an alt="" attribute in a table data element. ??? look for things like that.
also, i recommend retyping your code and organizing it better. you should find your mistake.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Previous Thread in PHP Forum Timeline:Learning PHP