BigToque
09-04-2006, 08:00 PM
Look at my website http://www.bigtoque.com/test
In the main page, I've got some announcments shown as Date - Headline, then who posted the announcement below.
What I want is to have the Date - Headline be underlined (the way it is now), but then have the line right below (who posted the announcement) to not be underlined (opposite of what it is right now).
How do I do this? If I add a 2nd [p] tag to my html, it adds all the line breaks that come with the [p] tag and I don't want that. I want the 2nd line of text to be right below the Date - Headline.
My code right now is:
echo '<p class="underline">' . date('F j, Y', strtotime($date)) . " - " . $headline . "<br/>";
echo "Posted by " . $author . "</p>";
echo '<p class="indent">' . $news . "</p>";
echo "<br/>";
In the main page, I've got some announcments shown as Date - Headline, then who posted the announcement below.
What I want is to have the Date - Headline be underlined (the way it is now), but then have the line right below (who posted the announcement) to not be underlined (opposite of what it is right now).
How do I do this? If I add a 2nd [p] tag to my html, it adds all the line breaks that come with the [p] tag and I don't want that. I want the 2nd line of text to be right below the Date - Headline.
My code right now is:
echo '<p class="underline">' . date('F j, Y', strtotime($date)) . " - " . $headline . "<br/>";
echo "Posted by " . $author . "</p>";
echo '<p class="indent">' . $news . "</p>";
echo "<br/>";