| | |
difference between IE and Firefox
![]() |
•
•
Join Date: Dec 2008
Posts: 12
Reputation:
Solved Threads: 0
hallo,
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
my code
except the table itself nothing is at center. and thats only in IE . safari and firefox are working good...
what should i do
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
my code
php Syntax (Toggle Plain Text)
</head> <body bgcolor=#FF8000> <div align='center'> <table border='1' align='center' width="80%" cellspacing="0" cellpadding="0" bgcolor=#FFFFFF> <tr allign='center'> <td align='center' width="492" height="84" alt=""><img src="./images/main banner.jpg" width="492" height="84" alt="" align="middle"> <div align='center'> <br><br> <p align='center'><b>ΜΗΝΥΜΑ</b></p> <br><br> <?php -------connect to database------- -------form------ ?> </div> </td> </tr> </table> <br> </div> <p align='center'><a href="......"> ADMIN</a></p> </body>
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 12:58 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: Dec 2008
Posts: 12
Reputation:
Solved Threads: 0
•
•
•
•
do you have a doctype. a lot of cross-browser issues are solved just by defining a doctype.
you might also want to look into css.
than u for your quick answer.
so i inserted an css (external)
this one
.alltocenter { font-family: Verdana; font-size:12px; vertical-align: top; text-align: center; border-spacing: 1pt 1pt; border: 1px none; }
and i called it in my table
<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......
something else....
Last edited by dourvas; Jan 3rd, 2009 at 6:28 am.
•
•
Join Date: Dec 2008
Posts: 12
Reputation:
Solved Threads: 0
ok man. u were right. it was a stupid error.
just for the records
the wrong line:
<td align='center' width="492" height="84" alt=""><img src="./images/main banner.jpg" width="492" height="84" alt="" align="middle">
the right line:
<td><img src="./images/main banner.jpg" width="492" height="84" align='middle'>
thank u very much...
just for the records
the wrong line:
<td align='center' width="492" height="84" alt=""><img src="./images/main banner.jpg" width="492" height="84" alt="" align="middle">
the right line:
<td><img src="./images/main banner.jpg" width="492" height="84" align='middle'>
thank u very much...
![]() |
Similar Threads
- Difference between Firefox and IE (JavaScript / DHTML / AJAX)
- Temp for Mozilla firefox? (Web Browsers)
- Javascript Problem with Firefox (JavaScript / DHTML / AJAX)
- mozilla firefox 0.8 (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: Learning PHP
- Next Thread: Foreign Key is different than primary key
Views: 1101 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache array box buttons cakephp check checkbox class cms code cookies database date directory display download dropdown drupal dynamic echo email error file files folder form forms function functions header hosting href htaccess html image include insert ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql order parse password paypal pdf php post problem query radio random redirect regex remote rewrite script search select server session sessions shopping soap sort sorting source sql storage string table unicode update upload url user validation variable video web website wordpress xml zend






