Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
two cell table matrix
Old 10-21-2009, 03:52 PM two cell table matrix
Extreme Talker

Posts: 216
Trades: 0
Well, I'd just like to create a two cell table matrix that I can duplicate, and position side by side, and change the color and border thickness.
Can someone provide the html and css for that? please
thanks
chrisj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-21-2009, 04:11 PM Re: two cell table matrix
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
change the outer border or the cell borders?
each "table" side by side? or?

A picture would be easier to get an idea from but it should be simple enough with lists rather than getting into "divitus" territory
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-21-2009, 04:23 PM Re: two cell table matrix
Extreme Talker

Posts: 216
Trades: 0
Thanks for your reply.

I'm using this code, but I'm sure it's probably using old tags and needs to be more css friendly I'm guessing. I'd like this code, or a css equivalent to put the tables side by side, please. thanks.

Code:
<table width="100" border="1" cellspacing="0" cellpadding="12" bordercolor="#000000">
        <tr>
          <td bgcolor="#FFFFFF" width="50%">
            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font color="#800000">Type</font></font></b></font></p>
            <p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font></font></p>
          </td>
          <td width="60%">
            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000">Number</font></b></font></p>
            <p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></p>
          </td>
        </tr>
        <tr>
          <td width="50%">
            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#800000">A</font></b></font></p>
            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"></font></p>
          </td>
          <td bgcolor="#FFFFF" width="50%">
            <p align="center"><font color="#FFFFFF"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"><b>1</b></font></font></p>
            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font></p>
          </td>
        </tr>

      </table>


<br>
<table width="100" border="1" cellspacing="0" cellpadding="12" bordercolor="#000000">
        <tr>
          <td bgcolor="#FFFFFF" width="50%">
            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font color="#800000">Type</font></font></b></font></p>
            <p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font></font></p>
          </td>
          <td width="60%">
            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000">Number</font></b></font></p>
            <p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></p>
          </td>
        </tr>
        <tr>
          <td width="50%">
            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#800000">A</font></b></font></p>
            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"></font></p>
          </td>
          <td bgcolor="#FFFFF" width="50%">
            <p align="center"><font color="#FFFFFF"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"><b>1</b></font></font></p>
            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font></p>
          </td>
        </tr>
                <tr>
		          <td bgcolor="#FFFFFF" width="50%">
		            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font color="#800000">B</font></font></b></font></p>
		            <p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font></font></p>
		          </td>
		          <td width="50%">
		            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000">2</font></b></font></p>
		            <p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"></font></p>
		          </td>
		        </tr>
		        <tr>
		          <td width="50%">
		            <p align="center"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#800000">C</font></b></font></p>
		            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"></font></p>
		          </td>
		          <td bgcolor="#FFFFF" width="50%">
		            <p align="center"><font color="#FFFFFF"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"><b>3</b></font></font></p>
		            <p><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font></p>
		          </td>
        </tr>
      </table>
chrisj is offline
Reply With Quote
View Public Profile
 
Old 10-21-2009, 04:33 PM Re: two cell table matrix
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Ok lets see what I can come up with , probably tomorrow (GMT) when I post now though.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-21-2009, 05:12 PM Re: two cell table matrix
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Ok maybe I just need more of a challenge.

http://www.modtalk.co.uk/_site/code/css/two-cell-list/

CSS
Code:
ul.table {
	width:49%;
	margin: 1.2em 0 0 1px;
	float:left;
	list-style-type: none;
	padding:0;
}
ul.table li {
	height:1em;
	margin:0;
	padding:0;	
}
ul.table li div{
	width: 49%;
	height: 100%;
	float: left;
	clear:right;
	text-align:left;
	color:black;
	padding:0 0 0 .2em;
}	
ul.table li div:first-child {
	color:blue;
	float: left;
	clear:none;
}
#a {
	border: 1px solid blue;
}
#b {
	border: 1px solid red;
}
#c {
	border: 1px solid green;
}
#d {
	border: 1px solid orange;
}
HTML Code:
<ul class="table" id="a">
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
</ul>

<ul class="table" id="b">
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
</ul>

<ul class="table" id="c">
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
</ul>

<ul class="table" id="d">
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
<li><div>Cell 1</div><div>Cell 2</div></li>
</ul>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-22-2009, 10:36 PM Re: two cell table matrix
Extreme Talker

Posts: 216
Trades: 0
Thank you
chrisj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to two cell table matrix
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17738 seconds with 12 queries