Table Re-sizing questions

  • chargrims
  • Beginner
  • Beginner
  • No Avatar
  • Inscription: Juin 04, 2004
  • Messages: 53
  • Status: Offline

Message Juin 4th, 2004, 12:44 pm

Ok, sur la page suivante, je viens de décrire une frontière, par l'élaboration de deux longues tables de chaque côté de l'essentiel du contenu, et de fixer l'arrière-plan comme une répétition 15x200px jpeg. Trouble est lorsque le chargement de page dans un navigateur, le contenu semble être devenue plus longue, et les frontières ne s'étendent pas au fond. Tout le monde sais comment je peux remédier à cette situation? :D

http://www.eclipsed-online.com/v3/band/dez.htm
  • Anonymous
  • Bot
  • No Avatar
  • Inscription: 25 Feb 2008
  • Messages: ?
  • Loc: Ozzuland
  • Status: Online

Message Juin 4th, 2004, 12:44 pm

  • digitalMedia
  • a.k.a. dM
  • Genius
  • Avatar de l’utilisateur
  • Inscription: Déc 29, 2003
  • Messages: 5169
  • Loc: SC-USA
  • Status: Offline

Message Juin 4th, 2004, 2:30 pm

Je sais que ce n'est pas ce que vous avez demandé, mais après avoir cherché dans votre code HTML, j'ai décidé de réécrire uniquement la page entière avec une seule table.

Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style>
    body{background:#000 url(sitepics/bg2.jpg);scrollbar-face-color:#000;scrollbar-highlight-color:#000;scrollbar-shadow-color:#FFF;scrollbar-3dlight-color:#FFF;scrollbar-arrow-color:#FFF;scrollbar-track-color:#000;scrollbar-darkshadow-color:#000; }
    td{font-size:10px;font-family:verdana,arial,sans-serif;}
         td h1{font-size:10px;font-family:verdana,arial,sans-serif;color:#F00;margin:0 0 3px 0;padding:0;}
         td h2{font-size:13px;font-family:verdana,arial,sans-serif;color:#FFF;margin:0 0 3px 0;padding:0;}
         td p{color:#FFF;margin:0 0 25px 0;padding:0;}
         td img{margin:15px 0 15px 0;padding:0;}
         td a{color:#F00;}
         td a:hover{text-decoration:none;}</style></head>

<body>
<table>
<tr>
    <td width="15" background="../sitepics/borderleft.jpg">&nbsp;</td>
    <td width="95" valign="top">
        <h1>What do you play?</h1>
        <p>I'm the lead singer and guitarist in the band, I also write most of the songs.</p>
        <h1>How long have you been playing?</h1>
        <p>I started guitar when I was about 12 and I've always felt that my motivations behind starting were different to most other people; I started it purely because I wanted to write songs, not so I could sound like another guitarist.</p>
        <h1>How would you describe yourself?</h1>
        <p>I'm an easy going guy with strong feelings, bit of a romantic too, it shows in my songs.</p>
        <h1>Have you been in any previous bands?</h1>
        <p>Daze, Zero Gravity/Soulshock</p>
        <h1>Which bands have influenced you?</h1>
        <p>Oasis were a heavy influence on a lot of my early songs as I was such a die hard fan, but as my musical tastes expanded the sounds of Mark Knopfler and Jimi Hendrix started coming out in my guitar solos. And I've also always wanted to capture raw emotion the way U2 managed to do around the time of the Joshua Tree album, some of those tracks are just incredible.</p></td>
    <td width="245" valign="top" align="center">
        <h2>:: Dez ::</h2>
        <img src="dez.jpg" alt="image of Dez">
        <h2>:: Favourite Links ::</h2>
        <a href="http://www.mp3.com">http://www.mp3.com</a><br>
        <a href="http://www.kingfishermusic.com">http://www.kingfishermusic.com</a><br>
        <a href="http://www.josaka.com">http://www.josaka.com</a><br>
        <a href="http://www.tastless-jokes.com">http://www.tastless-jokes.com</a><br>
        <a href="http://www.imotherearth.com">http://www.imotherearth.com</a><br>
        <a href="http://www.easyworldinfo.com">http://www.easyworldinfo.com</a><br>
        <a href="http://www.blindmelon.com ">http://www.blindmelon.com </a><br></td>
    <td width="95" valign="top">
        <h1>What are your interests?</h1>
        <p>Music any shape or form, David Lynch movies, chinese food...anything akin to sex, drugs and rock n roll.</p>
        <h1>What don't you like?</h1>
        <p>Prejudice, boredom, manufactured pop crap that's so common these days.</p>
        <h1>What are your current favourite bands?</h1>
        <p>I Mother Earth (a kick ass Canadian funk rock act), Audioslave, Alice in Chains, Blind Melon, Easyworld, too many to name really.</p>
        <h1>What about your ambitions?</h1>
        <p>Blatantly I want to make it big as a rock star, I want to be remembered for what I do... but if that all fails, I guess I'd llike a job in A&amp;R, helping other bands to get further than I did.</p>
        <h1>What would you do if you weren't in a band?</h1>
        <p>I'd start a band.</p>
        <h1>Favourite Quote:</h1>
        <p>"I bet living in a nudist colony takes the fun out of Halloween"</p></td>
    <td width="15" background="../sitepics/borderright.jpg">&nbsp;</td></tr></table></body></html>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4.     <title>Untitled Document</title>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6.     <style>
  7.     body{background:#000 url(sitepics/bg2.jpg);scrollbar-face-color:#000;scrollbar-highlight-color:#000;scrollbar-shadow-color:#FFF;scrollbar-3dlight-color:#FFF;scrollbar-arrow-color:#FFF;scrollbar-track-color:#000;scrollbar-darkshadow-color:#000; }
  8.     td{font-size:10px;font-family:verdana,arial,sans-serif;}
  9.          td h1{font-size:10px;font-family:verdana,arial,sans-serif;color:#F00;margin:0 0 3px 0;padding:0;}
  10.          td h2{font-size:13px;font-family:verdana,arial,sans-serif;color:#FFF;margin:0 0 3px 0;padding:0;}
  11.          td p{color:#FFF;margin:0 0 25px 0;padding:0;}
  12.          td img{margin:15px 0 15px 0;padding:0;}
  13.          td a{color:#F00;}
  14.          td a:hover{text-decoration:none;}</style></head>
  15. <body>
  16. <table>
  17. <tr>
  18.     <td width="15" background="../sitepics/borderleft.jpg">&nbsp;</td>
  19.     <td width="95" valign="top">
  20.         <h1>What do you play?</h1>
  21.         <p>I'm the lead singer and guitarist in the band, I also write most of the songs.</p>
  22.         <h1>How long have you been playing?</h1>
  23.         <p>I started guitar when I was about 12 and I've always felt that my motivations behind starting were different to most other people; I started it purely because I wanted to write songs, not so I could sound like another guitarist.</p>
  24.         <h1>How would you describe yourself?</h1>
  25.         <p>I'm an easy going guy with strong feelings, bit of a romantic too, it shows in my songs.</p>
  26.         <h1>Have you been in any previous bands?</h1>
  27.         <p>Daze, Zero Gravity/Soulshock</p>
  28.         <h1>Which bands have influenced you?</h1>
  29.         <p>Oasis were a heavy influence on a lot of my early songs as I was such a die hard fan, but as my musical tastes expanded the sounds of Mark Knopfler and Jimi Hendrix started coming out in my guitar solos. And I've also always wanted to capture raw emotion the way U2 managed to do around the time of the Joshua Tree album, some of those tracks are just incredible.</p></td>
  30.     <td width="245" valign="top" align="center">
  31.         <h2>:: Dez ::</h2>
  32.         <img src="dez.jpg" alt="image of Dez">
  33.         <h2>:: Favourite Links ::</h2>
  34.         <a href="http://www.mp3.com">http://www.mp3.com</a><br>
  35.         <a href="http://www.kingfishermusic.com">http://www.kingfishermusic.com</a><br>
  36.         <a href="http://www.josaka.com">http://www.josaka.com</a><br>
  37.         <a href="http://www.tastless-jokes.com">http://www.tastless-jokes.com</a><br>
  38.         <a href="http://www.imotherearth.com">http://www.imotherearth.com</a><br>
  39.         <a href="http://www.easyworldinfo.com">http://www.easyworldinfo.com</a><br>
  40.         <a href="http://www.blindmelon.com ">http://www.blindmelon.com </a><br></td>
  41.     <td width="95" valign="top">
  42.         <h1>What are your interests?</h1>
  43.         <p>Music any shape or form, David Lynch movies, chinese food...anything akin to sex, drugs and rock n roll.</p>
  44.         <h1>What don't you like?</h1>
  45.         <p>Prejudice, boredom, manufactured pop crap that's so common these days.</p>
  46.         <h1>What are your current favourite bands?</h1>
  47.         <p>I Mother Earth (a kick ass Canadian funk rock act), Audioslave, Alice in Chains, Blind Melon, Easyworld, too many to name really.</p>
  48.         <h1>What about your ambitions?</h1>
  49.         <p>Blatantly I want to make it big as a rock star, I want to be remembered for what I do... but if that all fails, I guess I'd llike a job in A&amp;R, helping other bands to get further than I did.</p>
  50.         <h1>What would you do if you weren't in a band?</h1>
  51.         <p>I'd start a band.</p>
  52.         <h1>Favourite Quote:</h1>
  53.         <p>"I bet living in a nudist colony takes the fun out of Halloween"</p></td>
  54.     <td width="15" background="../sitepics/borderright.jpg">&nbsp;</td></tr></table></body></html>


J'espère que vous allez prendre cela comme une suggestion et que ça aide.
:)
- dM
  • chargrims
  • Beginner
  • Beginner
  • No Avatar
  • Inscription: Juin 04, 2004
  • Messages: 53
  • Status: Offline

Message Juin 4th, 2004, 2:34 pm

Well thats faire l'affaire, serait à portée de main si je savais ce qui youve fait que pour d'autres pages avec le même problème. Pour autant que je puisse voir youve juste fait le lot d'une table au lieu de plusieurs, non?
  • digitalMedia
  • a.k.a. dM
  • Genius
  • Avatar de l’utilisateur
  • Inscription: Déc 29, 2003
  • Messages: 5169
  • Loc: SC-USA
  • Status: Offline

Message Juin 4th, 2004, 3:11 pm

Yup! Voilà la longue et courte de celui-ci. Ive également utilisé générique sélecteurs CSS - td, h1 td, td p, etc au lieu de la police et les tags. Si j'étais vraiment faire de ce site, je voudrais faire les définitions CSS externes, comme vous avez eu précédemment avec balise LINK. De cette façon, je pouvais les utiliser sur toutes les pages du site.

Si vous voulez savoir autre chose sur la page que j'ai écrit, s'il vous plaît n'hésitez pas à demander.
:)
- dM
  • chargrims
  • Beginner
  • Beginner
  • No Avatar
  • Inscription: Juin 04, 2004
  • Messages: 53
  • Status: Offline

Message Juin 4th, 2004, 3:25 pm

Sa fraîcheur, tous classés maintenant, j'ai fini par mettre au centre le contenu dans un tableau afin que je puisse fixer padding valeurs sans affecter les frontières, mais tous ses bien.

Ive utilisé des feuilles de style sur d'autres pages sur le site, mais j'ai copié cette page et semblables d'une ancienne version où je ne suis pas utiliser CSS à tout ce qui est pourquoi ils utilisent encore les balises de police de base.

Merci pour votre aide!

Afficher de l'information

  • Total des messages de ce sujet: 5 messages
  • Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 179 invités
  • Vous ne pouvez pas poster de nouveaux sujets
  • Vous ne pouvez pas répondre aux sujets
  • Vous ne pouvez pas éditer vos messages
  • Vous ne pouvez pas supprimer vos messages
  • Vous ne pouvez pas joindre des fichiers
 
 

© 2011 Unmelted, LLC. Ozzu® est une marque déposée de Unmelted, LLC