html5 - php - formatting a link correctly -


i have question optical problem have php. i'm echoing filename function:

echo $name."<a href='download.php?dow=$path'>download</a><br>";

the download link appears directly behind file name test.txtdownload. how add spaces there or how possible put download link 'next column' there listed correctly among themselves?

you can play around this:

<?php echo $name."<a class='link' href='download.php?dow=$path'>download</a><br>";   ?> 

style:

 <style type="text/css">      a.link {         margin-left: 10px;      }  </style> 

or :

<?php echo $name." <a class='link' href='download.php?dow=$path'>download</a><br>"; ?> 

but suggest use css can managed, while normal space not.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -