Advertisement

11.13.2007 at 11:59AM PST, ID: 22958149
[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!

8.6

Adapting CSS for use in IE6 - works well in IE7, Mozilla

Asked by jfruin in Cascading Style Sheets (CSS)

Tags: , ,

Have been adapting a perfectly good CSS (working well in IE7, Mozilla, and Safari) to IE6. Have made some progress with margins and padding but I seem to be stuck positioning my third column properly.

At this point I'm just hacking.  Some advice would be helpful

view the site at www.gtxm.com

I am using javascript to identify a browser level below IE7.

here is the IE6 adaptation to the core CSS.

/*IE 6 change ********** changed col_right margin-left to 1px */
.col_right {
      float: left;
      width: 48%;
      margin-left: 1px;
}

/* ----------------------------- COLUMN_LEFT ----------------------------- */
/*IE 6 change ********** - changed padding_left to 6px ---- */
#column_left {
      background: url(../images/bg_content.gif) repeat-x top center;
      width: 189px;
      float: left;
      padding-top: 12px;
      padding-left: 6px;
}

/* ----------------------------- COLUMN_CENTRAL ----------------------------- */
/*IE 6 change ********** - changed padding_right to 1px and added margin-left to -15 ---- */
#column_central {
      background: url(../images/bg_content.gif) repeat-x top center;
      width: 543px;
      float: left;
      min-height: 700px;
      padding-top: 10px;
      padding-right: 1px;
      margin-left: -15px;
}

/* ----------------------------- COLUMN_RIGHT ----------------------------- */
/*IE 6 change ********** - changed padding to 0px
removed float:right and added specific margins ---- */
#column_right {
      background: url(../images/bg_column_right.gif) repeat-x top center;
      width: 177px;
      padding: 0px;
      font: 10px Geneva, Verdana, Arial, Helvetica, sans-serif;
      margin-left: 729px;
      margin-right: 907px;
      margin-top: 150px;
}
html>body #column_right {
      width: 153px;
}
#column_right a {
      color: #7492b3;
}
#column_right span.a {
      color: #999;
}
#column_right h3 {
      font: 10pt Geneva, Verdana, Arial, Helvetica, sans-serif;
      font-weight: bold;
      margin-bottom: 8px;
      text-align: center;
      
}
/* ----------------------------- FORM_2COLUMN and other form controls ----------------------------- */
.form_2column label {
      width: 150px;
      display: block;
      float: left;
      text-align: right;
      margin-top: 4px;
}
.form_2column input, .form_2column select {
/* --      margin-top: 4px;  I killed this line to fix the RadCombobox vertical alignment problem - */
      margin-left: 8px;
}
.form_2column td input, .form_2column td select {
      margin-left: 0px;
}

.nofloat label {
      width: auto !important;
}
label.nofloat {
      float: none;
      display: inline;
}

input.field, select, textarea {
   font: 8pt Geneva, Verdana, Arial, Helvetica, sans-serif;
   border: 1px solid #7492b3;
   padding: 2px;
}
input:hover.field, select:hover, textarea:hover {
      background-color: #eee;
}
input:focus.field, texarea:focus {
      background-color: #eee;
}
input.field {
      width: 200px;
}
#edit_registry fieldset#event_promoter_contact_information input.field {
      width: 160px;
}

select:focus, textarea:focus {
      background-color: white;
}

label.disabled {
      color: #999;
}
input.disabled, textarea.disabled {
      background-color: white;
      border-color: #999;
}
input:hover.disabled, texarea:hover.disabled {
      background-color: white !important;
}

option {
   padding: 1px;
}
span.checkbox input {
      margin-right: 4px;
}
input.button {
      color: white;
      text-align: center;
      font-weight: bold;
      border: 0px;
      width: 100px;
      height: 28px;
      background: url(../images/button_blue.gif) top left no-repeat;
      cursor: pointer;
      font-family: Geneva, Verdana, Arial, Helvetica, sans-serif;
      font-size: 13px;
}
input.secondary {
      background: url(../images/button_gray.gif) top left no-repeat;
}
input:hover.button {
      color: #a4c2e3;
}
input:hover.secondary {
      color: #ccc;
}
fieldset {
      border: 1px solid #aaa;
      padding: 10px;  /* padding in fieldset support spotty in IE */
      margin: 0;
      background: #e7e7e7 url(../images/bg_orange_fieldset.jpg) repeat-x;
}

fieldset legend {
      font-weight: bold;
      color: #666;
      font-size: 1.1em; /* bump up legend font size, not too large or it'll overwrite border on left
                         be careful with padding, as it'll shift the nice offset on top of border  */
}
.error_message {
      color: #a00;
}

.required {
      font-size: 80%;
      color: #a00;
}
p.required {
      margin-bottom: 10px;
      text-align: right;
}

.symbol {
}

.login label {
      width: 100px;
      text-align: left;
}

#edit_preferences label {
      width: 130px;
}
#edit_preferences .settings label {
      width: 100px;
}
#select_role label {
      width: 100px;
}
#edit_preferences select {
      margin-bottom: 4px;
}

#radbutton input{
      margin-right: .3em;
      margin-left: 150px;
      float: left;      
}Start Free Trial
[+][-]11.13.2007 at 12:32PM PST, ID: 20274839

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.

 
[+][-]11.13.2007 at 12:42PM PST, ID: 20274908

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.

 
[+][-]11.13.2007 at 12:52PM PST, ID: 20274989

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.

 
[+][-]11.13.2007 at 01:05PM PST, ID: 20275113

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.

 
[+][-]11.13.2007 at 01:22PM PST, ID: 20275265

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.

 
[+][-]11.13.2007 at 01:27PM PST, ID: 20275312

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: ie6, ie7, css
Sign Up Now!
Solution Provided By: Steggs
Participating Experts: 1
Solution Grade: A
 
 
[+][-]11.13.2007 at 01:58PM PST, ID: 20275581

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