Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-30-2009, 03:41 AM   PM User | #1
Devaspora
New Coder

 
Join Date: Oct 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Devaspora is an unknown quantity at this point
Weird Internet Explorer problem with coding

Well internet explorer is having problems with this code:

Code:
<div class="bbg1">
<center><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></center>
</div>
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.
Devaspora is offline   Reply With Quote
Old 10-30-2009, 08:17 AM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 10-30-2009, 02:14 PM   PM User | #3
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
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?verbos...om%2Fforums%2F and check out the links about validating in my sig below.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:11 PM.


Advertisement
Log in to turn off these ads.