View Full Version : Weird Internet Explorer problem with coding

10-30-2009, 03:41 AM
Well internet explorer is having problems with this code:

<div class="bbg1">
<center><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></center>

Now on Firefox, chrome, opera,etc. it is fine. But IE needs to be compatability mode in order to show this without problems. What is old about this coding? The problem is www.nokialogy.com.

10-30-2009, 08:17 AM
This isn't a PHP problem.
Moving from the PHP forum to HTML/CSS.
The problem is the center tag, use an alignment instead on the div.

10-30-2009, 02:14 PM
Hello Devaspora,
You <body> tag in the wrong place.
Plenty of other things you can fix there too. Have a look at http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.nokialogy.com%2Fforums%2F and check out the links about validating in my sig below.