I ask for help, you need to output the data from the following code into one, horizontal line:

<span class="col_01"> <?php if (($params->get('show_cat_pic')) && ($cat_all[$i]->image != "")) { ?> <img src="./images/stories/<?php echo $cat_all[$i]->image; ?>" alt="picture for subcategory" height="265" width="220" />&nbsp; <?php } else { ?> <a <?php echo "href=" . sefRelToAbs($link); ?> class="category<?php echo $params->get('pageclass_sfx'); ?>" style="text-decoration: none"><img src="./components/com_realestatemanager/images/folder.png" alt="picture for subcategory" height="265" width="220" /></a>&nbsp; <?php } ?> </span> 

Like now:

Like now

Code example:

enter image description here

  • probably div {display: inline-block} - lexxl
  • Thank you, I tried this option, but it is interrupted by the fact that on the second screen "user agent stlesheet" ( - Vyacheslav Romanov
  • in extreme cases, you can always try this div {display: inline-block !mportant;} - lexxl
  • but in general, judging by the classes, you have some kind of mesh there, perhaps a framework, is used. need to know the principle of operation and from this already dance - lexxl

0