Advertisement

06.24.2008 at 07:13AM PDT, ID: 23511041
[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.1

Help to center template

Asked by signpost2 in Cascading Style Sheets (CSS)

Tags:

I'm getting in a mess with this layout! How can I get this layout to center and still all work! html and css below. ThanksStart 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:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
html
<head>
 
<link href="suttons.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="main">
<div id="suttonlogo">
<div id="topnavtext">Mortgages &#9679; Furniture &amp; Refurbishment &#9679; Guide to Manchester &#9679;  Job Vacancies &#9679; Contact Us</div>
</div><!--suttonlogo end-->
<b class="b1f"></b><b class="b2f"></b><b class="b3f"></b><b class="b4f"></b>
      <div id="content">
          <div class="left">
    <ul class="link_list">
     <li><a href="#">Property for Sale</a></li>
      <li><a href="#">Property for Let</a></li>
      <li><a href="#">Selling your Property</a></li>
      <li><a href="#">Renting your Property</a></li>
      <li><a href="#">Black Management</a></li>
      <li><a href="#">Mortgages</a></li>
      <li><a href="#">Furniture &amp; Refurbishment</a></li>                      
    </ul>
          <div id="orangeband"><span class="property">PROPERTY</span><span class="search">SEARCH</span></div>
               <!-- start module quick_search -->
      <div class="module_quick_search">
        <form name="quick_search"class="searchform quicksearch" method="post" action="index.php?option=com_content&id=38&task=view">
          <!--<h3>Quick Search</h3>-->
          <p class="formLine"> 
            <label for="name"><strong>Min. price:</strong></label>
            <select name="min_price">
              <option value="0">0</option>
              <option value="100000">100K</option>
              <option value="200000">200K</option>
              <option value="300000">300K</option>
              <option value="400000">400K</option>
              <option value="500000">500K</option>
              <option value="650000">650K</option>
              <option value="800000">800K</option>
              <option value="1000000">1M</option>
            </select>
          </p>
          <p class="formLine">
            <label for="name"><strong>Max. price: </strong></label>
            <select name="max_price">
              <option value="100000">100K</option>
              <option value="200000">200K</option>
              <option value="300000">300K</option>
              <option value="400000">400K</option>
              <option value="500000">500K</option>
              <option value="650000">650K</option>
              <option value="800000">800K</option>
              <option value="1000000">1M</option>
              <option value=""selected="selected">No limit</option>
            </select>
          </p>
          <p class="formLine">
            <label for="name"><strong>Bedrooms: </strong></label>
            <select name="num_beds">
              <option value="0" selected="selected">0</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
              <option value="5">5</option>
              <option value="6">6</option>
              <option value="7">7</option>
              <option value="">No limit</option>
            </select>
          </p>
          <p class="formLine hidden"><strong>Location, Postcode, Keywords: </strong><input name="area_str_0" type="text" id="keywords" class="textbox" value=""/></p>
          <p class="formSubmit">
            <input type="submit"class="formButton"value="Search"/>
          </p>
        </form>
    </div>
    <!-- end module quick_search --> 
          
        </div><!--left end-->   
        <b class="b1d"></b><b class="b2d"></b><b class="b3d"></b><b class="b4d"></b>
          <div class="banner">
          <div id="headertext">
          <span class="bannerproperty">PROPERTY</span><span class="bannerfor">FOR</span><span class="bannersale">SALE</span>
          </div>
        </div><!--banner end-->
        
    <b class="b4d"></b><b class="b3d"></b><b class="b2d"></b><b class="b1d"></b>
    <div id="maincontent"><?php mosMainBody(); ?></div>
    </div>
<b class="b4f"></b><b class="b3f"></b><b class="b2f"></b><b class="b1f"></b>
<div id="footerinfo">&copy; Living Ltd 2008</div>
</div>
</body>
 
 
CSS
 
@charset "utf-8";
/* CSS Document */
/*body template*/
body{background-color:#223289; margin: 0; padding:0;}
#main {width: 920px;height:100%;text-align:center;background-color:#223289;
padding-top:0%; margin: 0 auto;}
#content{width:920px;height:98%;padding:1%;background-color:#fbfeee;}
#content .left{float:left;width:20%;height:98%;background-color:#868686; }
#content .banner{width:100%;height:10%;margin-top:0px;background-color:#FF9900;z-index:2;position:relative; text-align:left;}
.b1f, .b2f, .b3f, .b4f{font-size:1px; overflow:hidden; display:block;}
.b1f {height:1px; background:#fbfeee; margin:0 5px;}
.b2f {height:1px; background:#fbfeee; margin:0 3px;}
.b3f {height:1px; background:#fbfeee; margin:0 2px;}
.b4f {height:2px; background:#fbfeee; margin:0 1px;}
 
.b1c, .b2c, .b3c, .b4c{font-size:1px; overflow:hidden; display:block;}
.b1c {height:1px; background:#868686; margin:0 5px;}
.b2c {height:1px; background:#868686; margin:0 3px;}
.b3c {height:1px; background:#868686; margin:0 2px;}
.b4c {height:2px; background:#868686; margin:0 1px;}
 
.b1d, .b2d, .b3d, .b4d{font-size:1px; overflow:hidden; display:block;}
.b1d {height:1px; background:#FF9900; margin:0 5px;}
.b2d {height:1px; background:#FF9900; margin:0 3px;}
.b3d {height:1px; background:#FF9900; margin:0 2px;}
.b4d {height:2px; background:#FF9900; margin:0 1px;}
/*jen*/
#suttonlogo{
width: 100%;
background:url(images/suttonslogo.gif) no-repeat;
height: 80px;
}
#mainlogo{
width: 192px;
float:left;
background-color:#CC9900;
}
#topmenu{
width:728px;
float:left;
background-color:#33CC00;
}
#topnavtext{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#FFFFFF;
padding: 55px 0px 0px 340px;
text-align:left;
}
/*body template end*/
      ul.link_list {
        margin: 0;
        padding: 0px;
list-style-type: none;
        width: 200px;
		text-align:left;
		padding-bottom: 20px;
      }
      ul.link_list li {
        margin: 0;
        padding: 0;
      }
      ul.link_list a {
        display: block;
        width: 200px;
        height: 20px;
        border-bottom: 1px #FFF solid;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        font-size: 12px;
        line-height: 20px;
        padding: 0 5px;
        text-decoration: none;
      }
      ul.link_list a:link, ul.link_list a:visited {
        color: #fff;
        background: #868686;
      }
      ul.link_list a:focus, ul.link_list a:hover {
        color: #FFF;
        background: #777;
      }
      ul.link_list a:active {
      }
      ul.link_list li.color_2 a:link, ul.link_list li.color_2 a:visited {
        color: #fff;
        background: #7D7B7C;
      }
      ul.link_list li.color_2 a:focus, ul.link_list li.color_2 a:hover {
        color: #FFF;
        background: #777;
      }
      ul.link_list li.color_2 a:active {
        color: #fff;
        background: #7D7B7C;
      }
	        ul.link_list li.color_2 a:hover{
        color: #fff;
        background: #D0D0D0;
      }
 
	  /*nav end*/
#productheader{
width: 140px;
height: 35px;
background:url('images/pinkproducts.gif') no-repeat;
}
#leftnav{
background-color:#fff;
width: 140px;
padding: 0px 0px 0px 0px;
float:left;
}
 
#orangeband{
width: 200px;
height: 35px;
background-color:#FF9D1C;
padding: 10px 0 0 10px;
text-align:left;
}
.property{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:#000066;
}
.search{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
color:#ffffff;
}
#headertext{
width: 300px;
padding: 25px 0 0 10px;
}
.bannerproperty{
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
font-weight:bold;
color:#000066;
text-align:left;
padding: 0px 0 0 20px;
margin: 0;
}
.bannerfor{
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
font-weight:bold;
color:#fff;
text-align:left;
 
}
.bannersale{
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
font-weight:bold;
color:#000066;
text-align:left;
}
/*search script*/
p.formLine{
padding: 0 0 0 0;
margin: 5px;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color:#FFFFFF;
}
label
{
width: 8em;
float: left;
text-align: left;
margin-left: 0em;
display: block;
padding: 5px 0 0 0;
}
.formButton{
color:#223289;
background-color:#FF9D1C;
font-weight:bold;
}
.formSubmit{
padding-left: 5px;
}
#searchtitle{
width: 94px;
height: 30px;
background:url(../images/search_back.gif) no-repeat;
}
.module_quick_search{
background:url(../images/searchline.gif) repeat-x;
width: 200px;
padding-top: 20px;
}
.searchtext{
color:#fff;
font-size: 12px;
font-weight:bold;
padding: 10px 0 0 7px;
font-family:Arial, Helvetica, sans-serif;
}
.formLine hidden{
text-align:left;
}
#footerinfo{
width: 100%;
height: 20px;
color:#FFFFFF;
font-family:Arial, Helvetica, sans-serif;
font-size:10px;
padding-top: 5px;
}
/*main body*/
#maincontent{
width: 100%;
text-align:left;
padding: 10px 5px 0px 5px;
}
[+][-]06.24.2008 at 11:26AM PDT, ID: 21858692

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

Zone: Cascading Style Sheets (CSS)
Tags: CSS
Sign Up Now!
Solution Provided By: ram_0218
Participating Experts: 1
Solution Grade: B
 
 
[+][-]06.24.2008 at 12:17PM PDT, ID: 21859330

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.

 
[+][-]06.24.2008 at 12:27PM PDT, ID: 21859449

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.

 
[+][-]06.25.2008 at 03:10AM PDT, ID: 21864051

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 / EE_QW_2_20070628