CSS White Space - margin and padding question

CSS White Space - margin and padding question

am 17.11.2007 01:42:28 von charlbury

Hi, I'm having trouble with CSS white space. With the code at the
bottom of this post I expect the following output:

Search
Your Options
Footer

But I get the following output:

Search

Your Options

Footer

I get a line or white space between each section. Can anyone tell me
where I am going wrong?

Thanks


xhtml1-transitional.dtd">
Left Nav Bar Test








Search





Your Options





footer










Re: CSS White Space - margin and padding question

am 17.11.2007 01:44:25 von charlbury

Sorry, the code above does not have the

 and 
tags around
it. I though I needed this to post the unformatted html.

Re: CSS White Space - margin and padding question

am 17.11.2007 01:45:32 von 23s

"charlbury" wrote in message
news:a85ad2eb-0c88-4595-b8f5-0e56dd125060@i37g2000hsd.google groups.com...
> Hi, I'm having trouble with CSS white space. With the code at the
> bottom of this post I expect the following output:
>
> Search
> Your Options
> Footer
>
> But I get the following output:
>
> Search
>
> Your Options
>
> Footer
>
> I get a line or white space between each section. Can anyone tell me
> where I am going wrong?
>
> Thanks
>
>


> > xhtml1-transitional.dtd">
> Left Nav Bar Test
>
>
>
>
>
>
>

>

>

Search


>

>
>

>

Your Options


>

>
>

>

footer


>

>

>
>

>
>
>
>



I think the space you describe has probably got more to do with the default
rendering of h1 by browsers...

You could try modifying your css so that:

h1 {
font-size: 12px;
margin:0; <-- new bit
}

Re: CSS White Space - margin and padding question

am 17.11.2007 02:19:33 von lws4art

charlbury wrote:
> Hi, I'm having trouble with CSS white space. With the code at the
> bottom of this post I expect the following output:

>


>

>

Search


>

>
>

>

Your Options


>

>
>

>

footer


>

>


It's a margins setting as you have been told, but how can your page have
*more than one* level one header?


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: CSS White Space - margin and padding question

am 17.11.2007 02:23:18 von a-ok-site

On Nov 16, 6:45 pm, "asdf" wrote:
> "charlbury" wrote in message
>
> news:a85ad2eb-0c88-4595-b8f5-0e56dd125060@i37g2000hsd.google groups.com...
>
>
>
> > Hi, I'm having trouble with CSS white space. With the code at the
> > bottom of this post I expect the following output:
>
> > Search
> > Your Options
> > Footer
>
> > But I get the following output:
>
> > Search
>
> > Your Options
>
> > Footer
>
> > I get a line or white space between each section. Can anyone tell me
> > where I am going wrong?
>
> > Thanks
>
> >


> > > > xhtml1-transitional.dtd">
> > Left Nav Bar Test
>
> >
>
> >
> >
>
> >

> >

> >

Search


> >

>
> >

> >

Your Options


> >

>
> >

> >

footer


> >

> >

>
> >

>
> >
> >
> >

>
> I think the space you describe has probably got more to do with the default
> rendering of h1 by browsers...
>
> You could try modifying your css so that:
>
> h1 {
> font-size: 12px;
> margin:0; <-- new bit
>
>
>
>
>
> }

Thanks a lot because I have had that little aggravation for some time,
and I patched it with a div and background to match.

a-ok-site

Re: CSS White Space - margin and padding question

am 17.11.2007 03:26:26 von Richard

On Fri, 16 Nov 2007 20:19:33 -0500, Jonathan N. Little wrote:

> charlbury wrote:
>> Hi, I'm having trouble with CSS white space. With the code at the
>> bottom of this post I expect the following output:
>
>>


>>

>>

Search


>>

>>
>>

>>

Your Options


>>

>>
>>

>>

footer


>>

>>

>
> It's a margins setting as you have been told, but how can your page have
> *more than one* level one header?

because I told it to, dipshit.
The header is nothing more than a fixed font size. No rules say you can use
it only once.

Re: CSS White Space - margin and padding question

am 17.11.2007 05:38:33 von lws4art

richard wrote:
> On Fri, 16 Nov 2007 20:19:33 -0500, Jonathan N. Little wrote:

