naiani
11-15-2007, 04:49 AM
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.
.part_text {
margin: 0 30px;
padding: 0;
}
This is supposed to style this part of my 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>";
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.
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.
http://img214.imageshack.us/img214/2193/errorew9.th.jpg (http://img214.imageshack.us/my.php?image=errorew9.jpg)
Thanks for helping!
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.
.part_text {
margin: 0 30px;
padding: 0;
}
This is supposed to style this part of my 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>";
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.
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.
http://img214.imageshack.us/img214/2193/errorew9.th.jpg (http://img214.imageshack.us/my.php?image=errorew9.jpg)
Thanks for helping!