Results 1 to 2 of 2

Thread: Need help on php message board script

  1. #1
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need help on php message board script

    Everything, but one feature, works as intended on a message board, written in PHP. (Please use the links, 1 & 2 - about the middle of the post, to see the Ticker display - w/Link 2 showing how I would like for it to look in lieu of looking as Link 1 shows):
    The problem I'm having is that I want a "blue background" for the Ticker display. The following piece of code, I thought, would make this "blue background" for the Ticker display but it doesn't work: ************************************************
    // Message board title
    $settings['mboard_title']="<div bgcolor='yellow'><img src='http://www.droark.com/HHS/images/banhhspc.gif'><br><meta content='text/html;

    charset=windows-1250'><script type='text/javascript' src='scripts/ledMarquee.js'></script><LINK rel='stylesheet' type='text/css'

    HREF='css/ledMarquee.css'><table><tr><td style='background-image:url('images/bluestrip3.jpg');background-size:340px 37px;'>
    <div id='ledmarquee'>Welcome to the Huntingdon High School - Class of 1953 - Message Board</div></td></tr></table>
    </title>
    <br><body bgcolor='yellow'>";

    ************************************************
    However, an intended "blue background" does NOT show up and looks like this:
    Link 1: http://www.droark.com/HHS/Classof53/mboard.php

    Now, Link2, below, shows the way I would like it to look:
    Link 2: http://www.droark.com/HHS/Classof53/led-marquee.html

    This latter one was generated by the HTML code below:

    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Mozilla/4.7 [en] (Win95; I) [Netscape]">
    <title>Led Marquee</title>
    <! NOTICE: Script found at: http://javascriptsource.com/text-effects/led-marquee.html>
    <script type="text/javascript" src="scripts/ledMarquee.js"></script>
    <LINK rel="stylesheet" type="text/css" HREF="css/ledMarquee.css">
    </head>
    <body text="#000000" bgcolor="#FFFFFF" link="#0000CC">
    <table align=center width=100%>
    <tr>
    <td align=center style="background-image:url('images/bluestrip3.jpg');background-size:340px 37px;">
    <div id="ledmarquee">Welcome to the Huntingdon High School - Class of 1953 - Message Board</div>
    </td>
    </tr>
    </table>
    </body>
    </html>

    *******************************************
    Your Help will be much appreciated.

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    This really doesn't appear to be a php problem.

    The PHP is "working" just fine - it's your markup that is horribly mangled. I would recommend learning how to use HTML and CSS.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •