Tagged: image in php
Hello, I want to add a line to separate parts of my content. How do I insert a thin grey line or and image in the php files?
Thanks for your help!
You can also do this via post or page editor, you can insert html tags like hr and img. What part of the content do you want to insert line or images?
Thanks for your answer. However is not inside a post or page. Actually I add a welcome message to the main page in the index.php file. Afther that message the posts feed is diplayed, so I want to put a thin line ( like the one that separates de content from the sidebars) to separate this welcome message from the posts feed.
Ismael, Just found the solution:
<div style="border-top:solid 1px #e1e1e1"></div>
The second line is just to add an extra space between the line and the content.
The topic ‘Hot to Insert line (or image) in php?’ is closed to new replies.