Jump to content

List as a table


wsantos

Recommended Posts

Guess I'll need help on CSS again.  ???

 

I have this basic conceptual layout.

 

#sortable_list
{
  BACKGROUND: #FFFFFF;
}

#sortable_list LI
{
  DISPLAY: INLINE;
}

#sortable_list UL LI DIV
{
  WIDTH: 150PX;
  DISPLAY: INLINE;
}

 

            
            <UL ID=sortable_list>
              <LI ID=Row>
                <UL CLASS=Header>
                  <LI CLASS=tblHead_left>
                    head 1
                  </LI>
                  <LI CLASS=tblHead>
                    head 2
                  </LI>
                  <LI CLASS=tblHead_right>
                    head 3
                  </LI>
                </UL>
              </LI>
              <LI ID=Row>
                <UL>
                  <LI>
                    Item 1-A
                  </LI>
                  <LI>
                    Item 2-A
                  </LI>
                  <LI>
                    Item 3-A
                  </LI>
                </UL>
              </LI>
              <LI ID=Row>
                <UL>
                  <LI>
                    Item 1-B
                  </LI>
                  <LI>
                    Item 2-B
                  </LI>
                  <LI>
                    Item 3-B
                  </LI>
                </UL>
              </LI>
            </UL>

 

Im trying to control the list item's width but end up in vain.  Thank you

Link to comment
https://forums.phpfreaks.com/topic/87430-list-as-a-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.