| 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?? |