Click here to Skip to main content
14,421,993 members
Rate this:
Please Sign up or sign in to vote.
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.

<pre lang="css">
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 :

So I tried with Position property but not getting succeded
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100