01net    Web


Actuellement en ligne : 124 Utilisateurs dont 8 dans Programmation et développement >S'inscrire      >S'identifier      >Recherche      >Aide  
modéré par A.Ouloube, Beno@  
01net > Forum de 01net > Programmation et développement > HTML / Javascript
> Pour faire une ombre...
Auteur
Message
 
<     1       >
super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 29/01/2008 20:37:01  
Voter pour ce message
Bonjour à tous ! Je chercherais à faire une ombre sur le côté comme sur ce kit graphique ( http://sd-1.archive-host.com/membres/up/727692485/image.jpg ).
Voici mon kit ( http://wakfaide.hostarea.org/ ).
Merci d'avance !
Beno@
  
  :-)
      ?   @     Posté le 29/01/2008 21:57:01  
Voter pour ce message
un simple dégradé vertical fait avec un logiciel d'edition graphique ;)
super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 30/01/2008 12:43:22  
Voter pour ce message
C'est ce que j'ai fais ! Mais le problème c'est que selon la résolution de l'écran, le fond change de place !

- en 1280x960 : http://sd-1.archive-host.com/membres/up/727692485/Sanstitre.jpg
- en moins de 1280x960 : http://sd-1.archive-host.com/membres/up/727692485/Sanstitre2.jpg
-->Message édité par super_bubu le 30/01/2008 12:44:23<--
super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 31/01/2008 18:26:16  
Voter pour ce message
J'ai trouvée ! Il fallait rajouter dans body :
background-position: center ;
:hello:
Beno@
  
  :-)
      ?   @     Posté le 31/01/2008 21:14:42  
Voter pour ce message
super_bubu a écrit :
J'ai trouvée ! Il fallait rajouter dans body :
background-position: center ;
:hello:

mets le en css ;)

background: url('image.jpg') #ffffff center top y-repeat;
super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 01/02/2008 21:19:03  
Voter pour ce message
C'est fait ! ;) et sinon j'ai une autre question :
En doctype j'utilise ceci : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> est-il bon ?
Beno@
  
  :-)
      ?   @     Posté le 01/02/2008 21:28:38  
Voter pour ce message
lors de la validation par le validateur W3C, il te dit quelques chose?
booster44
  
   
      ?   ^   @     Posté le 02/02/2008 10:01:33  
Voter pour ce message
moi je prend celui la :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


le mien WC3 me dit rien
ca a l'air bon
Beno@
  
  :-)
      ?   @     Posté le 02/02/2008 10:05:39  
Voter pour ce message
oui mais le votre est un doctype xhtml 1.0 strict ;)
d'ailleurs, pensez à essayer le xhtml 1.1 :)
booster44
  
   
      ?   ^   @     Posté le 02/02/2008 11:53:28  
Voter pour ce message
et ca changera quoi ???
Beno@
  
  :-)
      ?   @     Posté le 02/02/2008 13:40:51  
Voter pour ce message
le xhtml 1.1 est en quelques sortes le successeur du xhtml 1.0 strict
super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 02/02/2008 18:32:26  
Voter pour ce message
Voilà le test :
Validation Output: 28 Errors

1. Error Line 2, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml.

<html><head>



Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
2. Error Line 3, Column 80: end tag for "meta" omitted, but OMITTAG NO was specified.

…tent="text/html; charset=iso-8859-1">



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
3. Info Line 3, Column 8: start tag was here.

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

4. Error Line 5, Column 125: end tag for "link" omitted, but OMITTAG NO was specified.

…l="stylesheet" type="text/css"></head>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
5. Info Line 5, Column 63: start tag was here.

…le site d'aide au jeu Wakfu !</title><link href="style.css" rel="stylesheet"

6. Error Line 15, Column 83: required attribute "alt" not specified.

….round((Math.random()*3)+1)+ '.jpg" />');



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
7. Error Line 15, Column 83: document type does not allow element "img" here.

