Desigining problem in asp.net?
        Posted  
        
            by Surya sasidhar
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Surya sasidhar
        
        
        
        Published on 2010-03-05T09:42:08Z
        Indexed on 
            2010/03/08
            9:06 UTC
        
        
        Read the original article
        Hit count: 633
        
ASP.NET
hi,
in my application i am displaying a image (image size is 90px width,90px height) and below that i displaying title of the image in data list control (horizontal display). i used table (tags) in source code. the image and title will display dynamically from database. my problem is when title is too long it is disturbing my design, when title is too long it should come down, the title should same size as the picture if it is too long it come down in second line.
for example the below is a image and below that image title
     --------------
    |             |
    |             |
    |             |
    |             |
    |             |
    |_____________|
    surya sasidhar rao
the above image title is too long. the letters "rao" should come in second line.
    --------------
    |             |
    |             |
    |             |
    |             |
    |             |
    |_____________|
    surya sasidhar 
    rao
this is the desing i want. how can i get it. this is my source code
             
             
                 
                    
                       
                         '  CommandName="Play" CommandArgument='<%#Eval("VideoName")+"|"+Eval("videoid")+","+Eval("username")%>' Width ="90px" Height ="90px" />
                       
                    
                    
                       
                          '  CommandName="title" CommandArgument='<%#Eval("VideoName")+"|"+Eval("videoid")+","+Eval("username")%>'>
                       
                    
                    
                      
                         '>
                      
                    
                    
                      
                        '>
                      
                    
                 
                 
             
          
© Stack Overflow or respective owner