53 users online (2 members and 51 guests)  

Thread: Table Question


  Results 1 to 8 of 8

Related

  1. Table Question    Forum: HTML Forum
    Replies: 11
  2. Yet another Table Question    Forum: HTML Forum
    Replies: 2
  3. table question    Forum: HTML Forum
    Replies: 6
  4. Table question    Forum: HTML Forum
    Replies: 1
  5. Help with a stupid table question    Forum: HTML Forum
    Replies: 2
  1. #1
    DaWebmasta's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    83

    Question Table Question

    ---Hello

    ---I Was Wondering If There Is A Way To Make My Image Take
    ---Up All Of The Space Provided By The Cell Which It Is In

    ---I Do Not Know If There Is A Way To Modify My Code So That
    ---It Performs The Way I Would Like It To But Here It Is Any
    ---Way

    ---Thanx

    Code:
    <TABLE BORDER CELLPADDING=4 CELLSPACING=2 BORDERCOLOR=#555555 WIDTH=100%>
    
    	<TR>
    		<TD><font style="font-family:verdana;color:#555555;font-size:10px"><center>Six Man Tag Team Match
    </font></TD>
    	</TR>
    	<TR>
    		<TD><font style="font-family:verdana;color:#555555;font-size:10px"><center><IMG SRC="summer-slam-2004-match-card-logo-kidman-london-mysterio-vs-spike-bubba-d-von.jpg">
    </font></TD>
    	</TR>
    	<TR>
    		<TD><font style="font-family:verdana;color:#555555;font-size:10px"><center>Billy Kidman, Paul London and Rey Mysterio vs. Spike Dudley, Bubba Ray Dudley and D-Von Dudley
    </font></TD>
    	<TR>
    </TABLE>

  2. #2
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there DaWebmasta,

    how does this look....
    Code:
    
    
    <head>
    
    <style type="text/css">
    <!--
    #tbl {
         width: 100%;
         border: solid 1px #555555;
     }
    .cell {   
         border: solid 1px #555555;
         padding: 4px;
         font-family: verdana;
         color: #555555;
         font-size: 10px;
         text-align: center;
     }
    #bubba {
         width:100%;
     }
    //-->
    </style>
    
    </head>
    <body>
    
    <table id="tbl"><tr>
    <td class="cell">Six Man Tag Team Match</td>
    </tr><tr>
    <td class="cell"><img id="bubba" src="http://www.geocities.com/thewrestlinghideout/summer-slam-2004-match-card-logo-kidman-london-mysterio-vs-spike-bubba-d-von.jpg"></td>
    </tr><tr>
    <td class="cell">Billy Kidman, Paul London and Rey Mysterio vs. Spike Dudley, Bubba Ray Dudley and D-Von Dudley</td>
    <tr></table>
    
    </body>
    
    
    coothead

  3. #3
    DaWebmasta's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    83
    ---Thanx For The Reply coothead But I Tried The Code And It
    ---Did Not Look Like It Worked So What I Am Thinking Is That
    ---Maybe I Can Not Do What I Would Like To So Since I Can
    ---Not Do What I Originally Wanted To Do I Was Thinking If
    ---There Is Way To Add A Border To My Image And Have The
    ---Boder The Same Color As The Table Boder For It Would Look
    ---Ok Since I Am Putting This Table On A Black Background Do
    ---You Know A Code That Would Allow Me To Add A Border To
    ---My Image And Have The Border Color The Same As The
    ---Table Border

    ---DaWebmasta

  4. #4
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there DaWebmasta,

    I have tested the code in these browsers...
    1. I.E. 6.02
    2. Netscape 7.1
    3. Mozilla 1.7
    4. Firefox 0.9
    5. Opera 7.5

    ...and it works perfectly in all of them

    So what browser are you employing ?

    Perhaps you could give the url of the site that has the code that I gave you, so that I may check it for errors.



    coothead

  5. #5
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there DaWebmaster,

    If you are not convinced about my code.....
    check out the attached .jpg


    coothead
    Attached Images Attached Images

  6. #6
    DaWebmasta's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    83
    ---In That Case I Guess The Code Did Work I Did Not Think
    ---That It Was Supposed To Look Like That But I Must Of
    ---Though Wrong LOL Ok Since That Code Worked Is There A
    ---Way I Can Add A Boder To My Image And Have The Image
    ---Border The Same Color As The Table Border

    ---DaWebmasta

  7. #7
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there DaWebmaster,

    How about like this...
    Code:
    <head>
    
    <style type="text/css">
    <!--
    #tbl {
         width: 100%;
         border: solid 1px #555555;
     }
    .cell {
        
         border: solid 1px #555555;
         padding: 4px;
         font-family: verdana;
         color: #555555;
         font-size: 10px;
         text-align: center;
     }
    #bubba {
         width:100%;
        
     }
    #border {
         background:#555555;
     }
    //-->
    </style>
    
    </head>
    <body>
    
    <table id="tbl"><tr>
    <td class="cell">Six Man Tag Team Match</td>
    </tr><tr>
    <td class="cell" id="border"><img id="bubba" src="http://www.geocities.com/thewrestlinghideout/summer-slam-2004-match-card-logo-kidman-london-mysterio-vs-spike-bubba-d-von.jpg"></td>
    </tr><tr>
    <td class="cell">Billy Kidman, Paul London and Rey Mysterio vs. Spike Dudley, Bubba Ray Dudley and D-Von Dudley</td>
    <tr></table>
    
    </body>
    coothead

  8. #8
    DaWebmasta's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jul 2004
    Posts
    83
    ---Thanx coothead The Code You Gave Me Did What I Wanted
    ---It To Do In The First Place It Takes Up The Whole Cell
    ---Thanx For The Code It Works Great

    ---DaWebmasta



Tags for this Thread