[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

Why is my text floating to the right?

Asked by rentawebguy in Cascading Style Sheets (CSS)

I have a site mockup here: http://www.kellercrescentdigital.com/lmh/about/ceo-message

and the text on the first line wants to flow to the right. I've tried clearing the floats on the contentheading and buttonheading elements but it just makes it worse.

What am I doing wrong here?
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:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
select {font-size: 11px; color: #336699; border: #336699 1px solid; font-family:Tahoma, Arial, Helvetica, Geneva, sans-serif; background: #ffffff; }
 
#searchbox {
 position: absolute;
 top: 6px;
 left: 260px;
}
.searchme {
    font-size: 13px;
    height: 18px; 
    color: #336699; 
    border: #336699 1px solid; 
    font-family:Tahoma, Arial, Helvetica, Geneva, sans-serif; 
    background: #ffffff url(../images/searchme.gif) no-repeat left center; 
    padding-left: 25px;
    margin-top: 2px;
}
.gn_header_1 {
 color: #336699;
}
#latestnews {
  float: left;
  width: 200px;
  height: 225px;
}
#latestevents {
  float: right;
  width: 200px;
  height: 225px;
  padding: 5px;
  color: #336699;
  font-weight: bold;
}
.componentheading {
  color: #336699;
  font-size: 20px;
  font-weight: bold;
}
img, div { 
      behavior: url(/lmh/templates/LogansPort_Memorial_Hospital/iepngfix.htc) 
}
 
h1 {
      color: #4a6171;
      font-size: 20px;
   }
 
#wrapper {
	width: 779px;
	margin: 0 auto; /* centering the page */
	text-align: left;
	}
#container {
      background: #fff;
      height: 100%;
      overflow: auto;
      width: 100%;
}
#header {
      background: #fff;
	height: 34px;
	margin: 0 auto; /* centering the page */
	padding: 0; 
	}
#left {
      background: #fff;
	float: left;
	width: 200px;
      background: #fff url(../images/left_bg.png) repeat-x top;
      margin: 5px;
      padding: 10px;
      height: 100%;
	}
#content {
      background: #fff;
	float:left;
      padding: 20px;
      height: 100%;
      width: 739px;
      min-height: 400px;
	}
#footer {
     clear: both;
     background: url(../images/bg_footer.png) no-repeat top;
     color: #024886;
     font-size: 10px;
     height: 25px;
     width: 780px;
}
#footleft {
     width: 300px;
     float: left;
     padding: 10px;
}
#footright a {
     color: #024886;
     width: auto;
     float:right;
     padding: 10px;
     text-decoration: none;
}
 
#logo {
      display: block;
	height: 135px;
	width: 265px;
}
#icons {
      position: relative;
      display: block;
	background: url(../images/icon_bar_06.gif) repeat-x;
	height: 37px;
	width: 440px;
      float: right;
     
}
#splash {
      text-align: center;
      margin: 5px;
}
 
.tile {
	float: left;
	width: 106px;
      height: 225px;
      margin: 5px;
}
 
input.submit {text-transform:uppercase; font-family:Tahoma, Arial, Helvetica, Geneva, sans-serif; font-size:10px; background-color:#336699; color:#ffffff; font-weight:bold; border: 2px solid; border-color:#003333;}
 
input.submit:hover {text-transform:uppercase; font-family:Tahoma, Arial, Helvetica, Geneva, sans-serif; font-size:10px; background-color:#488AA0; color:#ffffff; font-weight:bold; border: 2px solid; border-color:#333333;}
 
.flat {font-size: 11px; color: #336699; border: #336699 1px solid; font-family:Tahoma, Arial, Helvetica, Geneva, sans-serif; background: #ffffff; padding-left: 5px;}
 
#baby_frame {
      position:relative;
      width: 500px;
      height: 600px;
      z-index: 10;
      border: 2px solid black;
      left: 120px;
}
#baby_frame .imageFrame {
      position:absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 30;
}
#baby_pic {
      position:absolute;
      top: 120px;
      left: 50px;
      z-index: 10;
}
#baby_name {
      position: absolute;
      top: 30px;
      left: 20px;
      width: 350px;
      z-index: 50;
}
.bdetail th {
    font-size: 12px;
    color: #000;
    text-align: right;
    font-weight: bold;
} 
.babydetails {
      position: absolute;
      top: 410px;
      left: 195px;
      width: 255px;
      z-index: 60;
}
h3.baby {
      color: #000;
      font-size: 37px;
      font-weight: bold;
      margin-top: 1px;
      padding-left: 20px;
}
h4.baby {
    color: #000;
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 1px;
    font-style: italic;
}
img.dogear {
    position: relative;
    top: -13px;
    right: -13px;
    float: right;
}
 
