I am working on a redesign of a website and this is my first jump into
CSS. I have added some microformats, but I would like to display my
hCards all inline. I am having problems with the display. Below are
the styles and html that I am using. I need everything to line up on the
left and if needed wrap. I'm not sure if what I want is exactly
possible.
<style>
.dispemp {
display:inline;
padding-left:10px;
padding-right:50px;
border-right:0px;
}
.dispempl{
display:inline;
padding-right:50px;
border-right:0px;
}
</style>
<div class="vcard, dispemp">
<span class="fn, dispempl">Employee Name</span>
<span class="department, dispemp">Information Technology</span>
<span class="role, dispemp">Website Coordinator</span>
<span class="note, disemp" style="display:none"></span>
<abbr class="tel, dispemp" title="+123 456 7890"> x7890</abbr>
<a class="email, dispemp" href="mailto:[EMAIL PROTECTED]">Email</a>
</div><br/>
<div class="vcard, dispemp">
<span class="fn, dispempl"> Employee Name </span>
<span class="department, dispemp">Specialties</span>
<span class="role, dispemp">Trader</span>
<span class="note, disemp">(CO, GA, IL, IN, KS, KY, MI, NC, NE, NJ, NY,
OK, PA, RI, SC, SD, TN, WV, VA, WY)</span>
<abbr class="tel, dispemp" title="+123 456 7890"> x7890</abbr>
<a class="email, dispemp" href="mailto:[EMAIL PROTECTED]">Email</a>
</div><br/>
Thanks,
Christina Hope
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/