In article
<0.a3d96870108af868e3b3.20120206211158GMT.87fwenis >,
Ben Bacarisse <> wrote:
> Tim W <> writes:
>
> > www.aisholt.org ... two things I can't get right:
> >
> > 1. The Gold lettering on the right of each page, the other text
> > doesn't wrap around it properly.
On the home page, for example, presumably Tim is wanting the text "To
the Anglican Parish Church of Aisholt, Somerset,...country church." to
go under the "O Lord..." where there *seems* to be room.
> > I made a new div called it 'content'
> > and put the following in the css:
> >
> > #content {
> > position: relative;
> > top: -70px;
> > float: right;
> > width: 300px;
> > margin-left: 10px;
> > margin-right: 10px;
> > padding: 0px;
> > font-family: Georgia, "Times New Roman", Times, serif;
> > font-size: 26px;
> > text-align: center;
> > color: #8C7858;
> > }
> >
> > But the main text seems to wrap around the empty space below 'content'
> > after it was moved up 70px. Is this normal behaviour? How should I
> > have done it?
>
> Yes, that's normal. Relative positioning does not alter the flow. As
> for fixing it, there's a lot of options but they are all "fragile". For
> example, you could lie about the image height, let it overflow its
> container, and add a top margin to the text you *don't* want to appear
> higher up (i.e. the page title). I'd be inclined not to bother.
>
I agree. You could perhaps alter the html and have the gold abs
positioned relative to the div the bg pic is in. This would involve
scrubbing your
<div id="content">
<p>O Lord Open Thou Our Lips<br>And Our Mouth Shall Show forth Thy
Praise</p>
</div>
altogether and associated css and doing the equivalent of:
<div id="logo" style="position: relative;">
<h1>All Saints Church Aisholt</h1>
<p style="position: absolute; bottom: -1em; right:0;font-size: 1.2em;
padding: 0; width: 15em; text-align: left;">O Lord Open Thou Our
Lips<br>And Our Mouth Shall Show forth Thy Praise</p>
</div>
Just a thought. It places the psalmic words pretty well where they are
intended to be for most folk, and is simpler and does not interfere
with the text below. I removed centre aligning but that is my taste.
btw:
* The footer is too small to read when all else is comfortable.
* Best to use em or % for font-size rather than px.
* Consider marking up the services dates as a UL
--
dorayme