Jump to content


Photo

div tag formatting


  • Please log in to reply
1 reply to this topic

#1 natalieG

natalieG
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 04 July 2006 - 04:48 PM

we have a variable $DIVHT='<?php echo "$AVAILHT";?>';    That we are using
to  set the height of a div tag as in:

<div style="background : #ffffff; color : #ffffff; padding : 4px; width :930px; height : $DIVHTpx; overflow : auto; ">   

The div tag  height doee not appear to be set=$AVAILHT

Thanks,
NatalieG



#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 04 July 2006 - 05:16 PM

why not just use..

<div style="background : #ffffff; color : #ffffff; padding : 4px; width :930px; height : <?php echo $AVAILHT.'px'; ?>; overflow : auto; ">   


Regards
Liam
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users