[thelist] <P> vs. <BR><BR>
Daniel S. O'Shea
doshea at surfree.com
Wed Jul 18 00:34:39 CDT 2001
Martin,
Thanks. I think I had brain lock. I use classes all the time with <span> but
for some reason didn't think of that with <P> on my non-data pages.
Thank you,
Dan O.
> Hey Dan
>
> Did you know that you can use pseudo-classes?
>
> Here's what I do on my site. I want to have 2 <p> styles,
> one main one plus one for related links in my sidebar
> (in the latter case, the content is right aligned).
>
> Here are the 2 css classes:
>
> p {
> margin-left: 10px;
> padding-left: 15px;
> margin-right: 15px;
> padding-right: 5px;
> }
>
> p.related {
> text-align : right;
> color: #000000;
> font-family : "Trebuchet MS",Verdana, Geneva, Arial, sans-serif;
> font-size: 11pt;
> line-height: 120%;
> margin-bottom: 10px;
> }
>
> And in the HTML, the main content is all
> <p>blah blah blah>
> while related info is:
> <p class="related">
> This page shows the most recent pics taken with
> our digital camera. The idea is that the pics will
> reach the site in the minimum possible time and
> with the minimum possible effort.
> </p>
>
> Cheers
> Martin
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
> Comment: Content after the signature block is *not* signed
>
> iQA/AwUBO1UdBXHoHnCoNczLEQIwvgCguRnYCmBx6lZqfE1a2J2zHTEk3nIAoMdf
> NLO/EgZ4WIZNEbjB4wSfSlSa
> =BN2q
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> email: martin at easyweb.co.uk PGP ID: 0xA835CCCB
> martin at members.evolt.org snailmail: 30 Shandon Place
> tel: +44 (0)774 063 9985 Edinburgh,
> url: http://www.easyweb.co.uk Scotland
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list