I've been having a problem. I want to create a table that has 4 boxes in width, with an unlimited potential in height. My "main content" is 598px. When I reach 4 boxes I want it to automatically start a new row when I insert more picture. When I continue the process and add the same table code over 4 time, the 5th table goes into my “right side bar” and doesn’t go down when it has reach the size limit of the main content. How would i fix this? here is the code
Main content:
#content #picture {
padding-top: 20px;
width: 598px;
position: relative;
float: left;
margin-right: 5px;
margin-left: 5px;
}
Table attributes:
<table width="100%" cellpadding="0" cellspacing="0">
<tr><center>
<td valign="bottom" width="195">
<table cellpadding=2 cellspacing=0 width="140">
<tr><td colspan=2>Flowers<br /></td></tr>
<tr>
<td colspan=2><a class="thumb" target="_blank"><img src="file:///C|/Documents and Settings/J/Desktop/Flowers/images/f3.jpg" width="135" height="120"></a><br /></td></tr>
<tr><td><font class="s"></font><br /></td><td align=right><font class="s"><br /><br /></td></tr>
</table>
<br />
</td>
</center></tr>
</table>
Working with tabels
Started by pinstripe05, Apr 26 2010 03:18 PM
6 replies to this topic
#1
Posted 26 April 2010 - 03:18 PM
|
|
|
#2
Guest_master99_*
Posted 29 April 2010 - 03:29 AM
Guest_master99_*
Creating table in HTML is very easy task..
see below link to find Higher Page Rank Tutorials
http://www.tutorials99.com
see below link to find Higher Page Rank Tutorials
http://www.tutorials99.com
#3
Posted 02 June 2010 - 07:36 AM
i hope your not using a table for your sites layout. that can cause some issues..
#4
Posted 07 June 2010 - 05:53 AM
try repeat -y. I don't know if this is going to work, but at least try it. Sorry if it doesnt.
#5
Posted 14 June 2010 - 09:44 PM
Percentages might work for height; then you could use min-height/max-height if you dont want it to exceed
#6
Posted 15 June 2010 - 12:00 AM
atheium said:
i hope your not using a table for your sites layout. that can cause some issues..
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript
#7
Posted 15 June 2010 - 12:30 PM
There not bad if you actually making some kind of chart. But layout wise it's not the best choice. You can achieve the same thing with Div tags and you have more/better control on what they do. Using tables your control is kinda limited.


Sign In
Create Account

Back to top









