Posted by KiwiBrian on 05/08/06 09:34
In a calender script in a web site I have a php file with the following
typical table cell entry:-
<td align=center width=$col6>";
if($cweb[$i] != "")
echo "<a href=\"http://$cweb[$i]\">$cweb[$i]</a><br>"; plus lots more
within the td.
Although I can use CSS on cells in the header row, it appears as though the
echo element prevents me from applying an inline CSS style to this cell/td.
Is this expected behaviour?
Is there any way I can apply an inline CSS style to the cell?
On a related matter, how would I apply a CSS style to the hyperlink entry in
the above example?
I am reasonably familar with HTML and CSS, but am lost in this PHP.
Also what is the significance of the \ after the a href=
TIA
Brian Tozer
Navigation:
[Reply to this message]
|