General Guidance Sought on Using Style Position

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

    General Guidance Sought on Using Style Position

    I have two tables. If I leave them alone, one will print on the
    screen, then below it the next, etc. This is normal.

    However, I want table one on the left and table two on the right of
    the screen.

    Both are populated by two different queries, so they are not exactly
    created at the same time.

    I decided to use styles to position:absolu te the second table to the
    right of the first table (much like a brochure, for example).

    I am worried that this is not correct. For example, my text size is
    set at smaller, but on medium the tables are not lined up right. The
    blend into each other and when the browser's text size is larger,
    well, it looks terrible.

    How could I have achieved the same thing without this CSS style
    "trick?" Thanks for advice.
  • Tim Van Wassenhove

    #2
    Re: General Guidance Sought on Using Style Position

    On 2004-01-30, jm <john_20_28_200 0@yahoo.com> wrote:[color=blue]
    > However, I want table one on the left and table two on the right of
    > the screen.[/color]

    And where is PHP related to this? I think you're better of in a
    comp.infosystem s.www.authoring.* groups

    --

    Comment

    • CountScubula

      #3
      Re: General Guidance Sought on Using Style Position

      get the results in php before you make the tables, then:

      <table>
      <tr>
      <td> (table 1)</td>
      <td> (table 2)</td>
      </tr>
      </table>
      --
      Mike Bradley
      http://www.gzentools.com -- free online php tools
      "jm" <john_20_28_200 0@yahoo.com> wrote in message
      news:c67e4bdd.0 401292021.62372 1f9@posting.goo gle.com...[color=blue]
      > I have two tables. If I leave them alone, one will print on the
      > screen, then below it the next, etc. This is normal.
      >
      > However, I want table one on the left and table two on the right of
      > the screen.
      >
      > Both are populated by two different queries, so they are not exactly
      > created at the same time.
      >
      > I decided to use styles to position:absolu te the second table to the
      > right of the first table (much like a brochure, for example).
      >
      > I am worried that this is not correct. For example, my text size is
      > set at smaller, but on medium the tables are not lined up right. The
      > blend into each other and when the browser's text size is larger,
      > well, it looks terrible.
      >
      > How could I have achieved the same thing without this CSS style
      > "trick?" Thanks for advice.[/color]


      Comment

      • Eric Bohlman

        #4
        Re: General Guidance Sought on Using Style Position

        Tim Van Wassenhove <euki@pi.be> wrote in news:bvcp3a$qol 0g$1@ID-
        188825.news.uni-berlin.de:
        [color=blue]
        > On 2004-01-30, jm <john_20_28_200 0@yahoo.com> wrote:[color=green]
        >> However, I want table one on the left and table two on the right of
        >> the screen.[/color]
        >
        > And where is PHP related to this? I think you're better of in a
        > comp.infosystem s.www.authoring.* groups[/color]

        comp.infosystem s.www.authoring.stylesheets [to which I've set the
        followups] is probably the best place; the OP will most likely be told
        there that he should abandon absolute positioning and float both tables
        left, which will result in the second table being to the right of the first
        if there's enough room in the viewport, or below the first if there isn't.
        Or maybe float the first one left and the second one right.

        Comment

        • jm

          #5
          Re: General Guidance Sought on Using Style Position

          Tim Van Wassenhove <euki@pi.be> wrote in message news:<bvcp3a$qo l0g$1@ID-188825.news.uni-berlin.de>...[color=blue]
          > On 2004-01-30, jm <john_20_28_200 0@yahoo.com> wrote:[color=green]
          > > However, I want table one on the left and table two on the right of
          > > the screen.[/color]
          >
          > And where is PHP related to this? I think you're better of in a
          > comp.infosystem s.www.authoring.* groups[/color]

          I created the page in PHP. Perhaps, it might be related.

          Comment

          • Tony Marston

            #6
            Re: General Guidance Sought on Using Style Position


            "jm" <john_20_28_200 0@yahoo.com> wrote in message
            news:c67e4bdd.0 401300700.35fd4 eaf@posting.goo gle.com...[color=blue]
            > Tim Van Wassenhove <euki@pi.be> wrote in message[/color]
            news:<bvcp3a$qo l0g$1@ID-188825.news.uni-berlin.de>...[color=blue][color=green]
            > > On 2004-01-30, jm <john_20_28_200 0@yahoo.com> wrote:[color=darkred]
            > > > However, I want table one on the left and table two on the right of
            > > > the screen.[/color]
            > >
            > > And where is PHP related to this? I think you're better of in a
            > > comp.infosystem s.www.authoring.* groups[/color]
            >
            > I created the page in PHP. Perhaps, it might be related.[/color]

            But what you are creating is HTML, therefore it is an HTML problem. You
            could be creating the output with PHP, Java, C++ or .NET but it would still
            be an HTML problem.

            Tony Marston


            Comment

            • Chung Leong

              #7
              Re: General Guidance Sought on Using Style Position

              My advice? Don't use CSS-P unless if you to. Tables are usually more
              reliable.

              Uzytkownik "jm" <john_20_28_200 0@yahoo.com> napisal w wiadomosci
              news:c67e4bdd.0 401292021.62372 1f9@posting.goo gle.com...[color=blue]
              > I have two tables. If I leave them alone, one will print on the
              > screen, then below it the next, etc. This is normal.
              >
              > However, I want table one on the left and table two on the right of
              > the screen.
              >
              > Both are populated by two different queries, so they are not exactly
              > created at the same time.
              >
              > I decided to use styles to position:absolu te the second table to the
              > right of the first table (much like a brochure, for example).
              >
              > I am worried that this is not correct. For example, my text size is
              > set at smaller, but on medium the tables are not lined up right. The
              > blend into each other and when the browser's text size is larger,
              > well, it looks terrible.
              >
              > How could I have achieved the same thing without this CSS style
              > "trick?" Thanks for advice.[/color]


              Comment

              • Phil Roberts

                #8
                Re: General Guidance Sought on Using Style Position

                With total disregard for any kind of safety measures "Chung Leong"
                <chernyshevsky@ hotmail.com> leapt forth and uttered:
                [color=blue]
                > My advice? Don't use CSS-P unless if you to. Tables are usually
                > more reliable.
                >[/color]

                And while you're at it, carry on using Dreamweaver. Hand coding
                HTML and PHP is just WAY too hard.

                </sarcasm>

                --
                Phil Roberts | Nobody In Particular | http://www.flatnet.net/

                Comment

                Working...