View Single Post
Old 26-04-2006   #7 (permalink)
squiffythewombat
Guest
 
squiffythewombat's Avatar
 
Join Date: Aug 2005
Location: Canterbury
Real Name: Toby
My Models: ....lool.....thousands of kits..
Visit squiffythewombat's Gallery
Posts: 485
Sorry im not sure im explaining myself properly......

Obviously you have to use the <td> and <tr> tags for rows etc. but the layout of the page is written in .PHP and doesnt related to the stylesheet?

IE:
If i changed :

if($rw==2){$rw=0;$im[$xyz].="</tr><tr>";} $i++;


to

if($rw==3){$rw=0;$im[$xyz].="</tr><tr>";} $i++;

then i would have 3 colums instead of 2. So the .php is controling the <tr> tag rows is it not? or am i totally off the mark here? If i just wrote <table border=blah blah> without the echo nothing would be displayed?

This creating tables via CSS sounds intresting! I thought CSS was just used to control font height, colour, formating etc across the site as a whole??
squiffythewombat is offline   Reply With Quote
 
Advertising | Playdock Z500 | Hotels Parma | Hotels Parma | Car Insurance