Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I have a requirement ,display like below one report

First name : XXXXXXXX last name : YYYYYYYYYY

I used below script for firstname and lastname .I pasted here lastname CSS script.


XML
<pre lang="css">
fake_field_right
{
float: right;
word-wrap: break-word;
width: 152px;
padding-right: 5px;}</pre>


Now my page displaying as expected in Mozilla 26,27 but not working properly in IE (all versions )

Problem: When click on YYYYYYYYY(Last name) it getting down but Firstname(XXXXXXX) is not giving any problem.

First name : XXXXXXXX last name :
YYYYYYYYY


So I tried with Position property but not getting succeded
Posted
Comments
Sanjay K. Gupta 25-Apr-14 9:59am    
take span or make display:inline;
pratap420 25-Apr-14 10:37am    
I tried Dispaly:inline,inline-block but no fruitful result.My code already using span.

1 solution

Can you extend the width? Maybe that could fix it. (if I am understanding your problem correctly)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900