Newsgroup: it.comp.www.html
Titolo: "center" titolo table

Salve a tutti,
Vorrei gentilmente sapere perchè volendo centrare il
"--------TITOLO------" rispetto al resto del testo con il "center" la
riga sotto pur avendo premesso un <BR> compare 2 righe sotto come se
avessi messo <P>
Ho provato a cambiare align"left" mettendo center, ma tutto rimane
invariato
Grazie a chiunque voglia aiutarmi
Ciao
Marcos.
Ps: se ci sono altri errori siete autorizzati a farmeli notare : )
<CENTER><TABLE BORDER=10 WIDTH=500 HEIGHT=200>
<tr>
<td width="100%" valign="top" align="left" alt="" ><FONT COLOR="#FFFFFF"
FACE="Bookman Old Style" SIZE="2,5"align="center">
<CENTER><STRONG>---------TITOLO------------</STRONG></CENTER></FONT><BR>
<FONT COLOR="#FFFFFF" FACE="Bookman Old Style" SIZE="2"align"left">
<LI><STRONG>Vitigno:</STRONG> Vermentino.<BR>
<LI><STRONG> Colore:</STRONG> giallo paglierino.<BR>
<LI> <STRONG>Odore:</STRONG> intenso,caratteristico ,fruttato e
floreale.<BR>
<LI> <STRONG>  Gusto:</STRONG> sapore secco, armonico e delicatamente
mandorlato.<BR>
<LI> <STRONG>  Accostamenti:</STRONG> aperitivi, antipasti e piatti di
pesce.<BR>
<LI><STRONG> Temp. di serv.</STRONG> 12°.
<LI><STRONG>Vol. </STRONG>12%<BR>
<LI><STRONG>Ac.t. </STRONG>5,50
</FONT>
</I> </td>
<td width="60%" valign="bottom"aling = "left"><IMG SRC="Vermentino.jpg"
WIDTH=125 HEIGHT=202>
</FONT>   </td>
 </tr>
</table>

 <LI><STRONG>Vitigno:</STRONG> Vermentino.<BR>
riscusate l'ignoranza, ma <li> non so cosa sia, e io sapevo <b></b> per il
grassetto...
[CUT]
scusate, ma io sono un semi-purista dell'html, però alcuni tag non me li
ricordo proprio...
--
ciaciao da
greenkey (
gree...@europe.com
)
sito: 
http://utenti.worldonline.it/greenkey/
icq: 52922041

 ha scritto nel messaggio
A5Rq5.509$Wi7....@news.infostrada.it...
| Salve a tutti,
| Vorrei gentilmente sapere perchè volendo centrare il
| "--------TITOLO------" rispetto al resto del testo con il "center" la
| riga sotto pur avendo premesso un <BR> compare 2 righe sotto come se
| avessi messo <P>
|
| Ho provato a cambiare align"left" mettendo center, ma tutto rimane
| invariato
| Grazie a chiunque voglia aiutarmi
LI è un block-level element, quindi <br> non serve:
<CENTER><TABLE BORDER=10 WIDTH=500 HEIGHT=200>
<tr>
<td width="100%" valign="top" align="left" alt="" ><FONT COLOR="#FFFFFF"
FACE="Bookman Old Style" SIZE="2,5"align="center">
<CENTER>
          <STRONG>---------TITOLO------------</STRONG><FONT COLOR="#FFFFFF"
FACE="Bookman Old Style" SIZE="2"align"left">
          </FONT>
        </CENTER>
        </FONT><FONT COLOR="#FFFFFF" FACE="Bookman Old Style"
SIZE="2"align"left">
        <LI><STRONG>Vitigno:</STRONG> Vermentino.<BR>
        <LI><STRONG> Colore:</STRONG> giallo paglierino.<BR>
        <LI> <STRONG>Odore:</STRONG> intenso,caratteristico ,fruttato e
floreale.<BR>
        <LI> <STRONG> Gusto:</STRONG> sapore secco, armonico e delicatamente
mandorlato.<BR>
        <LI> <STRONG> Accostamenti:</STRONG> aperitivi, antipasti e piatti
di
          pesce.<BR>
        <LI><STRONG> Temp. di serv.</STRONG> 12°.
        <LI><STRONG>Vol. </STRONG>12%<BR>
        <LI><STRONG>Ac.t. </STRONG>5,50
        </FONT> </td>
