
Originally Posted by
Rayzur
I remember helping you with that back then. It was a four page thread that had some good input from several people in it.
If you remember,
my final version used a div to wrap the image and byline (which was a span) as they were inline elements. Then the article text itself was in a <p> tag.
Rayzur?! You are alive!!!!!!
(Been avoiding me?!) 
Yes, I remember the thread, but things just look different a year later...
Here is what I came up with tonight...
HTML Code:
<!-- Summary #2 -->
<div class="articleSummary">
<h3>Consider becoming an S-Corporation</h3>
<div class="image">
<a href="<?php echo BASE_URL; ?>articles/consider-becoming-an-s-corporation">
<img src="<?php echo BASE_URL; ?>images/S-Corp.png" width="100"
alt="Picture: S-Corp. Credit: John Doe, Wikimedia Commons."
title="Picture: S-Corp. Credit: John Doe, Wikimedia Commons." />
</a>
</div>
<p class="published">Published: December 31, 2011</p>
<p>When most people think of "corporations" they think of mega-companies like Wal-mart, Microsoft, General Motors, Citibank,
and so. However the reality is that all it takes is one person to become a "corporation", and now might be the right time for your
small-business to consider making the switch.</p>
<p>Incorporating your small-business isn't nearly as difficult or as expensive as you might think, and it offers benefits that may not
be so obvious. <a href="<?php echo BASE_URL; ?>articles/consider-becoming-an-s-corporation">Learn how S-Corporations provide
financial benefits and legal protection</a> that you need!</p>
</div>
Code CSS:
/* ARTICLE INDEX Styles */
#boxArticleIndex{
margin: 20px 220px 50px 0px;
padding: 15px 50px 50px 50px; /**/
min-width: 520px; /* 0px + 20px + 520px + 20px + 200px = 760px Min-Width */
max-width: 960px; /* 0px + 20px + 960px + 20px + 200px = 1200px Max-Width */
clear: both;
text-align: justify;
}
#boxArticleIndex h2{
margin: -15px -50px 0 -50px;
}
.articleSummary{
padding: 30px 0px;
}
.articleSummary h2{
font-size: 1.2em;
}
.image{
float: left;
padding: 0 20px 0 0;
}
.published{
margin: 0 0 -1em 0;
font-size: 0.8em;
font-weight: bold;
}
I just feel like this code could be stream-lined some more?! (I have been trying *really hard* to use minimalistic HTML and CSS to get the same effects that used to take me pages of code...)
I am wondering, for instance, if I really need the...
HTML Code:
<div class="articleSummary">
Glad to see you back around, Rayzur. Oh, and Happy New Year!! 
Sincerely,
Debbie
Bookmarks