[thelist] Image *and* Text Alignment in CSS
Richard's Evolt Account
evolt.list at gmail.com
Mon Feb 13 09:10:24 CST 2006
On 13/02/06, ben morrison <morrison.ben at gmail.com> wrote:
> You could overwite the alignment using either the a or img
>
> H1.header a {
> text:align:left;
> }
>
> you could use float instead of align="left"
>
> H1.header a img {
> float:left;
> }
I've bodged a workaround here whilst waiting for your reply (which was
better than mine!):
<p class="header"><a title="Hyperlink to Client's home page" href="foobar.htm">
<img src="images/200logo.gif" width="200" height="93" alt="Barrett
& Co.Client Logo"></a></p>
<h1>Client Name</h1>
and
P.header { text-align: left;
float: left;
}
H1.header {
font-size: 1.2em;
font-weight: bold;
text-align: right;
}
--
Richard Morris
More information about the thelist
mailing list