>> It's a margins setting as you have been told, but how can your page have
>> *more than one* level one header?
>
> because I told it to, dipshit.
> The header is nothing more than a fixed font size. No rules say you can use
> it only once.


Excuse me? No, a heading is a *heading* not a header, and it does have
semantic meaning, I guess you had trouble with outlines when you did
your research papers in school, eh?

H# elements are used for the hierarchal headings in a document, and
should not be used to format the font size of some text. That is what
CSS is for...

..special { font-size: 1.5em; font-weight: bold; ... }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: CSS White Space - margin and padding question

am 17.11.2007 10:43:20 von Ben C

On 2007-11-17, Jonathan N. Little wrote:
> richard wrote:
>> On Fri, 16 Nov 2007 20:19:33 -0500, Jonathan N. Little wrote:
>
>>> It's a margins setting as you have been told, but how can your page have
>>> *more than one* level one header?
>>
>> because I told it to, dipshit.
>> The header is nothing more than a fixed font size. No rules say you can use
>> it only once.
>
>
> Excuse me? No, a heading is a *heading* not a header, and it does have
> semantic meaning, I guess you had trouble with outlines when you did
> your research papers in school, eh?
>
> H# elements are used for the hierarchal headings in a document, and
> should not be used to format the font size of some text. That is what
> CSS is for...
>
> .special { font-size: 1.5em; font-weight: bold; ... }

Even if headings are supposed to be strictly hierarchical, you could
still have two top level headings in a document-- just two trees of
headings side by side. You would need another rule like XML's
requirement of having exactly one root element per document.

Re: CSS White Space - margin and padding question

am 17.11.2007 13:03:22 von jkorpela

Scripsit charlbury:

> Sorry, the code above does not have the

 and 
tags around
> it. I though I needed this to post the unformatted html.

What are you babbling about?

You should quote or paraphrase what you are commenting on, even when you
comment on yourself.

You should not apologize for lack of
 and 
tags since they should
not be included and would not help anything. You should apologize for not
including a URL.

If your newsreader interprets HTML markup in
Usenet messages, it needs to be fixed or replaced
now.


--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Re: CSS White Space - margin and padding question

am 17.11.2007 13:07:12 von jkorpela

Scripsit charlbury:

> Hi, I'm having trouble with CSS white space.

Stop worrying about that. Learn the elements of the basics of HTML first.

> font-family: arial, verdana, tahoma, sans-serif;
> font-size: 12px;

And later, read a decent tutorial on CSS before creating the usual crap of
thoughtless CSS code. Anyone who has read such a tutorial knows from the two
lines above that it makes little sense to try to help you with CSS issues
before you are willing to forget what you thought you knew about it and
start actually _learning_ how to use CSS.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Re: CSS White Space - margin and padding question

am 17.11.2007 19:48:40 von a-ok-site

On Nov 17, 6:07 am, "Jukka K. Korpela" wrote:
> Scripsit charlbury:
>
> > Hi, I'm having trouble with CSS white space.
>
> Stop worrying about that. Learn the elements of the basics of HTML first.
>
> > font-family: arial, verdana, tahoma, sans-serif;
> > font-size: 12px;
>
> And later, read a decent tutorial on CSS before creating the usual crap of
> thoughtless CSS code. Anyone who has read such a tutorial knows from the two
> lines above that it makes little sense to try to help you with CSS issues
> before you are willing to forget what you thought you knew about it and
> start actually _learning_ how to use CSS.
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

W3C CSS Validator Results for http://www.cs.tut.fi/~jkorpela/

Re: CSS White Space - margin and padding question

am 17.11.2007 19:53:53 von a-ok-site

On Nov 17, 6:07 am, "Jukka K. Korpela" wrote:
> Scripsit charlbury:
>
> > Hi, I'm having trouble with CSS white space.
>
> Stop worrying about that. Learn the elements of the basics of HTML first.
>
> > font-family: arial, verdana, tahoma, sans-serif;
> > font-size: 12px;
>
> And later, read a decent tutorial on CSS before creating the usual crap of
> thoughtless CSS code. Anyone who has read such a tutorial knows from the two
> lines above that it makes little sense to try to help you with CSS issues
> before you are willing to forget what you thought you knew about it and
> start actually _learning_ how to use CSS.
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

