Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Stockbridge, GA (outside of Atlanta)
    Posts
    36
    Member #
    3035
    I can't figure out why the cell with the about us(my nav menu) is as large as the cell above it when I specified that width"15". Can anyone please help. I looked at some tutorials with no help. thanks in advance

  2.  

  3. #2
    Member
    Join Date
    Sep 2003
    Location
    Stockbridge, GA (outside of Atlanta)
    Posts
    36
    Member #
    3035
    never mind, colspan. I tried it before and it didn't work. Maybe I mistyped something. Oh well gotta learn somehow. THanks anyway

  4. #3
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    Cells in one column of a table will always take the width of the widest cell unless you use colspan to make the wider cell flow into the other columns.

    try changing this:
    Code:
    <td height="14" width="583" bgcolor="blue">
    <a href="index.htm"><img src="images/nav/logo.gif" width="352" 
    height="60" alt="Logo" border="0"></a>
    </td>
    To this:
    Code:
    <td height="14" width="583" bgcolor="blue" colspan="4">
    <a href="index.htm"><img src="images/nav/logo.gif" width="352" 
    height="60" alt="Logo" border="0"></a>
    </td>

  5. #4
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    Heh! Didn't get your second post when the page first loaded - oh well!

  6. #5
    Senior Member dotcommakers's Avatar
    Join Date
    Oct 2003
    Posts
    527
    Member #
    3342
    Liked
    1 times
    here is solution

    you just creat single td in first tr and 4 in second tr so i just put colspan in first tr's td here is code

    Code:
    <table width="600" border="0" cellspacing="0" cellpadding="0">
      <tr> 
        <td colspan="4" height="14" width="583" bgcolor="blue">
    <a href="index.htm">
    <img src="images/nav/logo.gif" width="352" height="60" alt="Logo" border="0">
    </a></td>
      </tr>
      <tr> 
        
        <td height="19" width="15" bgcolor="yellow">
    &nbsp;&nbsp;ABOUT&nbsp;US&nbsp;&nbsp;</td>
    <td height="19" width="25" bgcolor="pink">&nbsp;&nbsp;COURSES&nbsp;&nbsp;</td>
    <td height="19" widht="25">
    &nbsp;&nbsp;PROGRAMS&nbsp;&nbsp;</td>
    <td height="19" width="25">&nbsp;&nbsp;CALENDAR&nbsp;&nbsp;
    </td>
         </tr>
    </table>
    hope this will help u

    thanks

  7. #6
    Member
    Join Date
    Sep 2003
    Location
    Stockbridge, GA (outside of Atlanta)
    Posts
    36
    Member #
    3035
    thanx


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:40 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com