PDA

View Full Version : Need your help again.


Pasture
06-24-2002, 06:45 PM
hi,
Sorry, I posted this message at the WA forum without noticing your closing that down, anyway here's the problem..

This is a website layout using table codes..

<body topmargin=0 leftmargin=0 bgcolor=lightyellow><table cellspacing=0 cellpadding=0 width=30% height=100%><td bgcolor=maroon></table></body>

Now, when I insert a heading tag between the td tag and the table tag the layout of the page changes. Why?

<body topmargin=0 leftmargin=0 bgcolor=lightyellow><table cellspacing=0 cellpadding=0 width=30% height=100%><td bgcolor=maroon><h1>hello</h1></table></body>

My intention is to place the heading text within the yellow part of the page without disturbing or cutting the maroon part. How can I do that? Thank you.

QuackHead
06-24-2002, 06:56 PM
Try this....

<body topmargin="0" leftmargin="0" bgcolor="lightyellow">
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr><td bgcolor="maroon" width="30%">
<br>
</td><td width="70%">
<h1>Hello</h1>
</td></tr>
</table>

that'll do what you want it to

I'd recommend taking a look at some HTML tutorials for tables...
there's some decent stuff at: http://www.webmonkey.com - look under the authoring menu (right side of page) and click the tables link

~Quack

whackaxe
06-24-2002, 07:00 PM
when you make a table you shopuld follow this syntax

<table>

<tr> //for the new line
<th>title</th><td>content of table</td> // for the contents of
</tr>

<tr>... // new lien and repeat process nesescary number of times

that shopuld help you with your layout

Pasture
06-24-2002, 07:17 PM
Hey Quack,
I appreciate your help, but I did not like your offensive remark.

QuackHead
06-24-2002, 08:50 PM
Pasture...

I thought about that after I posted...

Sorry about that - I didn't mean for it to be offensive, more of a joke. It probably came off as more of a discouragement than that.

You have my appologies, and the post has been edited.

~Quack

applesauce
06-25-2002, 06:34 PM
let's play nice!
:p

boxer_1
06-25-2002, 07:18 PM
Alright, let's not keep this thing going and get back on topic (which appears to have been resolved). Quackhead has apologized for the remark and provided a valid solution. In the future, let's try to keep the critisism constructive and avoid comments which could be offensive to others. Remember, this forum is for people at all levels of web development, this includes beginners, which we all were at one time. We're here to help, not humiliate :thumbsup: .

Move along people...nothing here to see ;).