DOH.....first post link was cut off....grrrr

W3C CSS Validator Results for

http://www.cs.tut.fi/~jkorpela/

> "start actually _learning_ how to use CSS."

LMAO......Maybe, validate before making a statement like previous!!!

Re: CSS White Space - margin and padding question

am 17.11.2007 19:56:44 von a-ok-site

On Nov 17, 6:07 am, "Jukka K. Korpela" wrote:
> Scripsit charlbury:
>
> > Hi, I'm having trouble with CSS white space.
>
> Stop worrying about that. Learn the elements of the basics of HTML first.
>
> > font-family: arial, verdana, tahoma, sans-serif;
> > font-size: 12px;
>
> And later, read a decent tutorial on CSS before creating the usual crap of
> thoughtless CSS code. Anyone who has read such a tutorial knows from the two
> lines above that it makes little sense to try to help you with CSS issues
> before you are willing to forget what you thought you knew about it and
> start actually _learning_ how to use CSS.
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

DOH.....first post link was cut off....grrrr

W3C CSS Validator Results for

http://jigsaw.w3.org/css-validator/validator?profile=css21&w arning=0&uri=http%3A%2F%2Fwww.cs.tut.fi%2F~jkorpela%2F

> "start actually _learning_ how to use CSS."

LMAO......Maybe, validate before making a statement like previous!!!

Re: CSS White Space - margin and padding question

am 17.11.2007 20:35:24 von jkorpela

Scripsit a-ok-site:

> DOH.....first post link was cut off....grrrr

Don't worry, you already ridiculed yourself in public. No wonder you write
anonymously.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Re: CSS White Space - margin and padding question

am 17.11.2007 20:41:04 von a-ok-site

On Nov 17, 1:35 pm, "Jukka K. Korpela" wrote:
> Scripsit a-ok-site:
>
> > DOH.....first post link was cut off....grrrr
>
> Don't worry, you already ridiculed yourself in public. No wonder you write
> anonymously.
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

People like you are why I hate groups. Just because something else
was going on and I was not paying attention DOES NOT MEAN I RIDICULED
MYSELF: however, you did! About the anonymous crap, I am one of the
few that actually has a real profile. Do you.... From the way people
have acted since I joined this group, and not just towards me, I can
live without it.

Re: CSS White Space - margin and padding question

am 17.11.2007 21:04:02 von a.nony.mous

a-ok-site wrote:

> .. I am one of the few that actually has a real profile.

That sounds like a Google Group thing...

This isn't Google Groups, you know, it's Usenet, and all we need is a
news reader and a news service. ;-)

--
-bts
-Motorcycles defy gravity; cars just suck

Re: CSS White Space - margin and padding question

am 17.11.2007 21:40:03 von Bone Ur

Well bust mah britches and call me cheeky, on Sat, 17 Nov 2007 19:41:04
GMT a-ok-site scribed:

>> > DOH.....first post link was cut off....grrrr
>>
>> Don't worry, you already ridiculed yourself in public. No wonder you
>> write anonymously.
>>
>> --
>> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
>
> People like you are why I hate groups.

Even The Doobie Brothers?

> Just because something else
> was going on and I was not paying attention DOES NOT MEAN I RIDICULED
> MYSELF: however, you did! About the anonymous crap, I am one of the
> few that actually has a real profile. Do you....

Probably when he turns sideways to the light source....

> From the way people
> have acted since I joined this group, and not just towards me, I can
> live without it.

Whinny kids do not exactly enhance my living experience, either.

--
Bone Ur
Cavemen have formidable pheromones.

Re: CSS White Space - margin and padding question

am 18.11.2007 13:39:48 von Toby A Inkster

Ben C wrote:

> Even if headings are supposed to be strictly hierarchical, you could
> still have two top level headings in a document-- just two trees of
> headings side by side.

Something like...

h1. Cats & Dogs
h2. Cats
h3. Siamese cats
h3. Tabby cats
h2. Dogs
h3. Greyhounds
h3. Beagles
h1. Fish
h2. Sharks
h3. Hammerhead sharks
h2. Cod
h2. Sardines

