toplisek
04-18-2006, 12:03 PM
I have code for steps with css and div:
<div id="steps" align="center" >
<img src="Images/step1_on.gif" width="29" height="29" align="absmiddle" />
<span class="step_label">Account information</span>
<img src="Images/step2_off.gif" width="29" height="29" align="absmiddle" />
<span class="step_label">E-mail with link to activate account</span>
<img src="Images/step3_off.gif" width="29" height="29" align="absmiddle" />
<span class="step_label">Activate your account</span>
<img src="Images/step4_off.gif" width="29" height="29" align="absmiddle" />
<span class="step_label2">Finish</span>
</div>
and css like e.g.:
#steps {background-image:url('slike/step_bg.gif');background-repeat:repeat-x; height:29px; margin:0px 0px 20px 0px;}
.step_label {height:29px; padding:8px 15px 0px 3px; font-weight:bold; color:#1e4e7f;}
.step_label2 {height:29px; padding:8px 0px 0px 3px; font-weight:bold; color:#1e4e7f;}
why is text not in the middle (vertical) of colour in IE? In Mozzila it works. :)
<div id="steps" align="center" >
<img src="Images/step1_on.gif" width="29" height="29" align="absmiddle" />
<span class="step_label">Account information</span>
<img src="Images/step2_off.gif" width="29" height="29" align="absmiddle" />
<span class="step_label">E-mail with link to activate account</span>
<img src="Images/step3_off.gif" width="29" height="29" align="absmiddle" />
<span class="step_label">Activate your account</span>
<img src="Images/step4_off.gif" width="29" height="29" align="absmiddle" />
<span class="step_label2">Finish</span>
</div>
and css like e.g.:
#steps {background-image:url('slike/step_bg.gif');background-repeat:repeat-x; height:29px; margin:0px 0px 20px 0px;}
.step_label {height:29px; padding:8px 15px 0px 3px; font-weight:bold; color:#1e4e7f;}
.step_label2 {height:29px; padding:8px 0px 0px 3px; font-weight:bold; color:#1e4e7f;}
why is text not in the middle (vertical) of colour in IE? In Mozzila it works. :)