473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

<h1> en IE6 or IE7

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 <h1a border 1px solid black.

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

In FF everything look great.

Oct 29 '06 #1
16 2010
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 <h1a 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/

Oct 29 '06 #2
On 2006-10-29, Jobe <jo********@gmail.comwrote:
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 <h1a border 1px solid black.

However IE puts a border around everything instead of only the header.
It may because you forgot to close the <h1tag.
In FF everything look great.
It guessed that you meant </h1before <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.
Oct 29 '06 #3
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 <h1a 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 <h1element. You have:

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

Place an </h1at the end of the "Hoofdstuk" line. IE isn't closing the
<h1when it encounters another block level element. A trip to the
validator would have shown you this:
<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.web-garden.be%2Ftijdelijk%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
Oct 29 '06 #4
In article <%J*******************@reader1.news.jippii.net>,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
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.")
What is the point of such a remark? Why bash a possible school
student given a project? (Hint: he said "(for myself?:))

--
dorayme
Oct 29 '06 #5
Scripsit dorayme:
>>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.")

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/

Oct 29 '06 #6
In article <kO*******************@reader1.news.jippii.net>,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit dorayme:
Why bash a possible school student given a project?

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
Oct 30 '06 #7
Scripsit dorayme:
>You're the one who suggested that someone is a school student.

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/

Oct 30 '06 #8
In article <KT*******************@reader1.news.jippii.net>,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit dorayme:
You're the one who suggested that someone is a school student.
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.
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
Oct 30 '06 #9
VK
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 (?) :-)

Oct 30 '06 #10
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)<h1not closed
c) no <titlein 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:
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 (?) :-)
Oct 30 '06 #11
In article
<11*********************@f16g2000cwb.googlegroups. com>,
"Jobe" <jo********@gmail.comwrote:
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
Oct 30 '06 #12
dorayme schrieb:
In article
<11*********************@f16g2000cwb.googlegroups. com>,
"Jobe" <jo********@gmail.comwrote:
>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.
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)
Oct 30 '06 #13
In article
<45***********************@authen.yellow.readfreen ews.net>,
Johannes Koch <ko**@w3development.dewrote:
dorayme schrieb:
In article
<11*********************@f16g2000cwb.googlegroups. com>,
"Jobe" <jo********@gmail.comwrote:
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.

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
Oct 30 '06 #14
On Mon, 30 Oct 2006 21:10:32 +0000, Johannes Koch wrote
(in article
<45***********************@authen.yellow.readfreen ews.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>

Oct 30 '06 #15
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
<45***********************@authen.yellow.readfreen ews.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>
Nov 1 '06 #16
dp
Jobe wrote:
...

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
You seem to be under the impression that usenet is about help.
It's not.
It's all about discussion.
Presentation of parochial, narrow-minded, arrogant and self-righteous points
of view by people who "have to be right" are part of the journey.

--
dp
Nov 2 '06 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Arne Schirmacher | last post by:
I want to display a MySQL database field that can contain HTML markup. If I use <esql:get-string> then I get all of the database field, but all tags are escaped which is not what I want. If I use...
3
by: F. Engel | last post by:
hello guys, my problem is, that the haedline in my table-cell goes on the top and not in the middle. in my css the vertikal-align: middle doesn't work with <h1>. is this normal. what can i do?...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
3
by: Michael Shell | last post by:
Greetings, Consider the XHTML document attached at the end of this post. When viewed under Firefox 1.0.5 on Linux, highlighting and pasting (into a text editor) the <pre> tag listing will...
11
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
24
by: Chris F.A. Johnson | last post by:
On 2008-07-09, Denis McMahon wrote: If the left-hand column contains any text, use em rather than px to size it. In CSS, less is more. Most problems are caused by specifying too much rather...
3
by: L3SH | last post by:
I have inserted a swf file within my html and am wanting to put a heading with a background colour overtop. I have tried using z-index but this still places the heading behind the swf content. Does...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.