This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > November 2006 > <h1> en IE6 or IE7





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author <h1> en IE6 or IE7
Jobe

2006-11-05, 11:33 pm

I'm asked to write a CSS/HTML course for beginners (for myself?:)).

I came up to a strange behaviour of IE regarding <h1>.

Just look to http://www.web-garden.be/tijdelijk/index2.html

I added to <h1> a border 1px solid black.

However IE puts a border around everything instead of only the header.

In FF everything look great.

Jukka K. Korpela

2006-11-05, 11:33 pm

Scripsit Jobe:

> I'm asked to write a CSS/HTML course for beginners (for myself?:)).


Did you consider giving the honest answer? (Hint: That would be "I can't,
I'm not competent.")

> Just look to http://www.web-garden.be/tijdelijk/index2.html


It's invalid markup; all bets are off.

You're also using pig Latin as content placeholder, which is a _bad_
example, and you're setting the font size in pixels. So I think you should
consider giving the honest answer. (Hint: You might add "I can't write a
CSS/HTML course. I need to _read_ both a course in HTML and a course in
CSS.")

> I added to <h1> a border 1px solid black.


If you had used a validator, you wouldn't be so surprised.

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

Ben C

2006-11-05, 11:33 pm

On 2006-10-29, Jobe <johan.jobe@XXXXXXXXXX> wrote:
> I'm asked to write a CSS/HTML course for beginners (for myself?:)).
>
> I came up to a strange behaviour of IE regarding <h1>.
>
> Just look to http://www.web-garden.be/tijdelijk/index2.html
>
> I added to <h1> a border 1px solid black.
>
> However IE puts a border around everything instead of only the header.


It may because you forgot to close the <h1> tag.

> In FF everything look great.


It guessed that you meant </h1> before <h2>. But you obviously should
not rely on this kind of behaviour.

This is a useful program I use:

http://tidy.sourceforge.net/

to check things like that.
Beauregard T. Shagnasty

2006-11-05, 11:33 pm

Jobe wrote:

> I'm asked to write a CSS/HTML course for beginners (for myself?:)).
>
> I came up to a strange behaviour of IE regarding <h1>.
>
> Just look to http://www.web-garden.be/tijdelijk/index2.html
>
> I added to <h1> a border 1px solid black.
>
> However IE puts a border around everything instead of only the header.
>
> In FF everything look great.


You need to close the <h1> element. You have:

<body>
<h1>Hoofdstuk I: Basisopbouw van een webpagina
<h2>Inleiding</h2>

Place an </h1> at the end of the "Hoofdstuk" line. IE isn't closing the
<h1> when it encounters another block level element. A trip to the
validator would have shown you this:
<http://validator.w3.org/check?verbo...k%2Findex2.html>

Further recommendations:
Don't assign font sizes in px (or pt). IE can't resize them. Use
percents, 100% for content, larger for the header elements.
http://k75s.home.att.net/fontsize.html

You should use a Strict doctype for new documents; Transitional is for
legacy pages, and probably use HTML 4.01 Strict instead of XHTML.
http://w3.org/QA/2002/04/valid-dtd-list.html

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

2006-11-05, 11:33 pm

In article <%J51h.40975$zd7.23732@reader1.news.jippii.net>,
"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

> Scripsit Jobe:
>
>
> Did you consider giving the honest answer? (Hint: That would be "I can't,
> I'm not competent.")


What is the point of such a remark? Why bash a possible school
student given a project? (Hint: he said "(for myself?:))

--
dorayme
Jukka K. Korpela

2006-11-05, 11:33 pm

Scripsit dorayme:

>
> What is the point of such a remark?


To suggest honesty.

> Why bash a possible school student given a project?


You're the one who suggested that someone is a school student. Would you, as
a teacher, ask a school student to write a CSS/HTML course? Then any student
should reply "I can't, I'm not competent", unless she or he actually happens
to be competent, in which case she or he should respond that school students
shall not be requested to do teacher's job without pay.

People _are_ asked to do things that they are not competent in, like write
courses in matters they don't know. There's no point in feeding them with a
spoon; the results would still be awful and a disservice to people who would
read the course.

> (Hint: he said "(for myself?:))


The emoticon ":)" means that the attached text should not be taken
seriously. I'm surprised that you didn't know that. Anyway, if it _was_ to
be taken seriously, i.e. the OP suspected that she or he is incompetent in
this matter, then my suggestion should have helped in that case, too.

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

dorayme

2006-11-05, 11:33 pm

In article <kO81h.41106$Wy1.35880@reader1.news.jippii.net>,
"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

> Scripsit dorayme:
>
>
> You're the one who suggested that someone is a school student.


Well, it is an open question. You need to be gentle with a
nervous and self-deprecating emoticoning newbie.

Anyway, all this is btw now, I understand the OP hung himself
straight away.

--
dorayme
Jukka K. Korpela

2006-11-05, 11:33 pm

Scripsit dorayme:

>
> Well, it is an open question.


No, it's not an open question, and not a question at all - just your wild
suggestion. If I wrote that you are a ballette dancer, it wouldn't be an
open question, or a question at all.

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

dorayme

2006-11-05, 11:33 pm

In article <KTh1h.41185$Fg4.31488@reader1.news.jippii.net>,
"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

> Scripsit dorayme:
>
>
> No, it's not an open question, and not a question at all - just your wild
> suggestion. If I wrote that you are a ballette dancer, it wouldn't be an
> open question, or a question at all.


Well, you are making two assertions, one of which is quite
clearly false, and the other probably so.

The idea that there is no question surely is just simple nonsense
and hardly deserves addressing. But as for the question about
whether there was an open question: we both had exactly the same
information. It was not at all clear what the circumstances of
the OP were. He might have been in a situation where this was an
exercise for him of some kind. Who knows? I would not bet on my
wild guess but it did have one big advantage over any image of
yours... charity.

At the very least, he was not exactly cocky about his impending
role. Sadly, as I indicated in the last post, he is no longer
with us. But somehow, in your mind it is not a question but at
the same time it is one with an obvious answer. I am going to cut
you a bit of slack on this as I reckon you have not my
experiences in the world of contradictions and magic, I have
studied these things in some depth.

Bottom line: you simply had no real information which justified
coming in so strong so early against the poor fellow. Earthlings
are very sensitive beings and need sometimes to be treated very
carefully. We must feel our way and when suitably assured about
the deservedness and probable resilience of the victim, that is
the time to go in hard, as hard as you like.

Look, basically, I am just saying to you to circle a bit before
going for the throat, you will draw out the pleasure...

--
dorayme
VK

2006-11-05, 11:33 pm

dorayme wrote:
> to circle a bit before
> going for the throat, you will draw out the pleasure...


11 by my 10 grades scale!
Goes to my preferred quotes list unless (c) by artistic license (?) :-)

Jobe

2006-11-05, 11:33 pm

Dear all,

I'm willing to admit that due to the speed with which I write and work,
I made some very stupid mistakes.
I should have taken the time to look myself for the answers.The basic
idea of think before you speak:)

a)Wrong DOCTYPE
b)<h1> not closed
c) no <title> in head

