html problem

  • Thread starter Thread starter CreativeMind
  • Start date Start date
C

CreativeMind

hi all
i m showing a link which is showing "Add a new Property to Rent" in
IE (means a complete line). but in Firefox this single line breaks
into mutliple lines like;

" Add a

new

property

to rent"

how can i fix it for Ff. below is html + css.



<TR class="Admin" id="AddPropertyForRent">
<TD width="14%" vAlign="middle" align="center"
height="10"><IMG height="6" alt="cubic real estate" src="../images/
dot.gif" width="6"></TD>
<TD rowspan="2" class="text_mid" vAlign="top"
align="left" width="100%">

<A class="LnkAdmin" href="AddProperty.aspx?
jobType=2">Add a new Property to Rent</A>

</TD>

</TR>
-----------

..LnkAdmin {Cubic_css.css (line 173)
color:Black;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:normal;
text-decoration:none;
}
------------
..text_mid {Cubic_css.css (line 1)
color:#636467;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;
font-style:normal;
}
 
Actually i m using a class

..Admin {
display:<%=(userType=="1")? "inline" : "none"%>;
}
I apply this class to a row.like

<TR class="Admin">

<TD vAlign="top" align="left" width="86%"><A class="LnkAdmin"
href="Property.aspx">Add a new Property to Rent</A></TD></TR>

then link "Add a new Property to Rent" breaks into multiple rows.
otherwise if i remove class="Admin" from <TR> then it's ok. but i need
to apply class.

is the problem there in display:inline??
 
Back
Top