<td width="60%" valign="bottom"aling = "left"><IMG SRC="Vermentino.jpg"
WIDTH=125 HEIGHT=202>
   </td>
 </tr>
</table>
</center>
Inoltre ci sono parecchi errori di validazione... ti consiglio di scaricarti
CSE Validator 2.0 Lite (gratuito) dal sito 
http://www.htmlvalidator.com/
mandi!
andrea/bergamasco
--
______________________________
Le faq di it.comp.www.html:
http://digilander.iol.it/tamburo

 mandi!
Che fai nascondi la mano? Il sasso però qui è arrivato....errori dove?
Poi prendero il validatore..
In Fede
Marcos.

 Che fai nascondi la mano? Il sasso però qui è arrivato....errori dove?
Cosi' a occhio c'e' un sacco di robaccia deprecata che andrebbe fatta in
modo piu' corretto con i fogli di stile (come <CENTER>, <FONT>...), se ci
siano o meno errori veri e propri non ho visto.
--
Laz
ICQ: 26989309 - 
l...@libero.it
 - 214WU/2207hrs
http://heinlein.cjb.net
 - Sito italiano su RAH
"Anything free is worth what you pay for it" -RAH

 ha scritto nel messaggio
f05r5.10860$Wi7.1...@news.infostrada.it...
<cut>
| > LI è un block-level element, quindi <br> non serve:
| >
| Scusa ma li serve solo per fare il punto all'inizio di ogni frase, BR
| per andare a capo..o sbaglio?
block-level element significa che va a capo da solo.
| Che fai nascondi la mano? Il sasso però qui è arrivato....errori dove?
| Poi prendero il validatore..
L'hai voluto tu ;)  Buona lettura!
andrea/bergamasco
--------------------------------------------------
CSE HTML Validator
Checking "C:\WINDOWS\Desktop\bin\tabella_titolo_centrato.htm" (1471 bytes).
File date is mercoledì 30 agosto 2000 at 9.30.08.
File validated on mercoledì 30 agosto 2000 at 9.38.29.
     Number of lines checked: 39 in 0.33 seconds
      Number of programs run: 66
Number of lines in HTML file: 39 (100.0% of lines checked)
     Number of lines ignored: 0
Number of character entities: 0
              Number of tags: 39
      Number of closing tags: 22 (56.4% of tags closed)
Number of <% ... %> sections: 0
     Number of HTML comments: 1
Number of validator comments: 7
          Number of messages: 2
            Number of errors: 14 (first in line 13)
          Number of warnings: 5 (first in line 15)
--------------------------------------------------
   1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
   2: <!--  grazie per aver visualizzato il codice di questa pagina! -->
   3: <html>
   4: <head>
   5: <title></title>
   6: <meta http-equiv=Content-Type content="text/html;
charset=windows-1252">
   7: <meta name=AUTHOR content="andrea/bergamasco - a.berga chiocciolina
libero.it
">
   8: </head>
   9:
  10: <body bgcolor="#000000">
  11: <CENTER><TABLE BORDER=10 WIDTH=500 HEIGHT=200>
-------||||||
[CSE] Message number 1 for the tag beginning in line 11:2:
[9] In HTML 4.0, the "CENTER" element is deprecated in favor
of using style sheets. This element may become obsolete in
the future.
  12: <tr>
  13: <td width="100%" valign="top" align="left" alt="" ><FONT
COLOR="#FFFFFF"
-------------------------------------------------|||
[CSE] Error number 1 in line 13:44:
The "alt" attribute is not valid for the "td" tag. The valid
attributes for this tag are: "ALIGN", "AXES", "AXIS",
"BACKGROUND", "BGCOLOR", "BORDERCOLOR", "BORDERCOLORDARK",
"BORDERCOLORLIGHT", "CHAR", "CHAROFF", "CLASS", "COLSPAN",
"DIR", "GRADANGLE", "GRADCOLOR", "HEADERS", "HEIGHT", "ID",
"LANG", "LANGUAGE", "MSIMAGELIST", "NOWRAP",
"onAfterUpdate", "onBeforeUpdate", "onBlur", "onClick",
"onDblClick", "onDragStart", "onFilterChange", "onFocus",
"onHelp", "onKeyDown", "onKeyPress", "onKeyUp",
"onMouseDown", "onMouseMove", "onMouseOut", "onMouseOver",
"onMouseUp", "onResize", "onRowEnter", "onRowExit",
"onSelectStart", "ROWSPAN", "SCOPE", "STYLE", "TITLE",
"TRANSPARENCY", "VALIGN", "WIDTH", and "xml:lang".
  13: <td width="100%" valign="top" align="left" alt="" ><FONT