Maybe the following remark is again withoout thinking:)....but please
as human beings don't waste time with throwing mud to each other.

I'm not a teacher. I'm not a student. I'm just having fun in webdesign.
For the rest of the day I try to run a company. But as most of us...I'm
only stupid dust in history:)

very best regards...friends

Johan

www.web-garden.be








VK wrote:
> dorayme wrote:
>
> 11 by my 10 grades scale!
> Goes to my preferred quotes list unless (c) by artistic license (?) :-)


dorayme

2006-11-05, 11:33 pm

In article
<1162239006.678951.98790@f16g2000cwb.googlegroups.com>,
"Jobe" <johan.jobe@XXXXXXXXXX> wrote:

> I'm just having fun in webdesign.


Right, Korpela, that's it! That proves it! I was right. He was
not Really Going To Teach Others.

> ...but please as human beings don't waste time with
> throwing mud to each other.


I am sooo glad that you are still with us. I held grave fears...
Never mind the mud, we are like birds and elephants, it is part
of the fun.

--
dorayme
Johannes Koch

2006-11-05, 11:33 pm

dorayme schrieb:
> In article
> <1162239006.678951.98790@f16g2000cwb.googlegroups.com>,
> "Jobe" <johan.jobe@XXXXXXXXXX> wrote:
>
>
> Right, Korpela, that's it! That proves it! I was right. He was
> not Really Going To Teach Others.


Who then asked Jobe to write this CSS/HTML course for himself?
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
dorayme

2006-11-05, 11:33 pm

In article
<45466a4b$0$97275$892e7fe2@authen.yellow.readfreenews.net>,
Johannes Koch <koch@w3development.de> wrote:

> dorayme schrieb:
>
> Who then asked Jobe to write this CSS/HTML course for himself?


Is it our business to ask such a question? Perhaps it is a
private matter. Perhaps even a very very sensitive one. I can
immediately think of 37 possibilities.

Did you ever see Rozanne? Famous scene in the beer hall where the
Cyrano de Bergerac character, C.D. Bales (Steve Martin) bets a
feller who dumbly says something about his nose, that he can come
up with 20 better and more cutting things to say about it?

