|
Posted by Chris Slowe on 09/03/07 22:17
On Sep 3, 10:48 pm, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article
> <1188853384.233850.50...@o80g2000hse.googlegroups.com>,
> Chris Slowe <20footd...@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
OK well "pretty well" means I can usually get things to work, and
normally I'd get rid of any depreciated stuff but this was rough and
ready. as it happens firefox didn't like the align in the <img> tag
and that's what was causing the problem. doens't help using an ancient
version of golive to knock up these rough and ready things...
thanks,
c
Navigation:
[Reply to this message]
|