Hi everyone!
Haven't seen you guys in a few months now..
Today the problem seems to me a bit unreasonable, but here it goes:
I'm working on my own website now, 1 column, 100% height, footer sticks to the bottom. Everything looks perfect, except for one small issue.
This is supposed to style this part of my code:Code:.part_text { margin: 0 30px; padding: 0; }
The problem is that the first line of the text appears as intended, with the 30px margins, but the following lines don't. They insist on sticking to the border.PHP Code:echo "<h2 class=\"title\">$title</h2>";
echo "<span class=\"part_text\">" . substr($text,0,200) . "... <a href=\"articles.php?id=$id\">[more]</a></span><br />";
echo "<span class=\"date\">$date</span>";
I'm sorry for not having an online version of it, I don't have a host yet. But I'm linking a shot of what's happening. If you need more details, let me know.
Thanks for helping!




Reply With Quote
Bookmarks