Problème de découpage de page html
mb42
Messages postés
432
Date d'inscription
Statut
Membre
Dernière intervention
-
youkc Messages postés 46 Date d'inscription Statut Membre Dernière intervention -
youkc Messages postés 46 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
mon but est d'organiser mon travail dans une page html
en faite je veux découper la page html en deux tableau qui sont à coté et de même taille
le contenu actuelle de ma page web est le suivant :
je veux que le contenu de premier tableau :
et le contenu de deuxième tableau est :
et je pense que je dois mettre les deux tableau dans un tableau principale
est ce quelqu'un pouvez m'aider
merci d'avance
mon but est d'organiser mon travail dans une page html
en faite je veux découper la page html en deux tableau qui sont à coté et de même taille
le contenu actuelle de ma page web est le suivant :
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <style type="text/css"> *{ /* A universal CSS reset */ margin:0; padding:0; } #navigationMenu li{ list-style:none; height:39px; padding:2px; width:40px; } #navigationMenu span{ /* Container properties */ width:0; left:38px; padding:0; position:absolute; overflow:hidden; /* Text properties */ font-family:'Myriad Pro',Arial, Helvetica, sans-serif; font-size:18px; font-weight:bold; letter-spacing:0.6px; white-space:nowrap; line-height:39px; /* CSS3 Transition: */ -webkit-transition: 0.25s; /* Future proofing (these do not work yet): */ -moz-transition: 0.25s; transition: 0.25s; } #navigationMenu a{ background:url('/ProjetVrai/images2/navigation.jpg') no-repeat; height:39px; width:38px; display:block; position:relative; } /* General hover styles */ #navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; } #navigationMenu a:hover{ text-decoration:none; /* CSS outer glow with the box-shadow property */ -moz-box-shadow:0 0 5px #9ddff5; -webkit-box-shadow:0 0 5px #9ddff5; box-shadow:0 0 5px #9ddff5; } /* Green Button */ #navigationMenu .home { background-position:0 0;} #navigationMenu .home:hover { background-position:0 -39px;} #navigationMenu .home span{ background-color:#7da315; color:#3d4f0c; text-shadow:1px 1px 0 #99bf31; } /* Blue Button */ #navigationMenu .about { background-position:-38px 0;} #navigationMenu .about:hover { background-position:-38px -39px;} #navigationMenu .about span{ background-color:#1e8bb4; color:#223a44; text-shadow:1px 1px 0 #44a8d0; } /* Orange Button */ #navigationMenu .services { background-position:-76px 0;} #navigationMenu .services:hover { background-position:-76px -39px;} #navigationMenu .services span{ background-color:#c86c1f; color:#5a3517; text-shadow:1px 1px 0 #d28344; } /* Yellow Button */ #navigationMenu .portfolio { background-position:-114px 0;} #navigationMenu .portfolio:hover{ background-position:-114px -39px;} #navigationMenu .portfolio span{ background-color:#d0a525; color:#604e18; text-shadow:1px 1px 0 #d8b54b; } /* Purple Button */ #navigationMenu .contact { background-position:-152px 0;} #navigationMenu .contact:hover { background-position:-152px -39px;} #navigationMenu .contact span{ background-color:#af1e83; color:#460f35; text-shadow:1px 1px 0 #d244a6; } /* The styles below are only needed for the demo page */ #main{ margin:80px auto; position:relative; width:40px; } h1{ color:#fff; font-size:30px; font-weight:normal; padding:60px 0 20px; text-align:center; } a, a:visited,a:active { color:#0196e3; text-decoration:none; outline:none; } a:hover{ text-decoration:underline; } a img{ border:none; } </style> </head> <body> <s:form id="statsForm" action="refreshChart" method="POST" theme="simple"> <div id="chartContainer"></div> <s:hidden id="graphXML" name="graphXML" /> <s:hidden id="chartType" name="chartType" /> <ul id="navigationMenu"> <li> <a class="home" href="<s:url action="Bar"/>"> <span>Bar</span> </a> </li> <li> <a class="about" href="<s:url action="Column2D"/>"> <span>Column2D</span> </a> </li> <li> <a class="Line2D" href="<s:url action="Line2D"/>"> <span>Line2D</span> </a> </li> <li> <a class="portfolio" href="<s:url action="Pie2D"/>"> <span>Pie2D</span> </a> </li> <li> <a class="contact" href="<s:url action="Pie3D"/>"> <span>Pie3D</span> </a> </li> </ul> </s:form> </body> </html>
je veux que le contenu de premier tableau :
<div id="chartContainer"></div> <s:hidden id="graphXML" name="graphXML" /> <s:hidden id="chartType" name="chartType" />
et le contenu de deuxième tableau est :
<ul id="navigationMenu"> <li> <a class="home" href="<s:url action="Bar"/>"> <span>Bar</span> </a> </li> <li> <a class="about" href="<s:url action="Column2D"/>"> <span>Column2D</span> </a> </li> <li> <a class="Line2D" href="<s:url action="Line2D"/>"> <span>Line2D</span> </a> </li> <li> <a class="portfolio" href="<s:url action="Pie2D"/>"> <span>Pie2D</span> </a> </li> <li> <a class="contact" href="<s:url action="Pie3D"/>"> <span>Pie3D</span> </a> </li> </ul>
et je pense que je dois mettre les deux tableau dans un tableau principale
est ce quelqu'un pouvez m'aider
merci d'avance
A voir également:
- Problème de découpage de page html
- Impossible de supprimer une page word - Guide
- Editeur html - Télécharger - HTML
- Numéro de page word - Guide
- Bordure de page word - Guide
- Page de démarrage google - Guide
3 réponses
Bonjour !
voila :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<style type="text/css">
*{
/* A universal CSS reset */
margin:0;
padding:0;
}
#navigationMenu li{
list-style:none;
height:39px;
padding:2px;
width:40px;
}
#navigationMenu span{
/* Container properties */
width:0;
left:38px;
padding:0;
position:absolute;
overflow:hidden;
/* Text properties */
font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
font-size:18px;
font-weight:bold;
letter-spacing:0.6px;
white-space:nowrap;
line-height:39px;
/* CSS3 Transition: */
-webkit-transition: 0.25s;
/* Future proofing (these do not work yet): */
-moz-transition: 0.25s;
transition: 0.25s;
}
#navigationMenu a{
background:url('/ProjetVrai/images2/navigation.jpg') no-repeat;
height:39px;
width:38px;
display:block;
position:relative;
}
/* General hover styles */
#navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; }
#navigationMenu a:hover{
text-decoration:none;
/* CSS outer glow with the box-shadow property */
-moz-box-shadow:0 0 5px #9ddff5;
-webkit-box-shadow:0 0 5px #9ddff5;
box-shadow:0 0 5px #9ddff5;
}
/* Green Button */
#navigationMenu .home { background-position:0 0;}
#navigationMenu .home:hover { background-position:0 -39px;}
#navigationMenu .home span{
background-color:#7da315;
color:#3d4f0c;
text-shadow:1px 1px 0 #99bf31;
}
/* Blue Button */
#navigationMenu .about { background-position:-38px 0;}
#navigationMenu .about:hover { background-position:-38px -39px;}
#navigationMenu .about span{
background-color:#1e8bb4;
color:#223a44;
text-shadow:1px 1px 0 #44a8d0;
}
/* Orange Button */
#navigationMenu .services { background-position:-76px 0;}
#navigationMenu .services:hover { background-position:-76px -39px;}
#navigationMenu .services span{
background-color:#c86c1f;
color:#5a3517;
text-shadow:1px 1px 0 #d28344;
}
/* Yellow Button */
#navigationMenu .portfolio { background-position:-114px 0;}
#navigationMenu .portfolio:hover{ background-position:-114px -39px;}
#navigationMenu .portfolio span{
background-color:#d0a525;
color:#604e18;
text-shadow:1px 1px 0 #d8b54b;
}
/* Purple Button */
#navigationMenu .contact { background-position:-152px 0;}
#navigationMenu .contact:hover { background-position:-152px -39px;}
#navigationMenu .contact span{
background-color:#af1e83;
color:#460f35;
text-shadow:1px 1px 0 #d244a6;
}
/* The styles below are only needed for the demo page */
#main{
margin:80px auto;
position:relative;
width:40px;
}
h1{
color:#fff;
font-size:30px;
font-weight:normal;
padding:60px 0 20px;
text-align:center;
}
a, a:visited,a:active {
color:#0196e3;
text-decoration:none;
outline:none;
}
a:hover{
text-decoration:underline;
}
a img{
border:none;
}
</style>
</head>
<body>
<s:form id="statsForm" action="refreshChart" method="POST" theme="simple">
<table border="1">
<tr>
<td>
<div id="chartContainer"></div>
----------- partie une -----------
<s:hidden id="graphXML" name="graphXML" />
<s:hidden id="chartType" name="chartType" />
</td>
</tr>
<tr>
<td>
<ul id="navigationMenu">
<li>
<a class="home" href="<s:url action="Bar"/>">
<span>Bar</span>
</a>
</li>
<li>
<a class="about" href="<s:url action="Column2D"/>">
<span>Column2D</span>
</a>
</li>
<li>
<a class="Line2D" href="<s:url action="Line2D"/>">
<span>Line2D</span>
</a>
</li>
<li>
<a class="portfolio" href="<s:url action="Pie2D"/>">
<span>Pie2D</span>
</a>
</li>
<li>
<a class="contact" href="<s:url action="Pie3D"/>">
<span>Pie3D</span>
</a>
</li>
</ul>
</td>
</tr>
</table>
</s:form>
</body>
</html>
en gras et souligné c'est ça que j'ai ajouté.
voila :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<style type="text/css">
*{
/* A universal CSS reset */
margin:0;
padding:0;
}
#navigationMenu li{
list-style:none;
height:39px;
padding:2px;
width:40px;
}
#navigationMenu span{
/* Container properties */
width:0;
left:38px;
padding:0;
position:absolute;
overflow:hidden;
/* Text properties */
font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
font-size:18px;
font-weight:bold;
letter-spacing:0.6px;
white-space:nowrap;
line-height:39px;
/* CSS3 Transition: */
-webkit-transition: 0.25s;
/* Future proofing (these do not work yet): */
-moz-transition: 0.25s;
transition: 0.25s;
}
#navigationMenu a{
background:url('/ProjetVrai/images2/navigation.jpg') no-repeat;
height:39px;
width:38px;
display:block;
position:relative;
}
/* General hover styles */
#navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; }
#navigationMenu a:hover{
text-decoration:none;
/* CSS outer glow with the box-shadow property */
-moz-box-shadow:0 0 5px #9ddff5;
-webkit-box-shadow:0 0 5px #9ddff5;
box-shadow:0 0 5px #9ddff5;
}
/* Green Button */
#navigationMenu .home { background-position:0 0;}
#navigationMenu .home:hover { background-position:0 -39px;}
#navigationMenu .home span{
background-color:#7da315;
color:#3d4f0c;
text-shadow:1px 1px 0 #99bf31;
}
/* Blue Button */
#navigationMenu .about { background-position:-38px 0;}
#navigationMenu .about:hover { background-position:-38px -39px;}
#navigationMenu .about span{
background-color:#1e8bb4;
color:#223a44;
text-shadow:1px 1px 0 #44a8d0;
}
/* Orange Button */
#navigationMenu .services { background-position:-76px 0;}
#navigationMenu .services:hover { background-position:-76px -39px;}
#navigationMenu .services span{
background-color:#c86c1f;
color:#5a3517;
text-shadow:1px 1px 0 #d28344;
}
/* Yellow Button */
#navigationMenu .portfolio { background-position:-114px 0;}
#navigationMenu .portfolio:hover{ background-position:-114px -39px;}
#navigationMenu .portfolio span{
background-color:#d0a525;
color:#604e18;
text-shadow:1px 1px 0 #d8b54b;
}
/* Purple Button */
#navigationMenu .contact { background-position:-152px 0;}
#navigationMenu .contact:hover { background-position:-152px -39px;}
#navigationMenu .contact span{
background-color:#af1e83;
color:#460f35;
text-shadow:1px 1px 0 #d244a6;
}
/* The styles below are only needed for the demo page */
#main{
margin:80px auto;
position:relative;
width:40px;
}
h1{
color:#fff;
font-size:30px;
font-weight:normal;
padding:60px 0 20px;
text-align:center;
}
a, a:visited,a:active {
color:#0196e3;
text-decoration:none;
outline:none;
}
a:hover{
text-decoration:underline;
}
a img{
border:none;
}
</style>
</head>
<body>
<s:form id="statsForm" action="refreshChart" method="POST" theme="simple">
<table border="1">
<tr>
<td>
<div id="chartContainer"></div>
----------- partie une -----------
<s:hidden id="graphXML" name="graphXML" />
<s:hidden id="chartType" name="chartType" />
</td>
</tr>
<tr>
<td>
<ul id="navigationMenu">
<li>
<a class="home" href="<s:url action="Bar"/>">
<span>Bar</span>
</a>
</li>
<li>
<a class="about" href="<s:url action="Column2D"/>">
<span>Column2D</span>
</a>
</li>
<li>
<a class="Line2D" href="<s:url action="Line2D"/>">
<span>Line2D</span>
</a>
</li>
<li>
<a class="portfolio" href="<s:url action="Pie2D"/>">
<span>Pie2D</span>
</a>
</li>
<li>
<a class="contact" href="<s:url action="Pie3D"/>">
<span>Pie3D</span>
</a>
</li>
</ul>
</td>
</tr>
</table>
</s:form>
</body>
</html>
en gras et souligné c'est ça que j'ai ajouté.