place more parts inline

Discussion in 'CSS' started by Josssi, Apr 11, 2012.

  1. #1
    Hi people,

    I have CSS problem with placing more similar parts into one line. Concrete I want to create Employers Contacts Book. From DB I get dynamicaly all informations about customers, and then in cycle "foreach" I view this informations. For each customer is it photo, name and phone number. My problem is, that all customers are displayed in one vertical line. Could you somebody help me how to place it into normal rows please???
     
    Josssi, Apr 11, 2012 IP
  2. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #2
    Mhh... have you tried to style it in CSS with

    display: inline;
     
    GMF, Apr 11, 2012 IP
  3. Josssi

    Josssi Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    display: inline could be used for bigger parts than one word ?...By me is one part photo, under them name and phone...this is one customer...i need place to one line about 4 customers and next one to the line below
     
    Josssi, Apr 11, 2012 IP