Posted by dorayme on 09/03/07 21:48
In article
<1188853384.233850.50080@o80g2000hse.googlegroups.com>,
Chris Slowe <20footduck@gmail.com> wrote:
> I've know html and css pretty well but sometimes i come up against a
> problem that just baffles me. and it's usually a simple one. so if
> you've got a sec could you take a look here:
>
> http://www.cafeculturel.org.uk/artobertest/
>
> and tell me why the image isn't aligning with the top of the page.
> I've tried insisting there are no page margins both in html and css,
> there are no borders on the image... If you put text as the first line
> in the body it's right up there at the top. If you view it in safari
> it works as expected.
>
> I mean this is basics and yet... it's been one of those days...
You could style the first para with margin-top: 0; and this would
"fix" at least for Firefox.
But really, if you know "css pretty well", what are you doing
with "align" in <img...>? And best not to use pt sizes for fonts.
And, use 4.01 Strict to keep you disciplined.
--
dorayme
[Back to original message]
|