473,378 Members | 1,417 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,378 software developers and data experts.

News from the builing site - some questions

Following the friendly advices I try to realize Strict HTML 4.01 with
CSS. It makes fun, but is not always trivial.

Changing from "tagsoup" to styles there are happening errors and some
non intended side effects:

- What is wrong here?
Line 33, column 69: document type does not allow element "INPUT" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV",
"ADDRESS" start-tag

...50px;" type="Submit" name="submit" value="CDOrg">

29: <table border cellspacing=1>
30: <tr>
31: <td align="center" style="width:150px">
32: <form style="margin:0" action="cdorg/index.php">
33: <input style="width:150px;" type="Submit" name="submit"
value="CDOrg">
34: </form>
35: </td>

- I got a special mozilla effect to be seen in:
http://www.sonoptikon.de/artemis/index.php

The two Texts in the banner "need" so much space that the cell of the
icon gets higher. The don't need so much space in IE.

This effect happened after I took the properties away from tags into
css-stylesheet, and it seems to be a mozilla/Netscape-problem.

These are the properties in the stylsheet:
..frame { width:100%; border-spacing:1px; padding:1px; }
..icon { background-color:#EEEEEE; vertical-align:middle; padding:4px;
width:1%; height:1%}
..banner { background-color:#EEEEEE; vertical-align:middle; padding:4px; }
..lframe { background-color:#EEEEEE; vertical-align:top;
text-align:center; padding:0 }
..doc { background-color:#FFFFFF; vertical-align:top; padding:4px;
text-align:left;}

icon, banner and frame should be as small as possible (therefore by icon
1%, perhaps not very sophisticated, but works).

Thanks for help.

Werner
--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:ka****@sonoptikon.de * http://www.sonoptikon.de
hören Sie Klassik: http://www.drmk.ch/
Jul 20 '05 #1
4 1558
Werner Partner wrote:
Following the friendly advices I try to realize Strict HTML 4.01 with
CSS. 29: <table border cellspacing=1>
30: <tr>
31: <td align="center" style="width:150px">
This doesn't look like HTML 4.01 strict, nor that you have dropped
layout tables.
- What is wrong here?
Line 33, column 69: document type does not allow element "INPUT" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV",
"ADDRESS" start-tag

32: <form style="margin:0" action="cdorg/index.php">
33: <input style="width:150px;" type="Submit" name="submit"
value="CDOrg">
34: </form>


The dtd that you chose requires that form elements like <input> be in a
block level container.

<FORM ACTION="cdorg/index.php" METHOD="POST">
<DIV>
<LABEL FOR="user">user number</LABEL>
<INPUT TYPE="text" NAME="user" id="user">
</DIV>
<DIV>
<INPUT TYPE="submit" VALUE="CDOrg">
</DIV>
</FORM>

--
Brian
Jul 20 '05 #2
Werner Partner wrote:
Following the friendly advices I try to realize Strict HTML 4.01 with
CSS. 29: <table border cellspacing=1>
30: <tr>
31: <td align="center" style="width:150px">
This doesn't look like HTML 4.01 strict, nor that you have dropped
layout tables.
- What is wrong here?
Line 33, column 69: document type does not allow element "INPUT" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV",
"ADDRESS" start-tag

32: <form style="margin:0" action="cdorg/index.php">
33: <input style="width:150px;" type="Submit" name="submit"
value="CDOrg">
34: </form>


The dtd that you chose requires that form elements like <input> be in a
block level container.

<FORM ACTION="cdorg/index.php" METHOD="POST">
<DIV>
<LABEL FOR="user">user number</LABEL>
<INPUT TYPE="text" NAME="user" id="user">
</DIV>
<DIV>
<INPUT TYPE="submit" VALUE="CDOrg">
</DIV>
</FORM>

--
Brian
Jul 20 '05 #3
Brian schrieb:
Werner Partner wrote:
> Following the friendly advices I try to realize Strict HTML 4.01 with
> CSS.
> 29: <table border cellspacing=1>
> 30: <tr>
> 31: <td align="center" style="width:150px">


This doesn't look like HTML 4.01 strict, nor that you have dropped
layout tables.


Yes - I'm about to change all these old designs!
- What is wrong here?
Line 33, column 69: document type does not allow element "INPUT" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV",
"ADDRESS" start-tag

32: <form style="margin:0" action="cdorg/index.php">
33: <input style="width:150px;" type="Submit" name="submit"
value="CDOrg">
34: </form>

The dtd that you chose requires that form elements like <input> be in a
block level container.

<FORM ACTION="cdorg/index.php" METHOD="POST">
<DIV>
<LABEL FOR="user">user number</LABEL>
<INPUT TYPE="text" NAME="user" id="user">
</DIV>
<DIV>
<INPUT TYPE="submit" VALUE="CDOrg">
</DIV>
</FORM>


Thanks!

That's seem to be the solution.

Werner

--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:ka****@sonoptikon.de * http://www.sonoptikon.de
hören Sie Klassik: http://www.drmk.ch/
Jul 20 '05 #4
Brian schrieb:
Werner Partner wrote:
> Following the friendly advices I try to realize Strict HTML 4.01 with
> CSS.
> 29: <table border cellspacing=1>
> 30: <tr>
> 31: <td align="center" style="width:150px">


This doesn't look like HTML 4.01 strict, nor that you have dropped
layout tables.


Yes - I'm about to change all these old designs!
- What is wrong here?
Line 33, column 69: document type does not allow element "INPUT" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV",
"ADDRESS" start-tag

32: <form style="margin:0" action="cdorg/index.php">
33: <input style="width:150px;" type="Submit" name="submit"
value="CDOrg">
34: </form>

The dtd that you chose requires that form elements like <input> be in a
block level container.

<FORM ACTION="cdorg/index.php" METHOD="POST">
<DIV>
<LABEL FOR="user">user number</LABEL>
<INPUT TYPE="text" NAME="user" id="user">
</DIV>
<DIV>
<INPUT TYPE="submit" VALUE="CDOrg">
</DIV>
</FORM>


Thanks!

That's seem to be the solution.

Werner

--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:ka****@sonoptikon.de * http://www.sonoptikon.de
hören Sie Klassik: http://www.drmk.ch/
Jul 20 '05 #5

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

Similar topics

1
by: Stephen Witter | last post by:
I have a number of general questions that I can't seems to find answers to on the internet. Some are very basic questions and if someone can help me I would be really appreciative . I have been...
1
by: Steven (remove wax and invalid for reply) | last post by:
Hello to all. I'm a member of this non-profit organization: http://www.hitagroup.org/ For several reasons, we need to move our web host and I got volunteered. The person who created it is no...
0
by: Magnus Lycka | last post by:
QOTW: "The IEEE-754 standard doesn't wholly define output conversions, and explicitly allows that a conforming implementation may produce any digits whatsoever at and after the 18th signficant...
25
by: Peter Michaux | last post by:
Hi, There have been a few suggestions for changing the format of the FAQ site to make it easier to maintain. VK suggested and XML procedure. Matt Kruse suggested a wiki. I think something...
6
by: Mark C | last post by:
Hi I am in progress of developing my own developers community site for practise tests. I would just like any type of feedback or opinions site is http://www.quiznetonline.com Thanks in...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
5
by: Mark C | last post by:
Hi I am in the progress of developing a web site whereby developers can do free online tests on various programming languages. I would just like some advice or feedback on ways to improve the...
12
by: user923005 | last post by:
If the other pages are like this, then Herbert Schildt has met his match: http://hitechskill.com/technicalq/IT-Interview-Questions.jsp?type=C&page=1 I already sent them a scathing letter.
4
by: Tamer Ibrahim | last post by:
Hi, I want to create a news mangement system in my web site using c# as a frontend and sql server 2005 as a back end. The news system should be able to allow me adding and editing my news that...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.