Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,
i have a tab search by restaurant .but it sometimes get wrap . it will take extra span automatically .am, using
XML
<tr>
                <td>
                  </td>
                   <td>
                   <ol id="toc">
               <li><a href="#page-3" onmouseup="return ClearAllFieldbyrestaurantname();"><span>Search by Restaurant</span></a></li>
               <li><a href="#page-2" onmouseup="return ClearAllFieldbycuisines();"><span>Search by Cuisine</span></a></li>
                <li><a href="#page-1" onmouseup="return ClearAllFieldbyaddress();"><span>Search by Address</span></a></li>
                    </ol>
                      </td>
                    <td>
                      </td>
                </tr>


y this happening?
in mozilla the extra span is displaying lik this:
<li><a href="#page-3" onmouseup="return ClearAllFieldbyrestaurantname();"><span>Search by Restaurant</span></a></li>

span id="dtx-highlighting-item" dtx-highlight-backgroundcolor="lime"
Posted
Updated 3-Apr-12 0:46am
v4
Comments
[no name] 3-Apr-12 7:19am    
Not clear what your question is. Are you using CSS?
priya from Madras 3-Apr-12 7:42am    
ya am using css . i post my problem below ,pls read ?
priya from Madras 3-Apr-12 8:25am    
pls anyone can help me?

1 solution

XML
i am using 2 tab .
Tab 1:if i click search by Area tab ,it displays

Area and city textbox and search button.if u enter the same and click the button .it displays the restaurant in tat given area and city.

Tab 2:this is serach by restaurant .in this u can search the particular restaurant directly  .

In this sometimes search by restaurant get wrap lik search by and restuarant .
<span>search by</span>
<span>restaurant</span>

am using lik this (refer the above code) 

<span>Search by Restaurant</span>

reason is browser generate span for

 resturant lik(span id="dtx-highlighting-item" dtx-highlight-backgroundcolor="lime").

automatically split into  search by and restaurant ,so it display lik a tab below the original one and spoil the design .so how can i solve this?
 
Share this answer
 
v2
Comments
Prasad_Kulkarni 3-Apr-12 7:46am    
Alway use 'Improve question' widget to update or edit your question.
priya from Madras 3-Apr-12 8:13am    
k thanks,

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