Jump to content

3 field "table"


aximbigfan

Recommended Posts

Hi,

 

I need to create a sort of table, listed below in lovely ASCII art.

 

+-------+----------------+
|          |                       |
|          +----------------+
|          |                       |
+-------+----------------+

 

EDIT: the "table" got messed up, but you get the idea.

 

What is the best way of doing this?

 

Thanks,

Chris

Link to comment
https://forums.phpfreaks.com/topic/130037-3-field-table/
Share on other sites

im not sure what you need here

 

did you mean this

 

+-------+----------------+

|          |                      |

|          +----------------+

|          |                      |

+-------+----------------+

 

if so i would do divs

 

you will need to look up floats

http://css.maxdesign.com.au/floatutorial/tutorial0916.htm

 

Link to comment
https://forums.phpfreaks.com/topic/130037-3-field-table/#findComment-674275
Share on other sites

its not complete but it gives you the basic idea and form of it all

<style>
div.contain {90%;margin:0 auto;}
div.left {width:30%;float:left}
div.right{float:right;width:69%}

</style>
<div class="contain">
         <div class="left">
                 left side stuff
         </div>
         <div class="right">
                      <div>
                              top div content in right
                      </div>
                      <div>
                                bottom div
                      </div>
          </div>
</div<

















Link to comment
https://forums.phpfreaks.com/topic/130037-3-field-table/#findComment-674277
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.