Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am developing a page in which it repeats the control for each row. I have added a one main div tag and inside this tag have added repeater control.Inside the repeater control, i am using another div tag(it contains link button). I have totally 4 rows. First 2 rows, i have to display 5 link button. 3rd row and 4th row contains 2 link button. So that if i provide floating left to the div tag, 4th row positioned in the 3rd row. This functionality is working fine in IE8. It is not working in Mozilla and Safari because of the div tag width is auto. Please anyone suggest how to achieve?

My design is



XML
<div style="width:auto;float:left">
    <repeater>
        <itemtemplate>
            <div style="width:auto;float:left">Link button</div>
        </itemtemplate>
    </repeater>

</div>
Posted
Updated 22-Jul-11 5:08am
v3
Comments
[no name] 22-Jul-11 15:08pm    
Question is not clear, please rephrase.
_Zorro_ 25-Jul-11 12:46pm    
Indeed, question not clear, but this may help, or not at all, who knows: http://codebetter.com/petervanooijen/2009/01/27/firefox-and-the-100-div-revisited/

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