asp.net - Problem with CSS(floating) in ListView ItemTemplate! -


I am new to CSS and there is a problem with styling list view control in the ItemTemplate tag.
My project language is RTL (Persian) and I want to set the user image right to the left of the image and his / her Infos.
But the result is:

And here is the code for ListView:

  & Lt; ASP: LISTviewview ID = "Nokialistview" runat = "server" datasource id = "objectDataSource 1" & gt; & Lt; LayoutTemplate & gt; & Lt; Img alt = "" src = "./img / group.png" & gt; & Lt; Br / & gt; & Lt; Br / & gt; & Lt; Fieldset & gt; & Lt; Legend & gt; ليست کلي & lt; / Legend & gt; & Lt; ASP: Place Holder ID = "Item Placeholder" Run = "Server" & gt; & Lt; / Asp: place holder & gt; & Lt; / Fieldset & gt; & Lt; / LayoutTemplate & gt; & Lt; ItemSeparatorTemplate & gt; & Lt; Hour / & gt; & Lt; / ItemSeparatorTemplate & gt; & Lt; ItemTemplate & gt; & Lt; Img style = "float: correct;" Alt = "" src = '& lt;% # Eval ("gender", ".img / {0} .png")%> / & Gt; & Lt; Span & gt; Name: & lt; / Span & gt; & Lt;% # Eval ("first name")% & gt; & Amp; Nbsp; & Lt;% # Eval ("Last Name")% & gt; & Lt; Span dir = "ltr" & gt; (& Lt;% # Eval ("email")%>) & lt; / Span & gt; & Lt; Br / & gt; & Lt; Span & gt; نسبت او با شما: & lt; / Span & gt; & Lt;% # Eval ("Relationships")% & gt; & Lt; Br / & gt; & Lt; / ItemTemplate & gt; & Lt; / ASP: ListView & gt;  

I have set the style of float: correct and it is working, but as you see, the template is like hierarchical list!
I want to place every item under the previous item in front of Please explain to me what's really happening?! And how to fix it?

Place non-image data with float in a single device: left and does it work?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -