Please post a link to the page in question
Main Topics
Browse All TopicsHi experts, I am having a weird problem. I created a page layout using css and html
In the design view - everything looks good. and when I preview - top logo does not show .. icluding the background behind the logo. But, if I change the window - I mean when I have 2 IE opens, when I switch one to another - logo and bg are showing.. what is the problem? does anyone know?
It is bizarre. if I refresh the page - does not show - but, If I switch to another IE window and come back to mine - it shows clearly.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am learning from a book - called "Bulletproof Web Design" - about CSS - I did not change anything.. or edit.. just the book code.
Here is my code - no links yet
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtm
<html xmlns="http://www.w3.org/1
<head>
<title>Bulletproof Pretzel Company</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body {
margin: 0;
padding: 0;
font-size: x-small;
font-family: Verdana, sans-serif;
background: #fff;
voice-family: "\"}\"";
voice-family: inherit;
font-size: small; /* for complain browsers */
}
html>body { /* for Opera */
font-size: small;
}
a:link {
color: #39c;
}
a:visited {
color: #369;
}
/* layout */
#wrap {
min-width: 500px;
max-width: 1400px;
background: url(img/wrap-bg.gif) repeat-y 70% 0;
}
#content {
float: left;
width: 70%;
font-size: 95%;
color: #333;
line-height: 1.5em;
}
#sidebar {
float: right;
width: 30%;
}
#footer {
clear: both;
background: #828377 url(img/footer-bg.gif) repeat-x top left;
}
/* gutters */
#content .gutter {
padding: 25px;
background: url(img/content-bg.gif) repeat-x top left;
}
#sidebar .gutter, #sidebar-2 .gutter {
padding: 15px;
}
/* header */
#header {
border-bottom: 3px solid #87B825;
background: #B4E637 url(img/header-bg.gif) repeat-x top left;
}
#header h1 {
margin: 0;
padding: 25px;
font-family: Georgia, serif;
font-size: 150%;
color: #374C0E;
background: url(img/bulls-eye.gif) no-repeat top left;
}
/* message row */
#message {
margin: 0;
padding: 10px;
font-size: 90%;
color: #cc9;
text-align: center;
background: #404530 url(img/message-bg.gif) repeat-x top left;
}
#message strong {
padding: 0 0 0 28px;
background: url(img/pretzel.gif) no-repeat 0 50%;
}
/* content */
#content h2 {
margin: 0 0 1em 0;
padding: 0;
font-family: Georgia, serif;
font-size: 150%;
color: #663;
font-weight: normal;
}
dl.feature {
margin: 15px 0;
padding: 15px;
border-top: 1px dotted #ccc;
border-bottom: 1px dotted #ccc;
}
dl.feature:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
dl.feature dt {
margin: 0 0 .5em 0;
font-family: Georgia, serif;
font-size: 140%;
color: #693;
}
dl.feature dt img {
float: left;
margin: 0 15px 0 0;
padding: 0 4px 4px 0;
background: url(img/photo-frame.gif) no-repeat bottom right;
}
dl.feature dd {
margin-left: 169px;
font-size: 90%;
line-height: 1.5em;
color: #666;
}
/* sidebars */
.box {
margin: 0 0 20px 0;
padding: 0 0 12px 0;
font-size: 85%;
line-height: 1.5em;
color: #666;
background: #fff url(img/box-b.gif) no-repeat bottom right;
}
.box h3 {
margin: 0;
padding: 12px;
font-family: Georgia, serif;
font-size: 140%;
font-weight: normal;
color: #693;
background: url(img/box-t.gif) no-repeat top left;
}
.box p, .box ul {
margin: 0;
padding: 0 12px;
}
.box ul li {
margin: 0 0 0 12px;
padding: 0 0 0 18px;
list-style: none;
background: url(img/li-bullet.gif) no-repeat 0 3px;
}
/* footer */
#footer p {
margin: 0;
padding: 15px;
font-size: 85%;
color: #333;
}
/* IE fixes */
#content, #sidebar {
height: 1%;
}
.feature {
display: inline-table;
}
/* Hides from IE/Mac \*/
* html .feature {
height: 1%;
}
.feature {
display: block;
}
#footer {
height: 1%;
}
/* End hide from IE/Mac */
</style>
</head>
<body>
<div id="wrap">
<div id="header">
<h1>Bulletproof Pretzel Company</h1>
</div>
<p id="message">
<strong>Special:</strong> 30% off all week-old pretzels! Get 'em while they're... hot?.
</p>
<div id="content">
<div class="gutter">
<h2>Our Company History</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce libero neque, feugiat non, molestie ut, aliquet ut, leo. Phasellus bibendum aliquam velit. Pellentesque wisi justo, posuere nec, cursus id, facilisis ac, odio. Morbi consectetuer pede ultrices erat egestas bibendum. Duis hendrerit. Nunc id dolor. Duis euismod purus ut mauris. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi odio. Morbi odio. Praesent leo mauris, rutrum nec, mollis ut, scelerisque sit amet, tortor. Sed suscipit ligula et pede. Morbi rutrum mollis lacus. Duis quis eros. Fusce commodo tortor ut ante. Nunc mollis pede nec tellus. Praesent in nulla. Nullam malesuada adipiscing orci. Praesent in felis eu erat sagittis tincidunt. Nulla vel massa vitae risus placerat rutrum.</p>
<dl class="feature">
<dt><img src="img/bldg.jpg" width="150" height="113" alt="building" />Where it all began</dt>
<dd>Vestibulum risus. Nullam adipiscing. Etiam fringilla neque id erat. Sed varius ipsum vitae sem congue mattis. Maecenas gravida diam vitae nibh. Donec enim. Vestibulum risus. Nullam adipiscing. Etiam fringilla neque id erat. Sed varius ipsum vitae sem congue mattis.</dd>
</dl>
<p>Vestibulum risus. Nullam adipiscing. Etiam fringilla neque id erat. Sed varius ipsum vitae sem congue mattis. Maecenas gravida diam vitae nibh. Donec enim. Nullam hendrerit faucibus nulla. Curabitur vel elit at lacus eleifend vulputate. Etiam nec tortor a dolor scelerisque dignissim. Donec lacus ipsum, posuere nec, lobortis vel, suscipit eu, orci. Nam ut felis. Pellentesque id nulla nec eros dignissim sollicitudin.</p>
<p>Phasellus suscipit tristique lorem. Proin dolor massa, eleifend at, mollis lobortis, cursus in, magna. Curabitur ultricies, ligula sit amet aliquet condimentum, tellus arcu mollis leo, a faucibus nibh urna vitae orci. Etiam sapien. In massa dui, imperdiet eget, mollis eu, venenatis porttitor, tortor. Nulla posuere accumsan lacus.</p>
</div>
</div>
<div id="sidebar">
<div class="gutter">
<div class="box">
<h3>What Are Pretzels?</h3>
<p>Pretzels are delicious baked snacks made from dough that's twisted into shape.</p>
</div>
<div class="box">
<h3>Our Pretzels</h3>
<ul>
<li><a href="#">Plain</a></li>
<li><a href="#">Salted</a></li>
<li><a href="#">Chocolate covered</a></li>
<li><a href="#">Yogurt covered</a></li>
<li><a href="#">BBQ</a></li>
</ul>
</div>
<div class="box">
<h3>About Us</h3>
<ul>
<li><a href="#">History</a></li>
<li><a href="#">Jobs</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Directions</a></l
</ul>
</div>
</div>
</div>
<div id="footer">
<p>Copyright © 2005 Bulletproof Pretzel Company. All rights reserved.</p>
</div>
</div> <!-- end #wrap -->
</body>
</html>
Hi, I am sorry guys,
It is my problem, I just felt that just closing the question much easier than getting refund.. again, very sorry. But, good thing - I have a question: I am trying do page layout by css - where can I get samples of box-model in css....
Thanks again, I would not do that anymore...(giving out points for not answering)
The BrainJar site at the top of that list is a good one - www.brainjar.com/css/posit
Ok.. I am trying to create a just a one box - mainbox: 100% width: this is what i have and my background does not show:
#mainbox {
float: center;
text-align:center;
background: url(images/backgroundbg.gi
background:#fff;
border:1px solid #000000;
width:100%;
margin:auto;
}
<body>
<div id="mainbox">
allo <br />
allo1 <br />
allo2 <br />
allo3 <br />
allo4 <br />
allo5 <br />
</div>
</body>
Don't know if you saw my post above - http:#17431463 - but is it ok if I close this now? :)
Business Accounts
Answer for Membership
by: neonlightsPosted on 2006-08-31 at 10:32:51ID: 17430826
Just to add to this:
When I refresh the page - logo part - it's empty - (box with white bg) - but, if I switch windows and come back - it shows my logo and the bg green at the empty box.
Thanks, I hope I explain it well