bordure extérieure

bordure extérieure - HTML/CSS - Programmation

Marsh Posté le 31-05-2005 à 16:21:05    

Bonjour j'aimerais afficher que la bordure extérieure d'un tableau sous mozilla..
 
est ce possible?
 
merci d'avance

Reply

Marsh Posté le 31-05-2005 à 16:21:05   

Reply

Marsh Posté le 31-05-2005 à 16:25:20    

Plus précisemment en fait j'aimerais faire un effet "page word" sur une page web.
 
Donc en fait j'ai mis le background en gris
J'ai 3 colonnes et plusieurs lignes, seulement je n'arrive pas a afficher juste les bordures extérieures comme word :(
 
et je ne parle même pas de l'effet ombre :p

Reply

Marsh Posté le 31-05-2005 à 16:26:33    

CSS, margin sur l'élément table
 
File un exemple de page pour vérifier
 
Et pourquoi une table au fait :heink:


Message édité par masklinn le 31-05-2005 à 16:28:23

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 31-05-2005 à 16:26:36    

j'ai appliqué a <table> un background blanc

Reply

Marsh Posté le 31-05-2005 à 16:30:44    

on s'en fout on veut le code HTML et CSS de ta page

Reply

Marsh Posté le 31-05-2005 à 16:33:34    

<html><head>
 
<title>SIMULATIONBOURSE.COM</title>
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="brokerpage1.css" />
</head>
 
<body>
<?
//include("entete.php" );?>
 
<table width="100%" border frame=void>
   <colgroup>
    <col width="10%">
    <col width="80%">
    <col width="10%">
  </colgroup>
 
  <tr>
    <td><div align="left"><img src="trait.gif"></div>
    </td>
    <td><table>
 
 <tr>
 <td height="60"></td>
 
 
 </tr>
 
 <tr>
 
<td>FOREX broker</td>
 
</tr>
 
 
</table>  
</td>
    <td>&nbsp;</td>
  </tr>
</table>
 
 
 
 
 
</body></html>
 
 
 
Ca c'est pour le code de la page
 
sinon j'ai le css aussi
 
tr {
 
text-align: justify;  
font-family: "Times New Roman";
/*LINE-HEIGHT:13pt*/
 
}
 
.titre {
 
 font-weight: bold;
  text-decoration: underline;
   font-size: 18px;
   font-family: "Times New Roman";
 
 
}
 
table {
  border-collapse: collapse;
   background-color: #FFFFFF;
}
 
 
tr {
 border: 1px solid white;  
 
}
 
td {
 border: 1px solid white;  
 
}
 
body{
background-color: #999999;
 
 
 
}
 
 
mais je sais pas si ca va beaucoup t'aider...

Reply

Marsh Posté le 31-05-2005 à 16:36:25    

Citation :

tr {
 border: 1px solid white;  
 }
td {
 border: 1px solid white;  
 
}


 :heink:  

Citation :

align="left"


 :heink:  :heink:  

Citation :

width="100%" border frame=void


 :heink:  :heink:  :heink:  
 
Enfin bon...
dans ton CSS pour table, tu ajoutes border: 1px solid black [:spamafote]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 31-05-2005 à 16:37:18    

nan mais c'est clair j'ai du mal...
 
mais bon j'ai fait différentes bidouille aussi pour tenter de mettre les  bordures extérieurs jai pas du tout rechanger :)
 
dsl

Reply

Marsh Posté le 31-05-2005 à 16:39:35    

je veux bien que tu m'explique si tu as 2 min ce qui va pas car je code tous seul et personne ne me dit en fait ce qui est mal :(:(

Reply

Marsh Posté le 31-05-2005 à 16:42:03    

1- les bordures blanches sur les tr et td, quel intérêt?
2- align, width, ... sont des données présentationnelles, elles n'ont donc pas à figurer dans le markup (le HTML) qui ne doit contenir que des éléments signifiant quelque chose (de l'information quoi)
3- on ne met pas en page avec des tables, les tables servent à présenter des données tabulaires comme des tableaux financiers ou certains types de listes (on peut en trouver d'autres btw)
 
Dans ma signature il y a un lien concernant le web, il mène sur mes marque-pages, vas y voir et visite en priorité les sites "Openweb", "Alsacréations" et "CSS Débutants"


Message édité par masklinn le 31-05-2005 à 16:42:47

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 31-05-2005 à 16:42:03   

Reply

Marsh Posté le 31-05-2005 à 16:42:50    

je devrais mettre en page avec quoi??
 
des frames?

Reply

Marsh Posté le 31-05-2005 à 16:43:28    

parce que ta solution marche bien c'est vrai j'avais pas passer a appliquer sur la balise table...
 
seulement j'ai un tableau à l'intérieur de mon tableau donc voila ca foire :)

Reply

Marsh Posté le 31-05-2005 à 16:44:24    

matel a écrit :

je devrais mettre en page avec quoi??
 
des frames?


 [:mlc]  
 
Des CSS [:spamafote]  
http://www.openweb.eu.org/articles/problemes_tableaux/
les frames sont encore pires que les tables...


Message édité par masklinn le 31-05-2005 à 16:44:50

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 31-05-2005 à 16:47:07    

merci:)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed