Hello,
I have attached a file with a webpage and its corresponding stylesheet. Just unzip the file and open the "index.cfm" file in your favorite webbrowzer.
Here is the problem. The <h2> tag that says "Featured Car" doesn't display when I first load or refresh the page. But if I minimize it and then maxmize it the "Featured Car" is displayed. Does anyone know what is going on?
I am using IE 6.0 in Win XP. I opened it using Opera and it worked fine. I would appreciate anyones help.
Thanks!Khm... that's odd. It was fine onload, but didn't show AFTER I've refreshed the browser.Checked it in NS7 and it also appeared correctly. So you are definately dealing with an IE bug. I'm not really sure what you can do except to maybe simplifity the page a little so IE can handle it.After saving it as HTML and previewing in IE, I don't see <h2> at all, with/without refreshing.Yeah, I don't know what is going on. I looked at all of the code and everything seems fine. I guess I'll just have to deal with it. I don't understand, but I guess it isn't that big of a deal.
Thanks.It's not the h2 issue... I've tried <h1>, <p>, etc. for the Featured Car line - the same result.
just for the heck of it, if you position it inside of <div id="level1"> it shows up. It is definately not the <h2> issue, but the positioning.
----------------------------
<div id="level0">
<div id="level1">
<p><img src=http://www.webdeveloper.com/forum/archive/index.php/"featureCar.jpg" alt="Feature Car" class="feature" />
</p>
<div style="float: left;">
<h2>Featured Car</h2>
<div class="header2"> Specifications: </div>
<b>Make:</b> Honda<br />
<b>Model:</b> Accord EX<br />
<b>Price:</b> $20,000<br />
<b>Milage:</b> 10,000<br />
<b>Color:</b> Silver<br />
<b>Body Style:</b> Sedan<br />
<b>Transmission:</b> Manual<br />
<b>Engine:</b>6 CYL<br />
<b>VIN:</b> JH4DC54872C002317<br />
</div>
<div style="width: 100%; clear: left;">
<div class="header2"> Options: </div>
<ul class="inline">
<li>Air Conditioner</li>
<li>Power Steering</li>
<li>Power Door Locks</li>
<li>Tilt Wheel</li>
<li>Heated Seats</li>
<li>Moon Roof</li>
<li>CD Player</li>
<li>AM/FM Stereo</li>
</ul>
</div>
</div>
</div>It has something to do with being inside the two DIVs
it ain't perfect but:
H2 {
color: white;
text-align: center;
}
and
<div id="level0">
<h2>Featured Car</h2>
<div id="level1">
I have attached a file with a webpage and its corresponding stylesheet. Just unzip the file and open the "index.cfm" file in your favorite webbrowzer.
Here is the problem. The <h2> tag that says "Featured Car" doesn't display when I first load or refresh the page. But if I minimize it and then maxmize it the "Featured Car" is displayed. Does anyone know what is going on?
I am using IE 6.0 in Win XP. I opened it using Opera and it worked fine. I would appreciate anyones help.
Thanks!Khm... that's odd. It was fine onload, but didn't show AFTER I've refreshed the browser.Checked it in NS7 and it also appeared correctly. So you are definately dealing with an IE bug. I'm not really sure what you can do except to maybe simplifity the page a little so IE can handle it.After saving it as HTML and previewing in IE, I don't see <h2> at all, with/without refreshing.Yeah, I don't know what is going on. I looked at all of the code and everything seems fine. I guess I'll just have to deal with it. I don't understand, but I guess it isn't that big of a deal.
Thanks.It's not the h2 issue... I've tried <h1>, <p>, etc. for the Featured Car line - the same result.
just for the heck of it, if you position it inside of <div id="level1"> it shows up. It is definately not the <h2> issue, but the positioning.
----------------------------
<div id="level0">
<div id="level1">
<p><img src=http://www.webdeveloper.com/forum/archive/index.php/"featureCar.jpg" alt="Feature Car" class="feature" />
</p>
<div style="float: left;">
<h2>Featured Car</h2>
<div class="header2"> Specifications: </div>
<b>Make:</b> Honda<br />
<b>Model:</b> Accord EX<br />
<b>Price:</b> $20,000<br />
<b>Milage:</b> 10,000<br />
<b>Color:</b> Silver<br />
<b>Body Style:</b> Sedan<br />
<b>Transmission:</b> Manual<br />
<b>Engine:</b>6 CYL<br />
<b>VIN:</b> JH4DC54872C002317<br />
</div>
<div style="width: 100%; clear: left;">
<div class="header2"> Options: </div>
<ul class="inline">
<li>Air Conditioner</li>
<li>Power Steering</li>
<li>Power Door Locks</li>
<li>Tilt Wheel</li>
<li>Heated Seats</li>
<li>Moon Roof</li>
<li>CD Player</li>
<li>AM/FM Stereo</li>
</ul>
</div>
</div>
</div>It has something to do with being inside the two DIVs
it ain't perfect but:
H2 {
color: white;
text-align: center;
}
and
<div id="level0">
<h2>Featured Car</h2>
<div id="level1">