table.baby {width:100%; border-collapse: collapse; border-spacing:0; border-color: #000000; border-width: 1px; border-style: solid;}
table.baby th {white-space: nowrap; text-transform: uppercase; text-align: center; background:#336699; padding:4px; font-size: 9px; font-weight: bold; color: #ffffff; border-color: #2F8A53; border-width: 1px; border-style: solid; padding: 4px;}
table.baby td {font-size: 90%; font-weight: normal; color: #000000; border-color: #2F8A53; border-width: 1px; border-style: solid; padding: 4px; }
 
div.contentbox {
    float: left;
    background: #F7F7F7;
    border: 1px dotted #ccc;
    padding: 12px;
    width: 712px;
    margin-top: 20px;
}
 
/* #############  CONTENT - SECTIONS & CATEGORIES ###########################*/
/* Element |ID   | Class 			  |Suffix */
/* Div     |NA   |contentheading   |pageclass_sfx*/
/* com_content AKA CORE ARTICLES FOR JOOMLA */
/* I */
 
/*  Needs Edit component heading */
/* Element |ID   | Class 			  |Suffix */
/* Div     |NA   |contentheading   |YES */
/* Top of any article is Parameters - Component : Show Article Title*/
.componentheading {
   font-size: 20px;
   color: #336699;
}
	
/* Element |ID   | Class 			  |Suffix */
/* Div     |NA   |contentheading   |YES */
/* Top of any article is Parameters - Component : Show Article Title*/
.contentheading {
      float: left;
      width: 670px;
}
 
.simplelist {
	float: left;
      width: 750px;
      padding-bottom: 20px;
}
/* article rating needs to turn on via the back-end */
.content_rating {}
.content_vote {}
/* .button class to be added see forms css */
 
 
/* Element |ID   | Class 			    |Suffix */
/* Div     |NA   |contentpagetitle   |YES */
/* Top of any article is Parameters - Component : Show Article Title*/
/* content title and links href links happens if turned on via the back-end*/
.contentpagetitle{}
a.contentpagetitle:link{}
a.contentpagetitle:visited {}
a.contentpagetitle:hover{}
 
/* top box like a category description */
.contentdescription {}
 
/* Icons Print E-mail PDF etc.*/
.buttonheading{
	float: left;
	width: 60px;
}
 
/* Writen by Authors name can also be seen on search com results href and intro text & Category listing if it has a article count*/
.small {}
 
/* Dates */
.createdate {}
.modifydate {}
.newsfeeddate {}
/* Dates */
 
 
/* Main Body Text */
.contentpane {}
/* Main Body Text */
.contentpaneopen {}
/* edit button if you have access to it */
.contentpaneopen_edit{}
 
 
/* Article Table of contents */
table.contenttoc {float:right;}
	
/* Heading Top TOC */
table.contenttoc th {}
 
/* Table Data can add color */
table.contenttoc td {}
 
/* Links Article Table of contents index */
a.toclink:link,	a.toclink:hover, a.toclink:visited  {}
/* End Article Table of contents  */
 
/* Main Body Text */
 
/* << Prev - Next >> */
.pagenavbar{}
.pagenavcounter{}
 
/* Page footer nav  « StartPrev12NextEnd » */
.pagination{}
.pagination span {}
a.pagination  a   {} 
a.pagination:hover {}
 
/* Table layout types "list"ings  Archived, weblink etc..*/
.sectiontableheader {}
	
/* Table odd and Even Rows */
.sectiontableentry1 {}
.sectiontableentry2 {}
.sectiontablefooter {}
/* End Sectiontable */
 
/* Category */
.category {}
a.category:link, a.category:visited, a.category:hover  {}
/* End category */
 
 
/* blogs Layout Style Top of the page Blog style Layouts */
.blog {}
.blog_heading {}
/*  At the footer of the blog style pages */
.blog_more{}
/* UL List at the footer of the Page */
.blogsection{}
 
/* Read more link to full article  */
.readon{}
 
/* space from bottom of article */
.article_separator{}
  
/* new and Added  */
 /* This is table's TD tag that goes around the hole frontpage and blog com's 
 the backround would cover both td's or all colums
 */
.article_column{}
 
/* this class add formating to the right side of the content front page. 
it will overwrite the hole right and take formating over article_column after the first col
*/
.column_separator{}
/* End blogsection */
 
 
/* Need to Edit this is not My code See plugins images */
/* thumbnails */
div.mosimage         {}
div.mosimage_caption {}
 
div.caption       {}
div.caption img   {}
div.caption p     {}
/* Need to Edit this is not My code See plugins images */
 
/* New added */
/* com_archive */
/* 
li      |row                  | 1
h4      |title                |
h5		  |metadata					|
span    |created-date         |
span    |author               |
div     |intro                | */
 
/* It's LI in a UL list  */
 .row1{}
 /* H4 Header tag for Title */
 .title{}
 
 
 /* Plugin content Items Archived Article List */
 /* It a h5 HTML tag which wraps around the authors name meta etc.. */
 /* needs div id forul list type layout */
.author{}
.metadata{}
.intro{}
.MsoNormal{}
 
/*Com Polls*/
/* Has Styles inside its own com folder */
/*td      |smalldark          	| */
.smalldark  {}
 
/*com_search*/
.searchintro{}
/*Search Form keyword highlight*/
.highlight {}
 
/* ############# END CONTENT - SECTIONS & CATEGORIES ###########################*/
[+][-]02/24/09 10:04 AM, ID: 23724329Accepted 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

Zone: Cascading Style Sheets (CSS)
Sign Up Now!
Solution Provided By: rentawebguy
Participating Experts: 2
Solution Grade: A
 
[+][-]02/24/09 06:51 AM, ID: 23722026Expert 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.

 
[+][-]02/24/09 06:57 AM, ID: 23722099Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]02/24/09 07:19 AM, ID: 23722339Expert 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.

 
[+][-]02/24/09 08:02 AM, ID: 23722845Expert 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.

 
[+][-]02/24/09 09:54 AM, ID: 23724221Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625