But one could argue that the two h1-level headings should in fact be h2:

h1{display:none}. Good Pets to Keep
h2. Cats & Dogs
h3. Cats
h4. Siamese cats
h4. Tabby cats
h3. Dogs
h4. Greyhounds
h4. Beagles
h2. Fish
h3. Sharks
h4. Hammerhead sharks
h3. Cod
h3. Sardines

That is, there can only be one element for the page, so there<br /> should only ever be one <h1> element, which should roughly correspond with<br /> it. (It is often useful to include context information in the title, such<br /> as the name of the collection of documents to which this document belongs.)<br /> <br /> -- <br /> Toby A Inkster BSc (Hons) ARCS<br /> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]<br /> [OS: Linux 2.6.12-12mdksmp, up 11 days, 19:36.]<br /> [Now Playing: ./counting_crows/millers_angels_demo.ogg.]<br /> <br /> Belgium<br /> http://tobyinkster.co.uk/blog/2007/11/17/belgium/</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 18.11.2007 16:07:01 von lws4art</span> <p>Toby A Inkster wrote:<br /> > Ben C wrote:<br /> > <br /> >> Even if headings are supposed to be strictly hierarchical, you could<br /> >> still have two top level headings in a document-- just two trees of<br /> >> headings side by side.<br /> > <br /> > Something like...<br /> > <br /> > h1. Cats & Dogs<br /> > h2. Cats<br /> > h3. Siamese cats<br /> > h3. Tabby cats<br /> > h2. Dogs<br /> > h3. Greyhounds<br /> > h3. Beagles<br /> > h1. Fish<br /> > h2. Sharks<br /> > h3. Hammerhead sharks<br /> > h2. Cod<br /> > h2. Sardines<br /> > <br /> > But one could argue that the two h1-level headings should in fact be h2:<br /> > <br /> > h1{display:none}. Good Pets to Keep<br /> > h2. Cats & Dogs<br /> > h3. Cats<br /> > h4. Siamese cats<br /> > h4. Tabby cats<br /> > h3. Dogs<br /> > h4. Greyhounds<br /> > h4. Beagles<br /> > h2. Fish<br /> > h3. Sharks<br /> > h4. Hammerhead sharks<br /> > h3. Cod<br /> > h3. Sardines<br /> > <br /> > That is, there can only be one <title> element for the page, so there<br /> > should only ever be one <h1> element, which should roughly correspond with<br /> > it. (It is often useful to include context information in the title, such<br /> > as the name of the collection of documents to which this document belongs.)<br /> > <br /> <br /> I agree with this that there should be only on H1 per page, but the HTML <br /> Gods will not strike you dead if you using more than one (but if you do <br /> it should make logical sense) What I object to is the use of H# to <br /> "style" with. In other words using H# where the text is not a heading <br /> but where the author merely wants bigger bolder text!<br /> <br /> -- <br /> Take care,<br /> <br /> Jonathan<br /> -------------------<br /> LITTLE WORKS STUDIO<br /> http://www.LittleWorksStudio.com</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 18.11.2007 20:23:35 von dorayme</span> <p>In article <4812a$47405512$40cba7a3$21291@NAXS.COM>,<br /> "Jonathan N. Little" <lws4art@centralva.net> wrote:<br /> <br /> > Toby A Inkster wrote:<br /> > > Ben C wrote:<br /> > > <br /> > >> Even if headings are supposed to be strictly hierarchical, you could<br /> > >> still have two top level headings in a document-- just two trees of<br /> > >> headings side by side.<br /> > > <br /> <example of two h1 trees...><br /> > > That is, there can only be one <title> element for the page, so there<br /> > > should only ever be one <h1> element, which should roughly correspond with<br /> > > it. (It is often useful to include context information in the title, such<br /> > > as the name of the collection of documents to which this document belongs.)<br /> > > <br /> > <br /> > I agree with this that there should be only on H1 per page, but the HTML <br /> > Gods will not strike you dead if you using more than one (but if you do <br /> > it should make logical sense) What I object to is the use of H# to <br /> > "style" with. In other words using H# where the text is not a heading <br /> > but where the author merely wants bigger bolder text!<br /> <br /> Yes, to use it to get the font-size you want for a bit of text is <br /> altogther wrong. But back to the question of the headings as <br /> logical structure, it depends on the material in the page whether <br /> you argue one way or another, to stick to 'only one h1 per page' <br /> is a policy decision that is good for the most part. There is the <br /> question whether it is always needed to use an h1, it could be <br /> implied by the context, it may not need to be stated, the page <br /> goes straight to h2s and down for different strands under the <br /> unstated h1. (I think that possibility is what Toby was implying <br /> by his h1 {display: none}". <br /> <br /> On the other hand, it could be that his example is a little too <br /> favourable to the "only one h1 per page" policy. You can be <br /> struck by the reference of the page itself to guide you, in which <br /> you will always find an h1 (stated or implied) or you can be <br /> guided by the material under the heading, and you want a really <br /> meaningful heading for it, no less than an h1 doing it justice.<br /> <br /> -- <br /> dorayme</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 00:25:00 von Toby A Inkster</span> <p>dorayme wrote:<br /> <br /> > unstated h1. (I think that possibility is what Toby was implying <br /> > by his h1 {display: none}".<br /> <br /> I meant to imply that the h1 is there for semantic and structural reasons,<br /> but CSS is used to hide it.<br /> <br /> It may be that the main heading is obvious to all who come to the page, so<br /> there is no benefit in showing it to the visitor, yet I still think there<br /> should be a main heading, even if you hide it with CSS for those reasons.<br /> <br /> -- <br /> Toby A Inkster BSc (Hons) ARCS<br /> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]<br /> [OS: Linux 2.6.12-12mdksmp, up 12 days, 6:20.]<br /> <br /> USD/EUR Exchange Rate Graph<br /> http://tobyinkster.co.uk/blog/2007/11/18/usd-eur/</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 03:28:43 von dorayme</span> <p>In article <c7u615-rdo.ln1@ophelia.g5n.co.uk>,<br /> Toby A Inkster <usenet200707@tobyinkster.co.uk> wrote:<br /> <br /> > dorayme wrote:<br /> > <br /> > > unstated h1. (I think that possibility is what Toby was implying <br /> > > by his h1 {display: none}".<br /> > <br /> > I meant to imply that the h1 is there for semantic and structural reasons,<br /> > but CSS is used to hide it.<br /> > <br /> > It may be that the main heading is obvious to all who come to the page, so<br /> > there is no benefit in showing it to the visitor, yet I still think there<br /> > should be a main heading, even if you hide it with CSS for those reasons.<br /> <br /> It is something I have been thinking for a while and have now and <br /> then just had h2s or two or more h1s for very separate sections <br /> of a page. I either worried that there was no h1 or too many!<br /> <br /> But, of course, you can or should stick it in but not necessarily <br /> display it. Thanks for drawing attention to this possibility.<br /> <br /> -- <br /> dorayme</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 06:09:09 von Bone Ur</span> <p>Well bust mah britches and call me cheeky, on Mon, 19 Nov 2007 02:28:43<br /> GMT dorayme scribed: <br /> <br /> > In article <c7u615-rdo.ln1@ophelia.g5n.co.uk>,<br /> > Toby A Inkster <usenet200707@tobyinkster.co.uk> wrote:<br /> > <br /> >> dorayme wrote:<br /> >> <br /> > But, of course, you can or should stick it in but not necessarily <br /> > display it. Thanks for drawing attention to this possibility.<br /> <br /> No - thank YOU.<br /> <br /> -- <br /> Bone Ur<br /> Cavemen have formidable pheromones.</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 12:59:39 von Andy Dingley</span> <p>On 17 Nov, 09:43, Ben C <spams...@spam.eggs> wrote:<br /> <br /> > Even if headings are supposed to be strictly hierarchical, you could<br /> > still have two top level headings in a document<br /> <br /> I've not checked this in the standard, but I don't believe so.<br /> <br /> Under W3C HTML (the only real sort) there's no restriction on<br /> hierarchy or ordering of <h*> at all. Do whatever you like.<br /> <br /> Under the bizarre aberrant ISO HTML (which I intend to ignore rather<br /> than dissecting), the require both strict hierarchies _and_ a single<br /> <h1> as a root.<br /> <br /> So it's either very loose, or very strict. There's nothing in the<br /> middle where hierarchy is required but multiple roots are also<br /> permitted.</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 15:40:20 von Ben C</span> <p>On 2007-11-19, Andy Dingley <dingbat@codesmiths.com> wrote:<br /> > On 17 Nov, 09:43, Ben C <spams...@spam.eggs> wrote:<br /> ><br /> >> Even if headings are supposed to be strictly hierarchical, you could<br /> >> still have two top level headings in a document<br /> ><br /> > I've not checked this in the standard, but I don't believe so.<br /> ><br /> > Under W3C HTML (the only real sort) there's no restriction on<br /> > hierarchy or ordering of <h*> at all. Do whatever you like.<br /> ><br /> > Under the bizarre aberrant ISO HTML (which I intend to ignore rather<br /> > than dissecting), the require both strict hierarchies _and_ a single<br /> ><h1> as a root.<br /> <br /> Are you sure? From https://www.cs.tcd.ie/15445/15445.html#DTD:<br /> <br /> <!ELEMENT BODY - O (%block;|H1|H2|H3|H4|H5|H6)+ +(DEL|INS) ><br /> <br /> Doesn't that mean the BODY must contain one _or more_ of a block or a<br /> H#?<br /> <br /> So<br /> <br /> <body><br /> <h1></h1><br /> <h1></h1><br /> </body><br /> <br /> would be valid.</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 15:49:48 von lws4art</span> <p>Ben C wrote:<br /> > On 2007-11-19, Andy Dingley <dingbat@codesmiths.com> wrote:<br /> >> On 17 Nov, 09:43, Ben C <spams...@spam.eggs> wrote:<br /> >><br /> >>> Even if headings are supposed to be strictly hierarchical, you could<br /> >>> still have two top level headings in a document<br /> >> I've not checked this in the standard, but I don't believe so.<br /> >><br /> >> Under W3C HTML (the only real sort) there's no restriction on<br /> >> hierarchy or ordering of <h*> at all. Do whatever you like.<br /> >><br /> >> Under the bizarre aberrant ISO HTML (which I intend to ignore rather<br /> >> than dissecting), the require both strict hierarchies _and_ a single<br /> >> <h1> as a root.<br /> > <br /> > Are you sure? From https://www.cs.tcd.ie/15445/15445.html#DTD:<br /> > <br /> > <!ELEMENT BODY - O (%block;|H1|H2|H3|H4|H5|H6)+ +(DEL|INS) ><br /> > <br /> > Doesn't that mean the BODY must contain one _or more_ of a block or a<br /> > H#?<br /> > <br /> > So<br /> > <br /> > <body><br /> > <h1></h1><br /> > <h1></h1><br /> > </body><br /> > <br /> > would be valid.<br /> <br /> Just because the it will parse does not necessary mean that it makes <br /> sense. You could put your address in an ACRONYM element, or your site <br /> navigation links in definition list DT. It can validate as valid HTML <br /> but it wouldn't make semantic sense.<br /> <br /> -- <br /> Take care,<br /> <br /> Jonathan<br /> -------------------<br /> LITTLE WORKS STUDIO<br /> http://www.LittleWorksStudio.com</p> </article> <article> <h2>Re: CSS White Space - margin and padding question</h2><span>am 19.11.2007 17:23:42 von Andy Dingley</span> <p>On 19 Nov, 14:40, Ben C <spams...@spam.eggs> wrote:<br /> <br /> > Are you sure?<br /> <br /> No, as I said. I haven't checked this, I have no intention of spending<br /> the time to do so. The whole standard is a pointless abomination.<br /> <br /> > From https://www.cs.tcd.ie/15445/15445.html#DTD:<br /> <br /> I don't believe that it's the DTD that expresses these constraints,<br /> but rather the supporting text. However I don't know section numbers<br /> or web links to it.</p> </article> <footer> <a href="/">Index</a> | <a href="/impressum.php">Impressum</a> | <a href="/datenschutz.php">Datenschutz</a> | <a href="https://www.xodox.de/">XODOX</a> </footer> </main> </body> </html>