html problem

Discussion in 'ASP .Net' started by CreativeMind, Jul 18, 2008.

  1. CreativeMind

    CreativeMind Guest

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

    thx
     
    CreativeMind, Jul 18, 2008
    #1
    1. Advertising

  2. CreativeMind

    CreativeMind Guest

    Actually i m using a class

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

    <TR class="Admin">

    <TD width="14%" vAlign="middle" align="center" height="10"><IMG
    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 <TR> then it's ok. but i need
    to apply class.

    is the problem there in display:inline??
     
    CreativeMind, Jul 18, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Kamoski
    Replies:
    1
    Views:
    7,142
  2. Mitchua
    Replies:
    1
    Views:
    7,117
    Ice Demon
    Jul 15, 2003
  3. Merek
    Replies:
    0
    Views:
    1,980
    Merek
    Dec 3, 2003
  4. karthikeyavenkat
    Replies:
    2
    Views:
    630
    Bryce
    Mar 17, 2005
  5. Adam Akhtar
    Replies:
    9
    Views:
    561
    Florian Gilcher
    Aug 16, 2008
Loading...

Share This Page