COLOR="#FFFFFF"
----------------------------------------------------------||||
[CSE] Message number 2 for the tag beginning in line 13:53:
[9] In HTML 4.0, the "FONT" element is deprecated in favor
of using style sheets. This element may become obsolete in
the future.
  14: FACE="Bookman Old Style" SIZE="2,5"align="center">
-------------------------------------|||
[CSE] Error number 2 in line 14:32:
The "SIZE" attribute has an invalid attribute value "2,5".
Try using one of the following values: an integer offset
from -6 to +6 or an integer from 1 to 7.
  14: FACE="Bookman Old Style" SIZE="2,5"align="center">
-----------------------------------------|||||
[CSE] Error number 3 in line 14:36:
The "align" attribute is not valid for the "FONT" tag. The
valid attributes for this tag are: "CLASS", "COLOR", "DIR",
"EFFECT", "FACE", "ID", "LANG", "LANGUAGE", "onClick",
"onDblClick", "onDragStart", "onFilterChange", "onHelp",
"onKeyDown", "onKeyPress", "onKeyUp", "onMouseDown",
"onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp",
"onSelectStart", "POINT-SIZE", "SIZE", "STYLE", "TITLE",
"TRANSPARENCY", "WEIGHT", and "xml:lang".
  14: FACE="Bookman Old Style" SIZE="2,5"align="center">
-----------------------------------------|
[CSE] Error number 4 in line 14:36:
A quoted string cannot be immediately followed by text. It
must be followed by a space or the end of the tag.
  15: <CENTER>
-------||||||
[CSE] Warning number 1 in line 15:2:
[30] The "CENTER" tag is contained in a "FONT" tag (which
was opened in line 13). This may be acceptable for most
browsers (such as Internet Explorer and Netscape), but HTML
4.0 does not allow this. It may also cause problems or
unexpected page rendering for more compliant browsers such
as Opera. Possible solutions: 1. Close the "FONT" tag before
using the "CENTER" tag. Depending on the correct usage of
the closed tag, you may be able to reopen it after using the
"CENTER" tag; 2. Eliminate the "CENTER" tag; or 3. Reorder
the "CENTER" and "FONT" tags.
  16:           <STRONG>---------TITOLO------------</STRONG><FONT
COLOR="#FFFFFF" FACE="Bookman Old Style" SIZE="2"align"left">
----------------------------------------------------------------------------
---------------------------------------|||||||||||
[CSE] Error number 5 in line 16:110:
The "align"left"" attribute is not valid for the "FONT" tag.
The valid attributes for this tag are: "CLASS", "COLOR",
"DIR", "EFFECT", "FACE", "ID", "LANG", "LANGUAGE",
"onClick", "onDblClick", "onDragStart", "onFilterChange",
"onHelp", "onKeyDown", "onKeyPress", "onKeyUp",
"onMouseDown", "onMouseMove", "onMouseOut", "onMouseOver",
"onMouseUp", "onSelectStart", "POINT-SIZE", "SIZE", "STYLE",
"TITLE", "TRANSPARENCY", "WEIGHT", and "xml:lang".
  16:           <STRONG>---------TITOLO------------</STRONG><FONT
COLOR="#FFFFFF" FACE="Bookman Old Style" SIZE="2"align"left">
----------------------------------------------------------------------------
---------------------------------------|
[CSE] Error number 6 in line 16:110:
A quoted string cannot be immediately followed by text. It
must be followed by a space or the end of the tag.
  16:           <STRONG>---------TITOLO------------</STRONG><FONT
COLOR="#FFFFFF" FACE="Bookman Old Style" SIZE="2"align"left">
----------------------------------------------------------------------------
--------------------------------------------|
[CSE] Error number 7 in line 16:115:
Quotation mark found in text string where it shouldn't be.
  16:           <STRONG>---------TITOLO------------</STRONG><FONT
COLOR="#FFFFFF" FACE="Bookman Old Style" SIZE="2"align"left">
----------------------------------------------------------------------------
-------------------------------------------------|
[CSE] Error number 8 in line 16:120:
Quotation mark found in text string where it shouldn't be.
  17:           </FONT>
  18:         </CENTER>
  19:         </FONT><FONT COLOR="#FFFFFF" FACE="Bookman Old Style"
