[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Some properties of a CSS style show up in preview and some don't.

Asked by gabrielPennyback in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Adobe Dreamweaver

I have a div called #testHeader in a webpage. All property changes show up  in development, but text color and border properties don't show up in preview.

Please take a look at the two codes below and tell me what the problem is and how to fix it.  I've attached printscreens that show what I mean.

Thanks!
John
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
CSS CODE:
@charset "utf-8";
/* CSS Document */
 
body {
	background-repeat: repeat-x;
	margin-top: 0px;
	background-image: url(bkgrnd_BrownGold_Shadow.jpg);	
	background-color: #FFCC33;
  }
#header1 {
	height: 130px;
	width: auto;
	clear: both;
	background-image: url(header_BrownDark_Shad.jpg);
	font-family: Mistral;
	font-size: 22px;
	color: #00FF00;
}
#mainFrame{
	width: 890px;
	height: 1200px;
	background-color: ffffff;
	/*BORDER:1px SOLID #000000*/
	background-repeat: no-repeat;
	margin: 0 auto;
  }	
#menu {
	height: 22px;
	width: 300px;
	margin-top: 10px;
	clear: both;
	margin-right: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	float: right;
	color: #00FF33;
  }
#menu ul {
    margin:0;
    padding:10px 10px 0 50px;
    list-style:none;
  }
#menu li {
    display:inline;
    margin:0;
    padding:0;
  }
#menu a {
	float:left;
	background:url("upState.gif") no-repeat right top;
	margin:0;
	padding:0 16 0 16;
	text-decoration:none;
  }
#menu a span {
	display:block;
	background:url("upState.gif") no-repeat right top;
	padding:4 12 5 12;
  }
#menu a:hover {
    background-position:0% -42px;
    background:url("overState.gif") no-repeat left top;
  }
#menu a:hover span {
    background-position:100% -42px;
    background:url("overState.gif") no-repeat left top;
  }
  
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */	
 
#container {
	width: 890px;
	height: 100%;
	font-family: "Gill Sans MT";
	font-size: 12px;
	background-color: #CCFF00;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	position: relative;
	top: 0px;
	clear: both;
  }	
#shipping{
	float: left;
	color: #000000;
	font-family: "Gill Sans MT";
	line-height: normal;
	font-size: 10px;
	text-align: left;
	max-height: 140px;
	margin-left: 60px;
  }
#login {
	width: 200px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	margin-top: 10px;
	margin-right: 50px;
  }
#mainBlock{
	height: 320px;
	color: #FF0000;
	font-family: "Gill Sans MT";
	font-weight: bold;
	width: 890px;
	float: left;
	background-color: #00FFFF;
	border-bottom-width: medium;
	border-bottom-style: solid;
	border-bottom-color: #000000;
	margin-top: 0px;
  }
#Block2 {
	height: 200px;
	width: 890px;
	background-color: #FFFFCC;
	clear: both;
	font-family: "Monotype Corsiva";
	font-size: 20px;
	color: 666699;
	text-decoration: underline;
	padding-top: 10px;
	font-weight: bold;
	text-indent: 20px;
	white-space: pre;
  }
#Block3 {
	height: 200px;
	width: 890px;
	background-color: #666699;
	clear: both;
	font-family: "Gill Sans MT";
	font-size: 20px;
	color: #FFFF99;
	text-decoration: blink;
	padding-top: 10px;
	text-align: right;
	vertical-align: 50%;
	letter-spacing: 10px;
	text-indent: 100px;
  }
#Block4 {
	height: 100px;
	width: 890px;
	background-color: #FF99FF;
	clear: both;
	font-family: "Arial Black";
	font-size: 20px;
	color: #000000;
	text-decoration: blink;
	padding-top: 10px;
	text-align: center;
  }
  
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */		
 
#topLeft {
	min-width: 200px;
	height: 300px;
	font-family: "Arial Black";
	font-size: 24px;
    margin-top: 30px
    margin-left: 0px;
	line-height: normal;
	width: 50%;
	color: #000000;
	font-weight: normal;
	float: left;
	padding-top: 20px;
	background-color: #FFFFFF;
  }
#product {
	font-family: "Arial Black";
	font-size: 20px;
	margin-top: 0px;
	width: 300px;
	color: #999999;
	margin-left: 60px;
  }
#price {
	font-family: "Arial Black";
	font-size: 24px;
	margin-top: 30px;
	margin-left: 60px;
  }
