Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
IE6+7 wont render basic H1 or P elements when last in stack
Old 07-10-2009, 05:41 PM IE6+7 wont render basic H1 or P elements when last in stack
seannarae's Avatar
Skilled Talker

Posts: 65
Location: san francisco, ca
Trades: 0
SET UP
I have a page that will display 1 or more accounts on file for user
Each acct consists of a wrapper containing name of account [H3] followed by heading/data pairs.
Where user has >1 acct, i'm displaying >1 wrapper

ISSUE
The 1st wrapper of acct info displays fine
But on the 2nd (or last if >2), the H3 tag containing the acct name will not render on page load in IE6/IE7.

FUNKINESS
If i do anything that causes a redraw (?) of the browser window, such as ALT-TAB away & back, or resize the window... the H3 element displays.
Refresh the page, the H3 tag disappears again.

I've tried P as well as other H tags, and each exhibit the same issue.
I've no issue using a DIV instead of what seems a more semantic H3 or P tag.
But the wonkiness of the issue makes me want to seek resolution

CODE
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
<!--

body { font-size:12px; font-family:Arial, Helvetica, sans-serif; }
.contwrap { height:1px; width:530px; margin:5px 10px 0px 10px; clear: both;}
.dispwrap { padding:0px 0px 10px 0px; background-color:#fcfcec; border:1px solid #CCCCCC; border-left:0px; border-right:0px; clear:both; }
.dispwrap p { margin:0px; padding:2px 0px 2px 10px; font-size:13px; color:#245098; background-color:#f4f7fc; }
.dispwrap .head { width:160px; margin:10px 10px 0px 0px; font-weight:bold; text-align:right; float:left; display:inline; }
.dispwrap .data { width:250px; margin:10px 0px 0px 0px; text-transform:uppercase; float:left; }
.clearboth {margin: 0;clear: both;}

-->
</style>
</head>

<body>

<div class="contwrap">

    <div class="dispwrap">
        <p>ACCOUNT ONE</p>
        <div class="head">Name on Acct:</div><div class="data">First Last</div>
        <div class="head">Address:</div><div class="data">123 Fake Street<br />San Francisco, CA 94111-1234</div>
        <div class="head">Primary Phone:</div><div class="data">(415) 555-1212</div>
        <div class="head">Primary E-Mail Address:</div><div class="data">username@domain.com</div>
        <div class="clearboth"></div>
    </div>

<br>

    <div class="dispwrap">
        <p>ACCOUNT TWO</p>
        <div class="head">Name on Acct:</div><div class="data">First Last</div>
        <div class="head">Address:</div><div class="data">123 Fake Street<br />San Francisco, CA 94111-1234</div>
        <div class="head">Primary Phone:</div><div class="data">(415) 555-1212</div>
        <div class="head">Primary E-Mail Address:</div><div class="data">username@domain.com</div>
        <div class="clearboth"></div>
    </div>

<br>

    <div class="dispwrap">
        <p>ACCOUNT THREE</p>
        <div class="head">Name on Acct:</div><div class="data">First Last</div>
        <div class="head">Address:</div><div class="data">123 Fake Street<br />San Francisco, CA 94111-1234</div>
        <div class="head">Primary Phone:</div><div class="data">(415) 555-1212</div>
        <div class="head">Primary E-Mail Address:</div><div class="data">username@domain.com</div>
        <div class="clearboth"></div>
    </div>

</div>

</body>
</html>
seannarae is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-10-2009, 05:58 PM Re: IE6+7 wont render basic H1 or P elements when last in stack
seannarae's Avatar
Skilled Talker

Posts: 65
Location: san francisco, ca
Trades: 0
UPDATE
Tried re-writing the code using a DIV container instead of H3 pr P, and the issue persists. Now at a loss for how else to encapsulate the account name if i cannot upe P, H or DIV...
seannarae is offline
Reply With Quote
View Public Profile
 
Old 07-10-2009, 09:31 PM Re: IE6+7 wont render basic H1 or P elements when last in stack
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Are you pulling the info out of a database for this ?
I really wouldn't use all those divs though, I think I'd just use a list for that kind of thing.

What you're seeing with that 'now you see it now you don't' thing is called the peek-a-boo bug, and I thought it was fixed in IE7.
http://www.positioniseverything.net/.../peekaboo.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 07-10-2009 at 09:34 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IE6+7 wont render basic H1 or P elements when last in stack
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24873 seconds with 12 queries