Redoing this page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Fowler

    Redoing this page

    Hello,

    I've got a page here: http://66.23.198.2/port.html
    That I'm trying to redo. I know it is bad to use <form>
    tagas in tables for the whole table but I use the table
    to make it look good and arrange all the objects well.
    Can someone tell me how to eliminate the use of the table
    for each form and have a page that looks exactly like it
    would with the table? I'm trying to go to 4.01 Strict.

    Most of the data in the form as settings, are dynamically
    generated when the page is created. The page in the link
    above is the static page from my CGI program's output.

    Thanks,
    Chris
  • Brian

    #2
    Re: Redoing this page

    Chris Fowler wrote:[color=blue]
    >
    > I've got a page here: http://66.23.198.2/port.html
    > That I'm trying to redo. I know it is bad to use <form>
    > tagas in tables for the whole table but I use the table[/color]

    Use tables for tabular data.
    [color=blue]
    > to make it look good and arrange all the objects well.[/color]

    Don't use tables for layout.

    <URL: http://www.allmyfaqs.com/faq.pl?Tableless_layouts >
    [color=blue]
    > Can someone tell me how to eliminate the use of the table
    > for each form[/color]

    Look at pages that do what you are looking for. See how they did it,
    and copy. For starters, see

    <URL: http://www.julietremblay.com/site/contact.html >

    which I did. Ask if you have questions.
    [color=blue]
    > and have a page that looks exactly like it
    > would with the table?[/color]

    If you insist on pixel perfect perfection, you're in for a lot of
    disappointment. Let go a little. HTML documents are *supposed* to
    look different in different browsers. HTML documents are, in fact,
    meant to be presented on more than just graphical browsers.
    [color=blue]
    > I'm trying to go to 4.01 Strict.[/color]

    That's the right choice. And use css to suggest a presentation, as I
    have done in the document linked above. Good luck.

    --
    Brian
    follow the directions in my address to email me

    Comment

    • Jacqui or (maybe) Pete

      #3
      Re: Redoing this page

      In article <1056652801.421 937@minime.linu xiceberg.com>,
      cfowler@linuxic eberg.com says...[color=blue]
      > Hello,
      >
      > I've got a page here: http://66.23.198.2/port.html
      > That I'm trying to redo. I know it is bad to use <form>
      > tagas in tables for the whole table but I use the table
      > to make it look good and arrange all the objects well.
      > Can someone tell me how to eliminate the use of the table
      > for each form and have a page that looks exactly like it
      > would with the table? I'm trying to go to 4.01 Strict.
      >[/color]
      Here's a start:



      You need to use http://validator.w3.org/ to check your html.

      If you want to get rid of tables altogether, use a <label> for the label
      text (see
      http://www.w3.org/TR/html401/interact/forms.html#h-17.9 ) and give it a
      width in your css (and also for the input elements).




      Comment

      Working...