html problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CreativeMind

    html problem

    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="AddProperty ForRent">
    <TD width="14%" vAlign="middle" align="center"
    height="10"><IM G 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="AddProper ty.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;
    }
    --------------

    thx
  • CreativeMind

    #2
    Re: html problem

    Actually i m using a class

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

    <TR class="Admin">

    <TD width="14%" vAlign="middle" align="center" height="10"><IM G
    height="6" alt="cubic real estate" src="../images/dot.gif" width="6" /
    ></TD>
    <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 <TRthen it's ok. but i need
    to apply class.

    is the problem there in display:inline? ?

    Comment

    Working...