Connecting Tech Pros Worldwide Help | Site Map

PHP tags doesnt work when CSS applied

  #1  
Old July 17th, 2005, 01:55 PM
wicky
Guest
 
Posts: n/a
hello, i tried to apply php tags to show some smilies but it wouldn
work because my html tag have css class to control it. No picture
show up but when i delete the css class the pictures show up, anyon
know the reason to this? thank yo
<p class="emoticon"

<?php
foreach($image as $count => $image_path

$buf = sprintf("%s",$image_path)
$c = $c+1
?

<img src="<?php echo $buf;?>"
<?ph
if($c==5
{?
</p
<p class="emoticon"
<?ph
$c = 0


?
</p
http://eye.cc -php- web design
  #2  
Old July 17th, 2005, 01:55 PM
madmaster
Guest
 
Posts: n/a

re: PHP tags doesnt work when CSS applied


It's a better idea to place the CSS class, so that I can think on it.

  #3  
Old July 17th, 2005, 01:55 PM
Jasper Bryant-Greene
Guest
 
Posts: n/a

re: PHP tags doesnt work when CSS applied


Please post your CSS for p.emoticon as that is where the error will be.

Closed Thread