1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Items per row

Discussion in 'XenForo Development Discussions' started by Mythotical, Apr 25, 2013.

  1. Mythotical

    Mythotical Well-Known Member

    I know how to do pagination but trying to figure out how to do items per row within a post or message user info of a post is stumping me.

    I have items and an option per row so that it won't break the message user info area but not too sure how to implement anything to just use <br /> at the end if the limit for that row has been reached. I do know I need to count in the database so if anyone can just throw some suggestions out there I would appreciate it.
     
  2. tyteen4a03

    tyteen4a03 Well-Known Member

    If you're talking about purely HTML/CSS, this may help.

    If you are talking about implementing this in PHP, try using two for arrays to generate the rows and the columns.
     
  3. Mythotical

    Mythotical Well-Known Member

    That is perfect, just what I was looking for. Yeah I know how to do it for PHP but never tried in HTML/CSS. Thank you.
     

Share This Page