….round((Math.random()*3)+1)+ '.jpg" />');



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
8. Error Line 30, Column 35: document type does not allow element "h4" here; assuming missing "li" start-tag.

<h4><li> <a href="fichierA.html" class="lienmenu


9. Error Line 30, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierA.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
10. Error Line 31, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierB.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
11. Error Line 32, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierC.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
12. Error Line 33, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierD.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
13. Error Line 34, Column 28: end tag for "li" omitted, but OMITTAG NO was specified.

</ul>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
14. Info Line 30, Column 32: start tag was here.

<h4><li> <a href="fichierA.html" class="lienmenu

15. Error Line 37, Column 35: document type does not allow element "h4" here; assuming missing "li" start-tag.

<h4><li> <a href="fichierE.html" class="lienmenu


16. Error Line 37, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierE.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
17. Error Line 38, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierF.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
18. Error Line 39, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierG.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
19. Error Line 40, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierH.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
20. Error Line 41, Column 28: end tag for "li" omitted, but OMITTAG NO was specified.

</ul>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
21. Info Line 37, Column 32: start tag was here.

<h4><li> <a href="fichierE.html" class="lienmenu

22. Error Line 44, Column 35: document type does not allow element "h4" here; assuming missing "li" start-tag.

<h4><li> <a href="fichierI.html" class="lienmenu


23. Error Line 44, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierI.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
24. Error Line 45, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierJ.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
25. Error Line 46, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierK.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
26. Error Line 47, Column 39: document type does not allow element "li" here.

<h4><li> <a href="fichierL.html" class="lienmenu



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
27. Error Line 48, Column 28: end tag for "li" omitted, but OMITTAG NO was specified.

</ul>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
28. Info Line 44, Column 32: start tag was here.

<h4><li> <a href="fichierI.html" class="lienmenu

29. Error Line 54, Column 29: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

<div id="pubHA"></div>



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
30. Error Line 5, Column > 80: XML Parsing Error: Opening and ending tag mismatch: link line 5 and head.

… jeu Wakfu !</title><link href="style.css" rel="stylesheet" type="text/css"><…


31. Error Line 69, Column > 80: XML Parsing Error: Opening and ending tag mismatch: meta line 3 and html.

…services.hostarea.org/pub/verificateur.js.php?login=wakfaide"></script></body…


32. Error Line 69, Column > 80: XML Parsing Error: Premature end of data in tag head line 2.

…services.hostarea.org/pub/verificateur.js.php?login=wakfaide"></script></body…


33. Error Line 69, Column > 80: XML Parsing Error: Premature end of data in tag html line 2.

…services.hostarea.org/pub/verificateur.js.php?login=wakfaide"></script></body…


super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 06/02/2008 12:30:04  
Voter pour ce message
Up ! :pt1cable:
Beno@
  
  :-)
      ?   @     Posté le 06/02/2008 19:54:14  
Voter pour ce message
en plus de ton doctype, ta balise <html> doit faire une truc comme ca:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
super_bubu
  Appelez moi Rublo !
  :-)
      ?   @     Posté le 07/02/2008 13:10:55  
Voter pour ce message
Ok :super: Thanks ! :D
<     1       >

01net > Forum de 01net > Programmation et développement > HTML / Javascript
> Pour faire une ombre...

Aller à :

Page générée en : 0.098s - X2board 2.2

Nous contacter | Charte de confiance | Voir notice légale

Tous droits réservés © 1999 - 2008 Groupe Tests - 01net.


Sites du réseau 01net Network : 01net - 01men - Rmc.fr - Bfmtv.fr - Radiobfm.com - TousLesPodcasts - Micro Achat

Sécurité
AVG vous offre une triple protection pour Windows : antivirus + antispyware + pare-feu.

Foot

Ben Arfa : un caractériel ! Le surdoué du foot français veut se débarrasser de son image d'égocentrique