- From: P.H.Lauke <P.H.Lauke@salford.ac.uk>
- Date: 29 Aug 2003 16:39:08 +0100
- To: gerald.g.weichbrodt@ived.gm.com
- Cc: "David Poehlman" <poehlman1@comcast.net>, " wai-ig list" <w3c-wai-ig@w3.org>
A few simple lines of CSS are all it takes to control padding and
margin of headers...e.g.
h1 {
font-size: 100%; /* or whatever you want */
padding: 0;
margin: 0;
}
h2 {
font-size: 100%;
padding: 0;
margin: 1em 0 1em 0; /* top, right, bottom and left margins */
}
Sorry if this sounds blunt, but tell your developers to learn at
least the basics of CSS.
Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
> -----Original Message-----
> From: David Poehlman [mailto:poehlman1@comcast.net]
> Sent: 29 August 2003 16:28
> To: wai-ig list
> Subject: Fw: HTML Headings and Making tThem Not Impact Surrounding
> Information
>
>
>
>
> ----- Original Message -----
> From: "Jerry Weichbrodt" <gerald.g.weichbrodt@ived.gm.com>
> To: <basr-l@trace.wisc.edu>
> Sent: Friday, August 29, 2003 10:37 AM
> Subject: HTML Headings and Making tThem Not Impact
> Surrounding Information
>
>
> Hi all. This is sort of a how-to question. I hope it's not
> off-topic.
>
> I have been trying to talk our local IT folks into using true
> HTML headings
> as a means of labeling sections of their web pages because of
> the support
> that screen readers and some other browsing devices give to
> using headings
> as sort of an outline for the page.
>
> Standard equipment on most computers around here is Internet
> Explorer 6.
> Most others are slightly earlier versions of IE and perhaps
> some Netscape
> 4.7 and the like.
>
> My understanding is that you should be able to use cascading
> stylesheets to
> tailor the text size and such for headings, thus removing the
> argument that
> the default type is too large and such. However, I
> understand that, at
> least in Internet Explorer, even if you've adjusted the type
> size to your
> liking, IE makes some assumptions about the layout of text around the
> headings, and it likes to leave extra space below the text
> that has been
> marked up as a heading. The developers say that this extra
> space messes up
> their page layout, so they are reluctant to implement use of
> true headings
> even though they appreciate the value to a few of us of such headings.
>
> My question is, is there a way to get tighter control of
> headings so that
> they really can be used to demarcate information that is meant to be a
> heading without imposing restrictions on the layout around
> them? I would
> love to come up with a suggestion that would make all of us happy.
>
> Thanks,
> Jerry Weichbrodt
>
> _______________________________________________
> BASR-L mailing list
> BASR-L@trace.wisc.edu
> http://trace.wisc.edu:8080/mailman/listinfo/basr-l
>
>
Received on Friday, 29 August 2003 11:40:17 UTC