Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Tables, Tables, Tables...

Posted on 1998-12-29
6
Medium Priority
?
181 Views
Last Modified: 2010-04-09
(To properly understand this question, please go to http://www.cybercen.net)  The black bar on the left is always as long as the page is.  I want to chop it off where the links end, and then I want the rest of the page to widen, and fill in where the black used to be.  The table setup to do this is eluding me.  Thanks.    
0
Comment
Question by:Firelord17
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:Firelord17
ID: 1841084
Adjusted points to 50
0
 
LVL 6

Expert Comment

by:PBall
ID: 1841085
<table cellpadding=0 cellspacing=0 border=0>
<tr>
  <td rowspan=4 bgcolor=black align=left valign=top>
  --replace this with whatever content you put in the black bar--
  </td>
  <td align=center valign=top>
  --your MMC logo and 800x600 thing go here--
  </td>
</tr>
<tr>
  <td align=left valign=top bgcolor=red>
  How do you ....
  </td>
</tr>
<tr>
  <td align=center valign=top bgcolor=blue>
  Welcome ...
  ---inner table---
  </td>
</tr>
<tr>
  <td align=center valign=top bgcolor=red>
  Visitor since...
  </td>
</tr>
<tr>
  <td align=left valign=top bgcolor=red>
  Attention...
  </td>
</tr>
</table>

Adjust table size and the first two cols widths to your liking.
Is that it?
0
 
LVL 2

Expert Comment

by:jedimike
ID: 1841086
The reason that the frame is longer than the text is one of two reason: First, the column is defined with a width of 23%. You can look at this by viewing the source of the page.  Second the frame cannot possibly get any smaller because the image that is just above the list of links. Tables cannot shrink images. You have to physically set a width and height on images yourself or resize them in a graphics editor.  
To solve this easily: Remove the image AND remove the column width setting, the table will shrink to where the links end.
For the rest of the table to fill in the page, you have to set the width of the table to 100%. i.e.
<table width="100%>
<tr>
<td>here goes the list without the image</td>
<td>here is the rest of the page</td>
</tr>
</table>
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:martinag
ID: 1841087
If you change
  <TD bgcolor="#000000" width="20%" valign=top align=left>
to
  <TD VALIGN="TOP"><TABLE BORDER="0"><TD bgcolor="#000000" width="20%" valign=top align=left>
and
  </TD>
to
  </TD></TABLE></TD>
the black table will end just below the links.

However, to get the rest of the page flow around it, you have got three options:
* Hardcode - ie. cut before "is the process" and put that on a new row (to get it look well at my screen, that is. It might look awful on wider screens...)
* Use DHTML - I know hardly nothing about DHTML, but I'm sure someone can come up with something that will make it flow pretty well. Will only work in IE4 and/or NN4!
* Use an image map instead of the table. It's easy to get the text flow around it (if red is made the background of the page).

I'd choose the image map.

Martin
0
 

Author Comment

by:Firelord17
ID: 1841088
You misunderstood my questions Pball, but thanks anyway.  However martinag gave me an acceptable anwser.  So martinag, if you anwser this question I will award you the points.  Thanks to everyone who tried to anwser this question.

Firelord17
0
 
LVL 4

Accepted Solution

by:
martinag earned 100 total points
ID: 1841089
Ok.

Martin
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question