Jump to content

Archived

This topic is now archived and is closed to further replies.

natalieG

div tag formatting

Recommended Posts

we have a variable [b]$DIVHT='<?php echo "$AVAILHT";?>';  [/b]  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

Share this post


Link to post
Share on other sites
why not just use..

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


Regards
Liam

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.