Home > HTML/CSS > IE Does Not Ignore White Space in code

IE Does Not Ignore White Space in code

This:

<div id=”nav”>

<div
onmouseover=”this.style.backgroundImage=’url(images/nav_item_bg_hover.png)’;this.style.cursor = ‘pointer’;”
onmouseout=”this.style.backgroundImage=’url(images/nav_item_bg.png)’”
onclick=”window.open(‘index.html’)”>
|| Home</div>

<div
onmouseover=”this.style.backgroundImage=’url(images/nav_item_bg_hover.png)’;this.style.cursor = ‘pointer’;”
onmouseout=”this.style.backgroundImage=’url(images/nav_item_bg.png)’”
onclick=”window.open(‘bio.html’)”>
|| Bio</div></div>

Is NOT rendered the same in IE as this:

<div id=”nav”><div
onmouseover=”this.style.backgroundImage=’url(images/nav_item_bg_hover.png)’;this.style.cursor = ‘pointer’;”
onmouseout=”this.style.backgroundImage=’url(images/nav_item_bg.png)’”
onclick=”window.open(‘index.html’)”>
|| Home</div>

<div
onmouseover=”this.style.backgroundImage=’url(images/nav_item_bg_hover.png)’;this.style.cursor = ‘pointer’;”
onmouseout=”this.style.backgroundImage=’url(images/nav_item_bg.png)’”
onclick=”window.open(‘bio.html’)”>
|| Bio</div>

Categories: HTML/CSS
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.