#holder1 {
	width: 400px;
	margin-top: 40px;
  }
#conditions {
	font-family: "Gill Sans MT";
	font-size: 14px;
	float: left;
	width: 75px;
	height: 50px;
	color: 000000;
	line-height: 22px;
	font-weight: normal;
	text-decoration: underline;
	margin-left: 60px;
  }
#descriptionShort {
	font-family: "Gill Sans MT";
	font-size: 14px;
	float: left;
	width: 220px;
	height: 50px;
	color: #000000;
	line-height: 22px;
	padding-left: 10px;	
  }
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */		
 
#topRight{
	width: 50%;
	height: 300px;
	float: left;
	color: #000000;
	font-family: "Gill Sans MT";
	line-height: normal;
	font-size: 12px;
	text-align: center;
	margin-top: 42;
	margin-left: auto;
	background-color: #FFFFFF;
	padding-top: 20px;
	background-image: url(iPodDock.jpg);
	background-repeat: no-repeat;
	background-position: center center;
  }
 #holdProdPic {
	padding-top: 20px;
	text-align: center;
	padding-bottom: 20px;
  }
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */		
 
#titles{
	clear:both;
	margin-left: 50px
	width: 500px;
	float: none;
	font-family: "Gill Sans MT";
	font-size: 12px;
	text-align: left;
	padding: 10px;
	height: 100px;
	color: #6666FF;
  }    
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */	
  
#flashContainer {
	height: 220px;
	width: 581px;
  } 
#titles ul {
	list-style-type: disc;
	list-style-position: inside;
	border-left:0.5px solid;
	border-top-width: 0.5px;
	border-right-width: 0.5px;
	border-bottom-width: 0.5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	margin:0;padding:20px;
 /* ul li {margin: 0 0 0 0px; padding: 0; text-indent: -10px; */
  }
#footer1 {
        background-color: #EAEAEA;
        font-family: "Monotype Corsiva";
        font-size: 18px;
        text-align: center;
        color: #666666;
        height: 20px;
        width: 820px;
        margin: 0 5 0 0 0;
		float: top;
		/*position:absolute;  */
		bottom:0;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that hould fully contain a float */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
        background-color: #FFFFFF;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-position: left top;
}
#testHeader {
	background-color: #99FF33;
	float: right;
	height: 0px;
	width: 300px;
	margin-top: 10px;
	font-family: "Arial Black";
	font-size: 16px;
	color: #FF0000;
	text-align: right;
	border: medium solid #FFFFFF;
	padding-right: 20px;
}
 
HTML CODE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
 
<head>
<title>BETA 10 FROM HOME</title>
<style type="text/css">
</style>
<script src="AC_RunActiveContent.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 
<style type="text/css">
</style>
<link href="CowBoom_Beta10.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="mainFrame">
	<div id="header1">This is header1
		<div id="testHeader">This is testHeader</div>
	</div>
<!--<div id="borderShadow"></div> -->
	<div id="container">
		<div id="mainBlock">	
            <div id="topLeft">
                <div id="product">JBL Radial Speaker Dock for iPod		</div>
                <div id="price">$119.99		</div>      
                <div id="shipping">+$5 shipping		</div>
                <div id="holder1">	
                    <div id="conditions">Condition:<br />Product(s):		</div>
                    <div id="descriptionShort">New<br />1 White JBL Radial High-Performance Loudspeaker Dock for iPod JBLRADIALWHT	</div>
                </div>	<!-- end holder1 -->  
            </div>	<!-- end topLeft -->      
            <div id="topRight"></div>	<!-- end topRight -->
		</div>	<!-- end "mainBlock" -->
    
		<div id="Block2"> This is Block2   		</div>
        <div id="Block3"> This is Block3   </div>
        <div id="Block4"> This is Block4  </div>
    </div>	
  <!-- end "container" -->
    
</div> 	<!-- end "mainFrame" -->
 
</body></html>
Attachments:
 
the way it looks in development
the way it looks in development
 
 
the way it looks online
the way it looks online
 
 
Related Solutions
Keywords: Some properties of a CSS style show …
 
Loading Advertisement...
 
[+][-]01/31/08 11:52 AM, ID: 20790329Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Adobe Dreamweaver
Sign Up Now!
Solution Provided By: iambagels
Participating Experts: 2
Solution Grade: A
 
[+][-]01/31/08 11:49 AM, ID: 20790298Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/31/08 11:55 AM, ID: 20790357Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/31/08 12:21 PM, ID: 20790606Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_2_20070628