-
HTML Help +REP
Hiya,
I've got a problem, I've got a marquee but before the marquee text I want it to say "Message from Management:" so I coded this:
PHP Code:
<marquee id="manager_message" scrolldelay="0" scrollamount="4">
Message from Management:<div style="width: auto" onMouseOver="manager_message.stop();" onMouseOut="manager_message.start();"><?php include("_frontend/djSays.php"); ?></div></marquee>
but the Message from Management and the marquee are on different lines, how can I make it all on one line?
+REP
-
HTML Code:
<marquee id="manager_message" scrolldelay="0" scrollamount="4">
<div style="width: auto" onMouseOver="manager_message.stop();" onMouseOut="manager_message.start();">Message from Management:<?php include("_frontend/djSays.php"); ?></div></marquee>
blabla
-
Quote:
Originally Posted by
dbgtz
HTML Code:
<marquee id="manager_message" scrolldelay="0" scrollamount="4">
<div style="width: auto" onMouseOver="manager_message.stop();" onMouseOut="manager_message.start();">Message from Management:<?php include("_frontend/djSays.php"); ?></div></marquee>
blabla
I want the Message from Manager to be static then the php include to be on the same line but as a marquee
-
Looks like the DIV tags..
Try doing it without the tags.
Code:
<marquee> Message from Management: <?php include("_frontend/djSays.php"); ?> </marquee>
Might download one of these dj panels and try it out.
Good luck and hope it all works out, might be a stylesheet property or a setting under the php file.
-
I had this problem a while back, and I just added a width to the marquee so that it didn't need a new line. Example (I'll add it to what Fiendly posted above):
HTML Code:
Message from Management: <marquee width="70%"><?php include("_frontend/djSays.php"); ?></marquee>
Just change the 70% so that it fits to your page as you want it.