SIZE="2"align"left">
----------------------------------------------------------------------------
|||||||||||
[CSE] Error number 9 in line 19:71:
The "align"left"" attribute is not valid for the "FONT" tag.
The valid attributes for this tag are: "CLASS", "COLOR",
"DIR", "EFFECT", "FACE", "ID", "LANG", "LANGUAGE",
"onClick", "onDblClick", "onDragStart", "onFilterChange",
"onHelp", "onKeyDown", "onKeyPress", "onKeyUp",
"onMouseDown", "onMouseMove", "onMouseOut", "onMouseOver",
"onMouseUp", "onSelectStart", "POINT-SIZE", "SIZE", "STYLE",
"TITLE", "TRANSPARENCY", "WEIGHT", and "xml:lang".
  19:         </FONT><FONT COLOR="#FFFFFF" FACE="Bookman Old Style"
SIZE="2"align"left">
----------------------------------------------------------------------------
|
[CSE] Error number 10 in line 19:71:
A quoted string cannot be immediately followed by text. It
must be followed by a space or the end of the tag.
  19:         </FONT><FONT COLOR="#FFFFFF" FACE="Bookman Old Style"
SIZE="2"align"left">
----------------------------------------------------------------------------
-----|
[CSE] Error number 11 in line 19:76:
Quotation mark found in text string where it shouldn't be.
  19:         </FONT><FONT COLOR="#FFFFFF" FACE="Bookman Old Style"
SIZE="2"align"left">
----------------------------------------------------------------------------
----------|
[CSE] Error number 12 in line 19:81:
Quotation mark found in text string where it shouldn't be.
  20:         <LI><STRONG>Vitigno:</STRONG> Vermentino.<BR>
---------------||
[CSE] Warning number 2 in line 20:10:
[18] The "LI" element should normally be used only within a
list section (such as a "OL" or "UL" section), however, some
browser may render this element without any problems, even
if it is not used within a list section. This message is
displayed only once for the first "LI" tag that is not in a
list section.
  21:         <LI><STRONG> Colore:</STRONG> giallo paglierino.<BR>
  22:         <LI> <STRONG>Odore:</STRONG> intenso,caratteristico ,fruttato
e floreale.<BR>
  23:         <LI> <STRONG> Gusto:</STRONG> sapore secco, armonico e
delicatamente mandorlato.<BR>
  24:         <LI> <STRONG> Accostamenti:</STRONG> aperitivi, antipasti e
piatti di
  25:           pesce.<BR>
  26:         <LI><STRONG> Temp. di serv.</STRONG> 12°.
-----------------------------------------------------|
[CSE] Warning number 3 in line 26:48:
High ASCII characters were found. You may want to replace
high ASCII characters with character entities, but this is
not technically necessary.
  27:         <LI><STRONG>Vol. </STRONG>12%<BR>
  28:         <LI><STRONG>Ac.t. </STRONG>5,50
  29:         </FONT> </td>
  30: <td width="60%" valign="bottom"aling = "left"><IMG
SRC="Vermentino.jpg"
-------------------------------------|||||
[CSE] Error number 13 in line 30:32:
The "aling" attribute is not valid for the "td" tag. The
valid attributes for this tag are: "ALIGN", "AXES", "AXIS",
"BACKGROUND", "BGCOLOR", "BORDERCOLOR", "BORDERCOLORDARK",
"BORDERCOLORLIGHT", "CHAR", "CHAROFF", "CLASS", "COLSPAN",
"DIR", "GRADANGLE", "GRADCOLOR", "HEADERS", "HEIGHT", "ID",
"LANG", "LANGUAGE", "MSIMAGELIST", "NOWRAP",
"onAfterUpdate", "onBeforeUpdate", "onBlur", "onClick",
"onDblClick", "onDragStart", "onFilterChange", "onFocus",
"onHelp", "onKeyDown", "onKeyPress", "onKeyUp",
"onMouseDown", "onMouseMove", "onMouseOut", "onMouseOver",
"onMouseUp", "onResize", "onRowEnter", "onRowExit",
"onSelectStart", "ROWSPAN", "SCOPE", "STYLE", "TITLE",
"TRANSPARENCY", "VALIGN", "WIDTH", and "xml:lang".
  30: <td width="60%" valign="bottom"aling = "left"><IMG
