hi everyone,
i was hoping someone could help me. the code below - in IE the menu options
(text) are a couple of pixels too low and i cant move them up, and the form
boxes are ok.
in mozilla the reverse is true - the text links are ok but the form boxes
are too low! I cant figure out why this is happening.
I want the text to be vertically centered in the black menu bar, and the
form boxes likewise.
any help greatly appreciated!
thanks
CODE:
=====
<div id="headermenub ar">
<form name="menu" method="post" action="" style="display: inline;">
<a href="/" >home</a> - <a href="/uk/option1/" >option1</a> - <a
href="/uk/option2/" >option2</a> - <a href="/uk/option3/" >option3</a> - <a
href="/uk/option4/" >design</a>
<input name="textfield " onFocus="if(thi s.value=='check domain
name')this.valu e='';" type="text" class="smalldom ainlookupbox" value="check
domain name">
<select name="select" class="smalldom ainlistmenu">
<option value=".com" selected>.com</option>
<option value=".co.uk"> .co.uk</option>
<option value=".net">.n et</option> </select>
<input type="image" src="/images/info.gif" border="0" alt="Go!">
</form>
</div>
ASSOCIATED ENTRIES IN EXTERNAL CSS FILE:
=============== =============== ========
#headermenubar {
font-family: Arial, Helvetica, sans-serif;
padding: 0px;
margin: 0px;
color: #FFFFFF;
font-size: 12px;
text-decoration: none;
position:absolu te;
width:594px;
height:22px;
z-index:50;
left: 156px;
top: 95px;
layer-background-color: #ffffff;
border: 0px none #000000;
background-color: #000000;
visibility: visible;
font-weight: bold;
}
#headermenubar a:hover {
color: #CCFFCC;
text-decoration: none;
}
#headermenubar a:link, a:visited {
color: #FFFFFF;
text-decoration: none;
}
..smalldomainli stmenu {
font-size: 11px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
..smalldomainlo okupbox {
font-size: 11px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
margin-left: 20px;
}
i was hoping someone could help me. the code below - in IE the menu options
(text) are a couple of pixels too low and i cant move them up, and the form
boxes are ok.
in mozilla the reverse is true - the text links are ok but the form boxes
are too low! I cant figure out why this is happening.
I want the text to be vertically centered in the black menu bar, and the
form boxes likewise.
any help greatly appreciated!
thanks
CODE:
=====
<div id="headermenub ar">
<form name="menu" method="post" action="" style="display: inline;">
<a href="/" >home</a> - <a href="/uk/option1/" >option1</a> - <a
href="/uk/option2/" >option2</a> - <a href="/uk/option3/" >option3</a> - <a
href="/uk/option4/" >design</a>
<input name="textfield " onFocus="if(thi s.value=='check domain
name')this.valu e='';" type="text" class="smalldom ainlookupbox" value="check
domain name">
<select name="select" class="smalldom ainlistmenu">
<option value=".com" selected>.com</option>
<option value=".co.uk"> .co.uk</option>
<option value=".net">.n et</option> </select>
<input type="image" src="/images/info.gif" border="0" alt="Go!">
</form>
</div>
ASSOCIATED ENTRIES IN EXTERNAL CSS FILE:
=============== =============== ========
#headermenubar {
font-family: Arial, Helvetica, sans-serif;
padding: 0px;
margin: 0px;
color: #FFFFFF;
font-size: 12px;
text-decoration: none;
position:absolu te;
width:594px;
height:22px;
z-index:50;
left: 156px;
top: 95px;
layer-background-color: #ffffff;
border: 0px none #000000;
background-color: #000000;
visibility: visible;
font-weight: bold;
}
#headermenubar a:hover {
color: #CCFFCC;
text-decoration: none;
}
#headermenubar a:link, a:visited {
color: #FFFFFF;
text-decoration: none;
}
..smalldomainli stmenu {
font-size: 11px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
..smalldomainlo okupbox {
font-size: 11px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
margin-left: 20px;
}
Comment