Advertisement

05.18.2008 at 12:08PM PDT, ID: 23412215
[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!

9.6

Move left column HTML to end of HTML

Asked by hankknight in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML)

For SEO reasons I want the HTML for my left column to be at the END of my HTML (after <div id="contentWide">)

How can I do this and keep the layout looking the same?  

To test your idea, refresh my code several times.  Every time you refresh my code the content changes.

Thanks!Start Free Trial
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:
<!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>
<title>Page Title Here</title>
<style type="text/css">
html, body {
 padding: 0px;
 margin: 0px;
 height: 100%;
 width: 100%;
}
 
body {
 font-family: Arial, helvetica, sans-serif;
 background: #88A8C8 url(../images/bg.png) repeat scroll 100% 100%;
 font-size: 9pt; 
 font-weight: 300;
 text-decoration: none;
 min-width: 910px;
}
 
img {
 border: 0px;
}
 
#header 
{
 background: transparent url(../images/top.png) no-repeat scroll top center;
 width: 990px;
 margin: 0 auto;
 height: 100px;
 border: 0px;
}
 
#container 
{
 margin: 0 auto;
 padding: 0 0 25px 0;
 width: 990px;
 background: white url(../images/main.png) repeat-y scroll 100% 100%;
 
}
 
#leftSnip 
{
 min-height: 600px;
 height: 600px;
 height: auto !important;
 width: 162px;
 padding: 3px 8px 70px 12px;
 border-right: 1px solid #B2CBDE;
 float: left;
}
 
#rightSnip 
{
 min-height: 600px;
 height: 600px;
 height: auto !important;
 width: 162px;
 padding: 3px 12px 70px 8px;
 border-left: 1px solid #B2CBDE;
 float: right;
}
 
#content 
{
 margin: 0 193px;
 padding: 0px;
}
 
#contentWide
{
 width: 775px;
 margin: 0 0 0 193px;
 padding: 0px;
 
}
 
#main 
{
 padding: 15px 0 0 0;
 display: block;
float: right;
}
 
hr {
 border: 0px;
 height: 0px;
 padding: 3px 0px;
 margin: 8px 1% 8px 1%;
 text-align: center;
 width: 96%;
 display: inline-block;
 border-bottom: 1px dashed #3073A5;
}
 
#footer {
 clear: both;
 width: 990px;
 height: 51px;
 vertical-align: middle;
 line-height: 26px;
 color: #27689C;
 margin: 0 auto;
 padding: 0 0 2px 0;
 text-align: center;
 background: transparent url(../images/foot.png) no-repeat scroll 100% 100%;
 overflow: hidden;
}
 
#footer span{
 color: white;
 display: block;
 padding: 0px;
 margin: 0px;
 line-height: 23px;
}
 
#leftSnip:after,
#rightSnip:after,
#container:after, 
#main:after
{
 content:"."; 
 display:block;
 height:0; 
 clear:both; 
 visibility:hidden;
}
 
#search {
 position: relative;
 top: 60px;
 right: 0px;
 padding: 0 0 0 610px;
 width: 380px;
 margin: 0 auto;
 text-align: left;
 border: 0px;
}
 
#search form {
 display: inline;
}
 
#search input {
display: inline;
border-left: 1px solid #97B9D2;
border-right: 1px solid #97B9D2;
border-top: 0px;
border-bottom: 0px;
width: 160px;
padding: 3px 5px 1px 1px;
background-color: #f1f2f3;
color: #777;
}
 
#search span {
 position: relative; 
 top: -23px;
 left: -170px;
 margin: -220px 0 0 0;
 display: inline;
 text-align: left;
 width: 220px;
 vertical-align: bottom;
 height: 18px;
 line-height: 18px;
 font-family: Arial, Tahoma, 'Trebuchet MS', sans-serif;
 font-size: 9pt; 
 font-weight: 600;
 color: #E0E0E0;
}
 
.inputSubmit {
 position: absolute;
 border: 0px solid transparent !important;
 width: 30px !important;
 height: 20px !important;
 line-height: 13px !important;
 vertical-align: basline !important;
 color: #5979B9 !important;
 background-color: transparent !important;
 font-weight: 600;
 font-size: 10px;
 padding: 0px;
}
 
#tools {
 position: absolute;
 top: 0; left: 0px;
 width: 100%;
 display: block;
 height: 100px;
 margin: 0px;
 padding: 0px;
 text-align: center;
}
 
#tools p {
 padding: 0 0 0 607px;
 width: 383px;
 margin: -10px auto 0 auto;
 text-align: left;
 color: #fff;
}
 
#tools img {
 padding: 0 6px;
}
 
#tools a, #tools a:link, #tools a:visited {
 color: #D9E3EB;
 text-decoration: none;
 padding: 0px 4px;
} 
 
#tools a:active, #tools a:hover {
 color: #C5EA44;
} 
 
 
h1 {
 font-size: 13pt;
 line-height: 14pt;
 padding: 0px;
 margin: 0px;
}
 
h2 {
 background: #3073A5 url(../images/header.png) no-repeat scroll top left;
 font-size: 13pt;
 line-height: 30px;
 height: 30px;
 width: 395px;
 color: white;
 overflow: hidden;
 margin: 10px 0 14px 0;
 padding: 3px 0 2px 10px;
}
 
h2 img {
 float: left;
 margin: 0 10px 0 0;
}
 
#images {
 float: right;
 width: 351px;
 display: inline;
 overflow: hidden;
 margin: 0 0 0 10px; 
}
 
#images img {
margin: 0 0 16px 0; 
}
</style>
<script type="text/javascript">
var validchars = "ei rm od te m por in vd";
var startvalid = "sed di am non umy ei rm ";
function CreateText(maxsize)
{
  var minsize, count, actualsize;
  minsize = Math.floor(Math.random()*1000);
  if (maxsize<(Math.ceil(maxsize * 1.5)))
  var str = (Math.ceil(maxsize * 1.5));
  actualsize = Math.floor(Math.random() * (maxsize - minsize + 1)) + minsize;
  document.write('Lorem ipsum ');
  document.write(startvalid.charAt(Math.floor(Math.random()
    * startvalid.length)));
  for (count = 1; count<actualsize; count++)
    document.write(validchars.charAt(Math.floor(Math.random()
      * validchars.length)));
  document.write('.');
}</script>
</head>
<body>
<div id="header"></div>
<div id="container">
	<div id="leftSnip">
		<h3>Left Column</h3>
		<script type="text/javascript">CreateText(2000);</script>
	</div>
	<div id="contentWide">
		<div id="main">
		 <div id="images">
		</div>
 
		<h1>Heading Item</h1>
		<script type="text/javascript">CreateText(9000);</script>
		</div>
 
	</div>
</div>
 
<div id="footer">
 Footer Text
 <span>Copyright &copy; 2008.</span>
</div>
 
</body>
</html>
[+][-]05.18.2008 at 12:19PM PDT, ID: 21593693

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.18.2008 at 03:17PM PDT, ID: 21594278

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.18.2008 at 03:39PM PDT, ID: 21594341

View this solution now by starting your 14-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)
Sign Up Now!
Solution Provided By: Kravimir
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_EXPERT_20070906