Results 1 to 7 of 7
-
04-24-2012, 06:45 PM #1
How do i put this html code into php
<STYLE type="text/css">
<!--
BODY
{
scrollbar-face-color: #3300FF;
scrollbar-highlight-color: #00CCFF;
scrollbar-3dlight-color: #33FFFF;
scrollbar-darkshadow-color: #000099;
scrollbar-shadow-color: #000066;
scrollbar-arrow-color: #3300FF;
scrollbar-track-color: #00FFFF;
}
-->
</STYLE>
-
07-17-2012, 05:37 PM #2
Re: How do i put this html code into php
Code:<?php echo "<STYLE type="text/css"><!--BODY { scrollbar-face-color: #3300FF; scrollbar-highlight-color: #00CCFF; scrollbar-3dlight-color: #33FFFF; scrollbar-darkshadow-color: #000099; scrollbar-shadow-color: #000066; scrollbar-arrow-color: #3300FF; scrollbar-track-color: #00FFFF; }"; ?>
-
08-12-2013, 06:41 AM #3
-
12-16-2014, 01:31 AM #4
Re: How do i put this html code into php
use this code
<?php
"then your code"
?>
-
01-31-2015, 04:50 PM #5
Re: How do i put this html code into php
why don't you just use a separate css file and put the <link href="abc.css" rel="stylesheet"> in your php? That way you can make all future changes to that file and that will be applied to your php page too.
-
05-08-2015, 02:41 PM #6
Re: How do i put this html code into php
More professional if you make a .css file for it, and add the link inside your .php file, rather than adding style codes directly to the .php file.
-
09-15-2015, 01:49 PM #7
Re: How do i put this html code into php
Better to use HTML page and put php code after /html tag.
Means first place html code with your css and after </html tag put your php code. Hope you understand.
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum