Web Analytics Made Easy -
StatCounter Need your help again. - CodingForum

Announcement

Collapse
No announcement yet.

Need your help again.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need your help again.

    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.

  • #2
    Try this....
    Code:
    <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
    QuackHead
    New to the CF scene
    Last edited by QuackHead; Jun 25, 2002, 05:03 PM.

    Comment


    • #3
      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
      photoshop too expensive? use the GIMP! www.gimp.org

      Comment


      • #4
        Hey Quack!

        Hey Quack,
        I appreciate your help, but I did not like your offensive remark.

        Comment


        • #5
          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
          QuackHead
          New to the CF scene
          Last edited by QuackHead; Jun 25, 2002, 05:04 PM.

          Comment


          • #6
            let's play nice!

            Comment


            • #7
              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 .

              Move along people...nothing here to see .
              boxer_1
              CodingForum Moderator
              "How did a fool and his money get together in the first place?"

              Comment

              Working...
              X