manalnor Posted July 26, 2010 Share Posted July 26, 2010 Hello dear sir, I can write <img src="pictures/<?=$line[channellogo]?>" height="84" width="84"> where <?=$line[channellogo]?> is the name of an image i would like now to rewrite it as css background-image: url(pictures/<?=$line[channellogo]?>); background-repeat:no-repeat; how then i can set for it height and width as in the 1st code thanks Link to comment https://forums.phpfreaks.com/topic/208879-to-to-resize-it/ Share on other sites More sharing options...
marcus Posted July 26, 2010 Share Posted July 26, 2010 background: url(pictures/<?=$line['channellogo']?>) no-repeat; width:84px; height:84px; Link to comment https://forums.phpfreaks.com/topic/208879-to-to-resize-it/#findComment-1091078 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.