Web Analytics Made Easy -
StatCounter Vertical Rules - CodingForum

Announcement

Collapse
No announcement yet.

Vertical Rules

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

  • Vertical Rules

    Is there any way to use <hr> vertically other than:

    <td width="1" bgcolor="#000000"> ?

    Thanks!

  • #2
    no not hr... it stands for horizontal rule. the table method you showed is on option or a left/right border on a box element such as a div works, or a 1 pixel high bg image thats tiled veritcaly works too.
    anthony

    Comment


    • #3
      Do a search on hr here. Someone figured a way to do it without images I think.
      Last edited by zoobie; Feb 13, 2004, 01:16 PM.
      Zoobie or not Zoobie...That is the problem.
      <body onUnload="flush( ! )">

      Comment


      • #4
        <div style="border-right: 2px solid blue; height: 300px; width: 300px;"></div>
        Zoobie or not Zoobie...That is the problem.
        <body onUnload="flush( ! )">

        Comment


        • #5
          I never associated my tables with <div before.

          Can you simply show me how you do it to have a black right border for a cell?

          Do you just:

          <div style="border-right: 1px #000000">
          <td>whatever</td>
          </div>

          Comment


          • #6
            <td style="border-right: 3px solid #000000">x</td>
            Zoobie or not Zoobie...That is the problem.
            <body onUnload="flush( ! )">

            Comment


            • #7
              <hr style="width: 2px; height: 400px;" /> -- Try it
              Check out the Forum Search. It's the short path to getting great results from this forum.

              Comment


              • #8
                zoobie:

                that worked great for me.

                thanks.

                I also want to ask you:

                if you want to border a table, but only the circumference of it - not all the cells - is there a specific script for this?

                thanks.

                Comment


                • #9
                  I just figured it out. its just "border"

                  Thanks anyway!

                  I couldnt do it without your previous post!

                  Comment


                  • #10
                    Originally posted by Roy Sinclair
                    <hr style="width: 2px; height: 400px;" /> -- Try it
                    Questionable semantics.
                    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
                    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

                    Comment


                    • #11
                      Originally posted by me'
                      Questionable semantics.
                      No doubt but nobody added a <vr /> tag during all the other odd changes that went on during the browser wars. Of course since this was in regards to a table anyway zoobies probably got a better answer. If that rule needs to span all the rows then a colgroup tag for that rule may be in order.
                      Check out the Forum Search. It's the short path to getting great results from this forum.

                      Comment

                      Working...
                      X