My list on this issue might start with

1. A mate bet him a lot of money to write a tute on HTML...

and maybe end up with something like

37. Mr. Big Fat No One (like voices in his head maybe....huh?)

--
dorayme
patrick j

2006-11-05, 11:33 pm

On Mon, 30 Oct 2006 21:10:32 +0000, Johannes Koch wrote
(in article
<45466a4b$0$97275$892e7fe2@authen.yellow.readfreenews.net> ):

> Who then asked Jobe to write this CSS/HTML course for himself?


My take on the original posting is that he's been asked to do this
course and is in the process of effectively checking out if it's viable
for himself to do so.

Maybe after studying CSS/HTML for a period it will be viable for him to
run a course for beginners. I don't see any reason why not.

I think that if someone wants to run a CSS/HTML course for beginners
then people who are keen to spread the word about sensible and
intelligent web-site creation would think that this is someone worth
helping.

Being stunningly rude to the original poster is not going to benefit
anyone.

The original poster strikes me as polite and decent. He doesn't need to
explain himself but he has pointed out that "for the rest of the day I
try to run a company". Well I've been in the situation of "running a
company" and found all kinds of requests placed on me for one thing and
another. Maybe the other people in the company want him to run the
course? I don't think it matters very much quite frankly.

I currently work in an office 2.5 days a week (yuk) and in the office I
am considered to be extremely computer literate. This is really daft
because in the office everyone uses PCs with Windows including me and I
am clueless when it comes to Windows as for over twenty years I've used
Macs. However, just because I know very basic things about spreadsheets
and such-like then people believe me to be "very computer literate" and
could very easily ask me to run a course for them in something or
other. I think that if they did I'd look into seeing if it were
possible for me to get a handle on the subject and if I could I'd go
ahead and run the course and see it as a great learning thing for
myself.

--
Patrick
Brighton, UK

<http://www.patrickjames.me.uk>

Jobe

2006-11-05, 11:33 pm

Dear all,

>I think that if someone wants to run a CSS/HTML course for beginners
>then people who are keen to spread the word about sensible and

<intelligent web-site creation would think that this is someone worth
>helping


a)To avoid confusion...I'm asked to do tutorial work!!. But based on
the initial question, I came back with other idea's which were very
much appreciated by the questionners.

b)As a lot of this posters here, do see me more as a contamination, I
would appreciate to save my and your time not to describe in detail,
what the project is all about. The most important thing is, that I
really do believe in it. In respecting absolute modesty, but I don't
thing I'm stupid.

c)As a newbie in this discussion groups, I noticed that some people who
are , to my standards, quit arrogant, don't add links to there own
website with portfolio. People mentionning there site (with a pr
ranking of 2 or 3) receive more respect from me. They show what they
really are.

Let's stop this nonsens discussion and try to help peopel!

Very best regards

Johan

www.web-garden.be

patrick j wrote:
> On Mon, 30 Oct 2006 21:10:32 +0000, Johannes Koch wrote
> (in article
> <45466a4b$0$97275$892e7fe2@authen.yellow.readfreenews.net> ):
>
>
> My take on the original posting is that he's been asked to do this
> course and is in the process of effectively checking out if it's viable
> for himself to do so.
>
> Maybe after studying CSS/HTML for a period it will be viable for him to
> run a course for beginners. I don't see any reason why not.
>
> I think that if someone wants to run a CSS/HTML course for beginners
> then people who are keen to spread the word about sensible and
> intelligent web-site creation would think that this is someone worth
> helping.
>
> Being stunningly rude to the original poster is not going to benefit
> anyone.
>
> The original poster strikes me as polite and decent. He doesn't need to
> explain himself but he has pointed out that "for the rest of the day I
> try to run a company". Well I've been in the situation of "running a
> company" and found all kinds of requests placed on me for one thing and
> another. Maybe the other people in the company want him to run the
> course? I don't think it matters very much quite frankly.
>
> I currently work in an office 2.5 days a week (yuk) and in the office I
> am considered to be extremely computer literate. This is really daft
> because in the office everyone uses PCs with Windows including me and I
> am clueless when it comes to Windows as for over twenty years I've used
> Macs. However, just because I know very basic things about spreadsheets
> and such-like then people believe me to be "very computer literate" and
> could very easily ask me to run a course for them in something or
> other. I think that if they did I'd look into seeing if it were
> possible for me to get a handle on the subject and if I could I'd go
> ahead and run the course and see it as a great learning thing for
> myself.
>
> --
> Patrick
> Brighton, UK
>
> <http://www.patrickjames.me.uk>


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews