Jump to content

html small code to php format


jaic

Recommended Posts

Hi folks

can anyone change this to php for me please

<body bgcolor="#000000">
<div style="position: absolute; width: 143px; height: 31px; z-index: 1; left: 240px; top: 8px; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" id="lazer">
<font color="#FB9813">ACCESS DENIED</font></div>

many thanks for your help!!!
Link to comment
Share on other sites

well i have only just started with this php and have a website that has a simple login page on it, i am having parsing errors and cant figure out how to make the background black and the writing orange, as in the script above.  i had to use text books to design this login screen which works, im just looking to refine it.

so. really what, two lines of script do i need before character to define the background colour and the font colour??

thanks
Link to comment
Share on other sites

You just need to add this between your "<?php" and "?>" tags in the place you want it to be-

[code]echo '<body bgcolor="#000000">
<div style="position: absolute; width: 143px; height: 31px; z-index: 1; left: 240px; top: 8px; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" id="lazer">
  <font color="#FB9813">ACCESS DENIED</font></div>';[/code]

Orio.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.