Need HTML Help

PaulW
2StarLounger
Posts: 125
Joined: 17 Feb 2010, 16:25

Need HTML Help

Post by PaulW »

I used to be pretty good with HTML, but I am having a problem.
I need a table (75x100 pixels) with three rows: row 1 is full width, row two has two columns col1 is 18 pixels col 2 67 pixels and row three is full width of 75 pixels.

Any help would be appreciated.
TIA
PaulW
Lost Wages, NV USA
(former Cobol Programmer)

User avatar
HansV
Administrator
Posts: 79560
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Need HTML Help

Post by HansV »

How does that work? 18 + 67 = 85, not 75...
Best wishes,
Hans

PaulW
2StarLounger
Posts: 125
Joined: 17 Feb 2010, 16:25

Re: Need HTML Help

Post by PaulW »

Hi Hans,

Thanks for the math catch. The problem is that I cannot get the colspan to work so that when I get to row two the rowtwo/coltwo size is not working and the rowtwo/coltwo column width is about the same size as rowtwo/colone.

I never had this problem with "front page" :laugh:

TIA again
PaulW
Lost Wages, NV USA
(former Cobol Programmer)

User avatar
HansV
Administrator
Posts: 79560
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Need HTML Help

Post by HansV »

It would be better to use CSS for this, but here is a 'classic' HTML solution:

Code: Select all

<html>
  <body>
    <table border=1>
      <tr>
        <td align=center width=85 colspan=2>A</td>
      </tr>
      <tr>
        <td align=center width=18>B</td>
        <td align=center width=67>C</td>
      </tr>
      <tr>
        <td align=center width=85 colspan=2>D</td>
      </tr>
    </table> 
  </body>
</html>
It looks like this:
S3033.png
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

PaulW
2StarLounger
Posts: 125
Joined: 17 Feb 2010, 16:25

Re: Need HTML Help

Post by PaulW »

Hans,

As usual you have come to the rescue. Thank you so much for your assistance.
Hopefully I can start from your concise tutelage.

Thanks again. :thankyou:
PaulW
Lost Wages, NV USA
(former Cobol Programmer)