Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Simple Stupid

Reply
Thread Tools

Simple Stupid

 
 
Chris Slowe
Guest
Posts: n/a
 
      09-03-2007
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...

thanks for any help

chris

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      09-03-2007
In article
<. com>,
Chris Slowe <> 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
 
Reply With Quote
 
 
 
 
Chris Slowe
Guest
Posts: n/a
 
      09-03-2007
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

 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      09-03-2007
In article
<. com>,
Chris Slowe <> wrote:

> 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:
> >
> > >http://www.cafeculturel.org.uk/artobertest/

> >
> > > and tell me why the image isn't aligning with the top of the page.

> >
> > 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.
> >


> 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...


btw, I mean px rather pt. Use % or em for font-size.

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stupid question...waiting for a stupid answer Brandon McCombs Java 4 08-28-2006 06:57 PM
Stupid question. Please, only stupid responders. If you're not sureif you're stupid, you probably aren't. =?ISO-8859-1?Q?R=F4g=EAr?= Computer Support 6 07-18-2005 05:11 AM
stupid stupid stupid kpg MCSE 17 11-26-2004 02:59 PM
stupid test questions and stupid awnsers in Measureup 70-320 test john MCAD 0 10-13-2004 11:43 PM
Stupid is as Stupid Does! Michael P Gabriel Digital Photography 3 06-26-2004 12:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57