SRC="Vermentino.jpg"
-------------------------------------|
[CSE] Error number 14 in line 30:32:
A quoted string cannot be immediately followed by text. It
must be followed by a space or the end of the tag.
  30: <td width="60%" valign="bottom"aling = "left"><IMG
SRC="Vermentino.jpg"
-------------------------------------------|
[CSE] Warning number 4 in line 30:38:
Spaces found around the character '='.
  30: <td width="60%" valign="bottom"aling = "left"><IMG
SRC="Vermentino.jpg"
-----------------------------------------------------|||
[CSE] Warning number 5 in line 30:48:
[13] HTML 4.0 requires that the "ALT" attribute be used with
the "IMG" element. "ALT" lets authors specify alternate text
to serve as content when the image cannot be displayed. Use
ALT="" when alternate text is not appropriate, such as when
images are intended to format a page.
  31: WIDTH=125 HEIGHT=202>
  32:    </td>
  33:  </tr>
  34: </table>
  35:
  36:
  37: </center></body>
  38:
  39: </html>
[CSE] Comment number 1:
You can allow spaces to surround equal signs by turning on
the option to allow spaces around '='. This option is in CSE
HTML Validator's Validator Options. If allowed, attributes
such as ALIGN =CENTER and ALIGN = CENTER will not generate
error messages.
[CSE] Comment number 2:
You may want to turn off high ASCII character checking. It
is normally not technically necessary to not use high ASCII
characters in your documents. Furthermore, it is a common
misconception that you MUST use character entities instead
of high ASCII characters in HTML documents. It is
technically acceptable to use high ASCII characters instead
of their equivalent character entities if your editor allows
it. This option is in CSE HTML Validator's Validator
Options.
[CSE] Comment number 3:
[8] <META NAME=DESCRIPTION CONTENT="(actual description)">
should be used in the HEAD section to provide a brief
description of what is contained on this page. This
information is used by many search engines when indexing a
site. If you are using HTML Validator's integrated editor,
you can add this tag from the Tags menu.
[CSE] Comment number 4:
[8] <META NAME=KEYWORDS CONTENT="(actual keyword list)">
should be used in the HEAD section to provide a list of
keywords that are relevent to this page. This information is
used by many search engines when indexing a site. If you are
using HTML Validator's integrated editor, you can add this
tag from the Tags menu.
[CSE] Comment number 5:
[15] An RSACi rating "META" tag was not found in the HEAD
section of this document. Browsers that are enabled with
this rating system may not display documents that have not
been rated. If you have rated this document by rating the
whole site or a section of it, it is still recommended that
you include the rating "META" tag on all of your pages for
performance reasons. For more information, please visit
http://www.icra.org/
.
[CSE] Comment number 6:
[10] CSE HTML Validator Professional allows you to disable
certain messages (like this example message). For instance,
the [10] indicates that you can disable this comment by
disabling validator flag 10. If you are using HTML
Validator's integrated editor, you can simply use your mouse
on this message to open the context menu (usually done by
right clicking the mouse on this message) and select
'Disable Flag 10' to disable this message. For more
information about disabling messages, please look at the
HTML Configuration section in the documentation.
[CSE] Comment number 7:
[14] 0.28s, 14 errors, 5 warnings, 2 messages, 7 validator
comments, 39 lines, 39 tags (22 closed), 1 document comment,
0 entities, 66 programs run.
--------------------------------------------------
<html>
| <head>
| | <title>
| | </title>
| | <meta> <meta>
| </head>
| <body>
| | <CENTER>
| | | <TABLE>
| | | | <tr>
| | | | | <td>
| | | | | | <FONT>
| | | | | | | <CENTER>
| | | | | | | | <STRONG>
| | | | | | | | </STRONG>
| | | | | | | | <FONT>
| | | | | | | | </FONT>
| | | | | | | </CENTER>
| | | | | | </FONT>
| | | | | | <FONT>
| | | | | | | <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <BR> <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <BR> <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <BR> <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <BR> <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <BR> <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | | <BR> <LI>
| | | | | | | <STRONG>
| | | | | | | </STRONG>
| | | | | | </FONT>
| | | | | </td>
| | | | | <td>
| | | | | | <IMG>
| | | | | </td>
| | | | </tr>
| | | </table>
| | </center>
| </body>
</html>