Positioning icons

For my mobile website I would like to change the positioning of my icons.
Basically meaning that every navigation button comes with a page title and an icon I can select.
Currently the icons are displayed on the left side of the page titles, while I would like them positioned on the right side.
Original code

PHP:

if($page->buttonicon){

    $icon = "<img src=\"icons/".$page->buttonicon."\" style=\"position:relative;    top:33px\">";

}

else{

    $icon = "<img src=\"images/noicon.png\"…

Positioning icons

See original post by James_DG

Leave a Reply