Jump to content

Text color


jaykappy

Recommended Posts

I am trying to change the size, bold, and color of text in the below code...having issues

 

I simply want the text returned below to be in BOLD, red and say 14font

 

The below returns in format like below

 

Asbuilts(1 image)

non priate

 

Edit / Delete

 

 

I want this

 

Asbuilts(1 image)

non priate

 

Edit / Delete

 

<?php echo '<p><a href="view_album.php?album_id=', $album['id'], '">', $album['name'], '<a/> ('

<div id="borderdiv">
<div>
     <?php echo '<p><a href="view_album.php?album_id=', $album['id'], '">', $album['name'], '<a/> (', $album['count'], ' images) <br />', $album['description'], '...<br /><br>' ?>
     <?php echo '<a href="album.php?album_id=',$album['id'],'">Edit</a> / <a href="album.php?album_id=',$album['id'],'">Delete</a></p>' ?>
</div> 
</div>
Link to comment
https://forums.phpfreaks.com/topic/279839-text-color/
Share on other sites

go it

 

<div id="borderdiv">
<div>
<?php echo '<p ><a style="color:red;" href="view_album.php?album_id=', $album['id'], '">', $album['name'], '<a/> (', $album['count'], ' images) <br />', $album['description'], '...<br /><br>' ?>
<?php echo '<a href="edit_album.php?album_id=',$album['id'],'">Edit</a> / <a href="delete_album.php?album_id=',$album['id'],'">Delete</a></p>' ?>
</div> 
</div>
Link to comment
https://forums.phpfreaks.com/topic/279839-text-color/#findComment-1439335
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.