ie

Careful with your Comments in IE

Posted on

Small tip today. Be careful where you place your HTML comments in Internet Explorer. Placing comments before you begin your HTML content can cause strange layout rendering. For example:

<!– My Comment –> <html> <head> ….

This is wrong and can cause all sorts of layout issues. Always make sure your comment is in your HTML content.

This entry was posted in Web Development. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *