93 users online (0 members and 93 guests)  


  Results 1 to 7 of 7

Related

  1. Html Code    Forum: HTML Forum
    Replies: 1
  2. html code    Forum: HTML Forum
    Replies: 1
  1. #1
    jdog110997's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2012
    Posts
    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>

  2. #2
    coastcutting's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2012
    Location
    Parksville, BC
    Posts
    1

    Follow coastcutting On Twitter

    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; }";
    ?>

  3. #3
    innocentmani's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2013
    Posts
    2

    Re: How do i put this html code into php

    Quote Originally Posted by jdog110997 View Post
    <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>

    You can also try the instyle method for css handling,,,

  4. #4
    Accsitech's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2014
    Posts
    2

    Re: How do i put this html code into php

    use this code
    <?php
    "then your code"
    ?>

  5. #5
    errorrr007's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2015
    Posts
    10

    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.

  6. #6
    Hostissimus's Avatar
    New User

    Status
    Offline
    Join Date
    May 2015
    Posts
    10

    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.

  7. #7
    DewlanceVPS's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2015
    Posts
    10

    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.