Advertisement

04.23.2008 at 09:41AM PDT, ID: 23347327
[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

Center Align Field Set in Firefox and IE

Asked by joc85 in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Firefox Web Browser

Tags: ,

Hello Experts.
I a field set with a form inside a div that I will like to center align. Below is my code. For some reason it aligns correctly on IE but no on Firefox. Any idea why?
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:
<!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>Users</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<style type="text/css">
 
* {
margin:0;
padding:0;
top:0;
}
 
/* General Style Info */
html
{
height:100%;
}
 
 
 
body {
	background-color: #666;
	background-image:url(../img/navbar.png);
	background-repeat:repeat-y;
    height:100%;
	min-height:100%; 
	color: #fff;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	margin: 0;
}
 
h1, h2, h3, h4 {
	background-color: inherit;
	font-weight: normal;
}
 
h3 {
	color:#000099;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 165%;
	font-weight:bold !important;
	padding-bottom:5px;
}
 
/* Layout */
#container {
	text-align: left;
}
 
#header{
	/*padding: 10px 20px;*/
	background-image:url(../img/Rightbar.png);
	height:80px;
}
 
 
 
#menu
{
position:relative;
padding-top:10px;
padding-right:5px;
padding-left:5px;
width:130px;
height:90%;
float:left;
background-image:url(../img/navbar.png);
}
 
#menu table
{
background-color:#FFFF00;
width:80%;
}
 
#menu th
{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-transform: capitalize;
	color: #FFFF00;
	background-color: #0000FF;
	border: thin solid #0000FF;
}
 
#menu td
{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	font-weight: normal;
	text-transform: capitalize;
	color: #0000FF;
	background-color: #FFFF00;
	border: thin solid #0000FF;
}
 
#content{
 
	position:relative;
	height:90%;
	float:left;
	background-color: #fff;
	color: #333;
	padding: 10px 20px 40px 20px;
	margin-bottom:40px;
	margin-top:10px; 
}
 
#content .centeredObject
{
text-align:center;
}
 
#content .centeredObject fieldset {
	border-style:solid;
	border-color:#000099;
	border-width:medium;
	padding: 16px 20px;
	margin-left:auto;
    margin-right:auto;
	text-align:left;
 
}
 
 
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -65px; /* the bottom margin is the negative value of the footer's height */
}
#push /* .push must be the same height as .footer */
{
height:65px;
}
#footer  {
    clear:both;
	height: 65px; 
	padding: 6px 10px;
	text-align: center;
	background-image:url(../img/Rightbar.png);
	background-repeat:repeat-x;	
}
 
 
 
/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 80%;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
 
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	display: block;
	font-size: 140%;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	padding: 2px;
}
 
 
 
 
</style>
 
 
<body>
 
<!-- If you'd like some sort of menu to 
show up on all of your views, include it here -->
<div id="header">
	<h3>HEADER</h3>	</div>
<div class="wrapper">
	<div id="menu">
 
		<table  border="0" cellspacing="0" cellpadding="2" align="center">
			<tr>
				<th>
				MENU 1
				</th>
			</tr>
			<tr>
				<td>
				MENU 2
				</td>
 
			</tr>
			<tr>
				<td>
				MENU 3
				</td>
			</tr>
			<tr>
				<td>
				MENU 4
				</td>
 
			</tr>
		</table>
	</div>
 
	<div id="content">
		<form id="UserRegisterForm" method="post" action="/zabatt/users/register">
		<fieldset style="display:none;">
		<input type="hidden" name="_method" value="POST" />
		</fieldset>
		<div class="centeredObject">
			<fieldset style="width:500px;">
				<h3>
					Please fill out the form below to register an account
				</h3>
 
			<div class="input required">
				<label for="UserFirstName">
				First Name
				</label>
				<input name="data[User][first_name]" type="text" maxlength="250" value="" id="UserFirstName" />
			</div>
			<div class="input required">
				<label for="UserLastName">
				Last Name
				</label>
				<input name="data[User][last_name]" type="text" maxlength="250" value="" id="UserLastName" />
			</div>
			<div class="input required">
				<label for="UserUsername">
				Username
				</label>
				<input name="data[User][username]" type="text" maxlength="250" value="" id="UserUsername" />
			</div>
			</form>	</fieldset>
		</div>	
	</div>
	<div id="push">
	</div>
 
</div>
<!-- Add a footer to each displayed page -->
 
<div id="footer">
	Copyright © Zabatt, 2008
</div>
 
</body>
</html>
[+][-]04.23.2008 at 09:57AM PDT, ID: 21422836

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.23.2008 at 09:59AM PDT, ID: 21422855

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.

 
[+][-]04.23.2008 at 10:59AM PDT, ID: 21423470

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.

 
[+][-]04.23.2008 at 11:01AM PDT, ID: 21423495

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.

 
[+][-]04.23.2008 at 11:03AM PDT, ID: 21423512

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), Firefox Web Browser
Tags: CSS /HTML, IE 6/ Firefox
Sign Up Now!
Solution Provided By: Kravimir
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.23.2008 at 11:03AM PDT, ID: 21423517

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.

 
[+][-]04.23.2008 at 11:05AM PDT, ID: 21423531

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.

 
[+][-]04.23.2008 at 11:07AM PDT, ID: 21423560

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