PDA

View Full Version : HTML Help +REP



iLogan
04-07-2011, 06:39 PM
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:


<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

dbgtz
04-07-2011, 07:10 PM
<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

iLogan
04-07-2011, 07:34 PM
<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

Fiendly
05-07-2011, 10:28 AM
Looks like the DIV tags..
Try doing it without the tags.



<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.

Mr-Trainor
05-07-2011, 10:50 AM
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):


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.

Want to hide these adverts? Register an account for free!