html problem

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;
}
 
C

CreativeMind

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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top