minxie6 Posted February 25, 2008 Share Posted February 25, 2008 I need to know how to use php in html,css eg PHP <? $left = 10 ?> HTML <div style=" top: 2; left: $left; position: absolute; z-index: 1; visibility: show;"> <p>eg<a href="eg.php">eg</a></P> </div> how can i make this work? help me please! this is driving me mad!!! ??? Quote Link to comment Share on other sites More sharing options...
revraz Posted February 25, 2008 Share Posted February 25, 2008 <div style=" top: 2; left: <?php echo $left ?>; position: absolute; z-index: 1; visibility: show;"> <p>eg<a href="eg.php">eg[/url]</P> </div> Quote Link to comment Share on other sites More sharing options...
minxie6 Posted February 25, 2008 Author Share Posted February 25, 2008 thank you im so dumb thats lovely!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.