Repating DIV Vertically / horizontally

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mfaisalwarraich
    New Member
    • Oct 2007
    • 194

    Repating DIV Vertically / horizontally

    Hi Everybody,

    I am having some problem while inserting data into a div without defining its height and width. I am using database to insert data as it is a CMS website and its content will be managed by an admin panel. the problem is i can't asisgn height and width to the div. i want it to have adjust the width and height according to the data supplied to it.

    please anybody help me in this matter???

    thank u.


    reagards
  • David Laakso
    Recognized Expert Contributor
    • Aug 2008
    • 397

    #2
    I think you'll need a scripting solution. CSS deals with look and feel rather than behavior.

    Comment

    • mfaisalwarraich
      New Member
      • Oct 2007
      • 194

      #3
      i heard about doing somehting like this:

      width: auto;
      minimum-width: 100px;

      will this help me?

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        But you said you can't assign height/width to the div.

        Comment

        Working...