Advertisement

07.03.2008 at 08:29AM PDT, ID: 23537191
[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.4

CSS alinment question

Asked by rawilkins in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Macromedia Dreamweaver

Can not fine where to edit and what to edit to make content center on pages, I have reduced line 16 in style.css so I now have the correct size but cannot see where to edit to have all centered in pages, I have attached the style.css then the layout.css and then the index.html codes, any pointers would be helpfulStart 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:
style.css code
* { margin:0; padding:0;}
body { background:#6e7175;  font-size:100%; line-height:1em; font-family:tahoma, arial; color:#6d6c6c;}
 
 
/*in_line*/
input, select, textarea { vertical-align:middle; color:#9e9e9e; font-size:1em; border:1px solid #9e9e9e; padding-left:3px; font-family:Tahoma; line-height:15px;}
img {border:0; vertical-align:top; text-align:left;}
ul { list-style:none;}
 
a:hover{text-decoration:none;}
 
.column { float:left;}
.clear { clear:both;}
 
.h_logo, .h_wr_menu, .h_menu, #content, .footer{width:766px;}
.tall_header{background:#FFF url(images/tall_header.jpg) 0 0 repeat-x; width:100%;}
/*header*/
.h_logo{ height:84px; font-size:0.625em;}
.h_logo .logo{ position:absolute; margin:28px 0 0 35px;}
.h_logo .h_top_link{ position:absolute; padding:34px 0 0 593px; word-spacing:6px; color:#ffffff;}
.h_logo .h_top_link a{ color:#ffffff; text-decoration:none;}
.h_logo .h_top_link a:hover{ color:#ffffff; text-decoration:underline;}
.h_wr_menu{ height:185px; background:url(images/h_wr_menu.jpg) 0 0  no-repeat;}
.h_wr_menu ul{ padding:46px 0 0 593px;}
.h_wr_menu ul li a{ color:#e4e5e6; text-decoration:none; background:url(images/wr_bull_header.gif) 0 0 no-repeat; padding:0 0 0 19px; font-size:0.625em; line-height:2em;}
.h_wr_menu ul li a:hover{background:url(images/wr_bull_header.gif) 4px 0 no-repeat; padding:0 0 0 19px;}
.h_menu{ height:85px; text-indent:18px;}
.h_menu img{ margin-top:9px;}
 
 
 
/*footer*/
.footer{ font-size:0.625em; color:#ffffff;}
.footer .img_footer{ position:absolute; margin:29px 0 0 38px;}
.ind_footer_menu{ margin:23px 0 0 280px; word-spacing:5px;}
.ind_footer_menu a{ color:#ffffff; text-decoration:none; word-spacing:normal;}
.ind_footer_menu a:hover{ text-decoration:underline;}
.ind_footer_menu span{ display:block; word-spacing:normal;}
.ind_footer_menu span a{ color:#ffc000; text-decoration:underline;}
.ind_footer_menu span a:hover{  text-decoration:none;}
 
 
 
/*content*/
#content{ font-size:0.687em; line-height:1.25em; padding-bottom:34px;}
#content .indent_col{ margin:0 0 0 36px; width:728px;}
#content .title{ display:block; margin-bottom:18px;}
#content .title1{ display:block; margin:37px 0 18px 0;}
#content .br{ display:block;}
#content .line_x{ background:url(images/line_x.gif) 0 10px repeat-x; height:20px;}
#content .link{ background:url(images/wr_link.gif) 0 0 no-repeat; padding:0 0 0 19px; color:#8d9197; text-decoration:none;}
#content .link:hover{background:url(images/wr_link.gif) 3px 0 no-repeat; text-decoration:none;}
#content .link_1{ color:#d03100;}
#content .link_2 a{ color:#9e9e9e;}
#content .link_2 img{ vertical-align:middle; margin:0 4px 0 0;}
#content li a{ background:url(images/list_wr.gif) leftleftno-repeat; padding:0 0 0 13px; color:#d03100; line-height:1.437em;}
#content .ind_top{ margin-top:14px; display:block;}
#content .deep_1 dt{ background:url(images/wr_dt.gif) leftleftno-repeat; padding:0 0 0 10px; color:#8d9197; font-size:10px; padding-bottom:3px;}
#content .deep_1 dd{ padding-bottom:15px;}
#content .img_left{ float:left; margin:2px 14px 0 0;}
#content .ind_bot{ margin-bottom:15px;}
#content p{ margin:11px 0 0 0;}
.col_list ul{ float:left;}
.link_a { display:block; margin-top:11px;}
.link_a img{ vertical-align:middle; margin:0 8px 0 0;}
.link_a a{ color:#8d9197; text-decoration:none;}
.link_a a:hover{ text-decoration:none}
.ind_bot1{ display:block; margin-bottom:5px;}
.bg_none{ background:none !important; padding-bottom:0 !important;}
.ind{margin-left:22px !important;}
/*================== index.html ==================*/
#page1 #content .col_1 .wr_table{margin:15px 0 0 0;}
#page1 #content .col_1 .form{ padding:17px 0 13px 23px;}
#page1 #content .col_1 .indent_form{ height:27px;}
#page1 #content .col_1 .form .title{ margin-bottom:8px !important;}
#page1 #content .col_1 .indent_form img{ vertical-align:middle; margin-left:3px;}
#page1 #content .col_1 .indent_form input{ width:142px; height:18px; font-size:0.875em;}
/**/
#page1 #content .col_2 .ind_img{ float:left; margin-right:15px;}
/*================== index-1.html ==================*/
#page2 #content .col_1 .col_box{ width:450px;}
#page2 #content .col_1 .col_box_1{ width:209px;} 
#page2 #content .col_1 .col_box_2{ width:205px; margin-left:30px;}
/*================== index-2.html ==================*/
#page3 #content .ind_list_left{ margin-left:57px;}
/*================== index-4.html ==================*/
#page5 #content .col_1 .ind_top{ margin-top:7px !important;}
/*================== index-5.html ==================*/
#page6 #content .col_2 ul{ margin-bottom:9px;}
#page6 #content .col_3 .title1{ margin-top:33px !important;}
/*================== index-6.html ==================*/
#page7 #content .col_1 .wr_table{margin:15px 0 0 0;}
#page7 #content .col_1 .form{ padding:17px 0 13px 23px;}
#page7 #content .col_1 .indent_form{ height:27px;}
#page7 #content .col_1 .form .title{ margin-bottom:8px !important;}
#page7 #content .col_1 .indent_form img{ vertical-align:middle; margin-left:3px;}
#page7 #content .col_1 .indent_form input{ width:142px; height:18px; font-size:0.875em;}
/**/
#page7 #content .col_2 span{ float:right; margin-right:55px;}
/**/
#page7 #content .col_3 .col_box{ width:190px;} 
#page7 #content .col_3 .col_box_1{ width:59px; text-align:right;} 
#page7 #content .col_3 .col_box_2{ width:120px;} 
#page7 #content .col_3 .ind_form{ height:28px;}
#page7 #content .col_3 input{ height:18px;}
#page7 #content .col_3 textarea{ overflow:auto; display:block; margin-bottom:11px; height:87px;}
#page7 #content .col_3 textarea, #page7 #content .col_3 input{ width:119px; margin-left:10px;}
#page7 #content .col_3 .form_main{ padding:14px 0 21px 18px;}
/*==================list====================*/
.wr_table { width:224px;}
.wr_table .wr_top_x{background:url(images/line_x1.gif) repeat-x top;}
.wr_table .wr_bot_x{background:url(images/line_x1.gif) repeat-x bottom;}
.wr_table .wr_left_y{background:url(images/line_y.gif) repeat-y left;}
.wr_table .wr_right_y{background:url(images/line_y.gif) repeat-y right;}
 
 
.list li { background:url(images/list_marker.gif) 0 0 no-repeat; background:url(images/line_x.gif) bottom leftrepeat-x; padding:10px 0;}
.list li a { background:url(images/list_marker.gif)left no-repeat; padding:0 0 0 13px; color:#d03100; display:block;}
/*==========================================*/
layout.css code
.site_center {text-align:center;}
.main {
	margin:0 auto;
	width:713px;
	text-align:center;
}
 
 
.col_1, .col_2, .col_3, .col_box_1, .col_box_2{ float:left;}
 
 
/*======= index.html =======*/
#page1 #content .col_1{width:224px;}
#page1 #content .col_2{width:207px; margin-left:36px;}
#page1 #content .col_3{width:218px; margin-left:40px;}
/*=========================*/
 
/*======= index-1.html =======*/
#page2 #content .col_1{width:450px;}
#page2 #content .col_2{width:205px; margin-left:41px;}
/*=========================*/
 
/*======= index-2.html =======*/
#page3 #content .col_1{width:206px;}
#page3 #content .col_2{width:453px; margin-left:37px;}
/*=========================*/
 
/*======= index-3.html =======*/
#page4 #content .col_1{width:210px;}
#page4 #content .col_2{width:207px; margin-left:36px;}
#page4 #content .col_3{width:218px; margin-left:40px;}
/*=========================*/
 
/*======= index-4.html =======*/
#page5 #content .col_1{width:298px;}
#page5 #content .col_2{width:332px; margin-left:68px;}
/*=========================*/
 
/*======= index-5.html =======*/
#page6 #content .col_1{width:210px;}
#page6 #content .col_2{width:207px; margin-left:36px;}
#page6 #content .col_3{width:218px; margin-left:40px;}
/*=========================*/
 
/*======= index-6.html =======*/
#page7 #content .col_1{width:210px;}
#page7 #content .col_2{width:199px; margin-left:30px;}
#page7 #content .col_3{width:224px; margin-left:30px;}
/*=========================*/
 
/*======= index-7.html =======*/
#page8 #content .col_1{width:686px;}
/*=========================*/
index.html code
<?xml version="1.0" encoding="utf-8"?>
<!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" lang="en">
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
</head>
<body id="page1">
<div class="tall_header">
	<!-- header  -->
	<div class="h_logo">
		<a href="index.html"><img src="images/logo.gif" class="logo" alt="" /></a>
		<div class="h_top_link"><a href="index.html">home</a>   :   <a href="#">search</a>   :   <a href="#">sitemap</a></div>
	</div>
	<div class="h_wr_menu">
		<ul>
			<li><a href="#">clients</a></li>
			<li><a href="#">global presence</a></li>
			<li><a href="#">multimedia library</a></li>
			<li><a href="#">news &amp; ideas</a></li>
			<li><a href="#">strategy + business</a></li>
		</ul>
	</div>
	<div class="h_menu"><a href="index-1.html"><img src="images/m1.gif" alt="" /></a><a href="index-2.html"><img src="images/m2.gif" alt="" /></a><a href="index-3.html"><img src="images/m3.gif" alt="" /></a><a href="index-4.html"><img src="images/m4.gif" alt="" /></a><a href="index-5.html"><img src="images/m5.gif" alt="" /></a><a href="index-6.html"><img src="images/m6.gif" alt="" /></a></div>
	<!-- content -->
	<div id="content">
		<div class="indent_col ind">
			<div class="col_1">
				<div class="ind">
					<img src="images/page1_title_1.gif" class="title" alt="" />
					Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut <a href="#" class="link_1">labore et dolore magna</a> liqua enim ad minim veniam, quis nostrud. 
					<div class="line_x"></div>
					<ul>
						<li><a href="#">lorem ipsum dolor sit amet consect</a></li>
						<li><a href="#">adipisicing elit, sed do eiusmod tem</a></li>
						<li><a href="#">incididunt ut labore et dolore mag</a></li>
					</ul>
					<div class="line_x"></div>
					<a href="#" class="link">more information</a>
				</div>
				<div class="wr_table">
					<div class="wr_top_x">
						<div class="wr_bot_x">
							<div class="wr_left_y">
								<div class="wr_right_y">
									<form id="form" action="" enctype="multipart/form-data" >
									<div class="form">
										<img src="images/page1_title_4.gif" class="title" alt="" />
										<div class="indent_form"><input type="text" value="Enter your e-mail:" /><a href="#" onclick="document.getElementById('form').submit()"><img src="images/form_button.gif" alt="" /></a></div>
										<span class="link_2"><img src="images/link_2.gif" alt="" /><a href="#">unsubscribe</a></span>
									</div>
									</form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="col_2">
				<img src="images/page1_title_2.gif" class="title" alt="" />
				<strong class="br">Lorem ipsum dolor </strong>
				consectetur adipisicing elit, sed do iusmod tempor incididunt ut liqua enim ad minim veniam quis nostrud exercitation ullamco.
				<div class="line_x"></div>
				<img src="images/page1_pic_1.gif" class="ind_img" alt="" />
				<a href="#" class="link_1">Consectetur adipisicing elit, sed do iusmod tempor incididunt</a>
				<br class="clear"  />
				<div class="ind_top">
					<img src="images/page1_pic_2.gif" class="ind_img" alt="" />
					<a href="#" class="link_1">Ut liqua enim ad minim veniam quis nostrud exercitation </a>
					<br class="clear"  />
				</div>
				<div class="line_x"></div>
				Consectetur adipisicing elit, sed do iusmod tempor incididunt <a href="#" class="link_1">ut liqua enim ad</a> minim veniam quis nostrud exercitation.
				<div class="line_x"></div>
				<a href="#" class="link">read more</a>
			</div>
			<div class="col_3">
				<img src="images/page1_title_3.gif" class="title" alt="" />
				<dl class="deep_1">
					<dt>15.12.05</dt>
					<dd><a href="#" class="link_1">Lorem ipsum dolor sit amet, consectetur adipisicing elit sed do eiusmod tempor. </a></dd>
					<dt>11.12.05</dt>
					<dd><a href="#" class="link_1">Incididunt ut labore et dolore magna liqua enim ad minim veniam, quis nostrud.  </a></dd>
				</dl>
				<div class="line_x"></div>
				<a href="#" class="link">all archive</a>
				<a href="#"><img src="images/page_banner_1.jpg" class="ind_top" alt="" /></a>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>
<!-- footer -->
<div class="tall_footer">
	<div class="footer">
		<img src="images/footer_img.gif" class="img_footer" alt="" />
		<div class="ind_footer_menu">
			<a href="index-1.html">About us</a>   ::   <a href="index-2.html">Services</a>   ::   <a href="index-3.html">Industries</a>   ::   <a href="index-4.html">Careers</a>   ::   <a href="index-5.html">Publications</a>   ::   <a href="index-6.html">Contacts</a>
			<span>Copyright &copy; 2006 Company name. <a href="index-7.html">Privacy policy</a></span>			
		</div>
	</div>
</div>
</body>
</html>
[+][-]07.03.2008 at 08:48AM PDT, ID: 21926628

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

 
[+][-]07.03.2008 at 08:52AM PDT, ID: 21926666

View this solution now by starting your 7-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), Macromedia Dreamweaver
Sign Up Now!
Solution Provided By: Zyloch
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.03.2008 at 09:20AM PDT, ID: 21926943

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

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628