PDA

View Full Version : Cross-browser marquee II - html code to add?



Mark_H
09-29-2009, 03:30 PM
1) Script Title: Cross-browser marquee II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

3) Describe problem:

As I know only a very small amount of HTML, I am having problems getting the text for the marquee.

I created an html file in WebPlus (by Serif), but when I cut and paste to body the HTML code, other text on my page changes.

The code that WP produces is:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Serif WebPlus 11.0.8.033">
<title>Home</title>
<style type="text/css">
<!--
body {margin: 0px; padding: 0px;}
a:link {color: #2c3651;}
a:visited {color: #1f5b8b;}
a:hover {color: #2c3651;}
a:active {color: #2c3651;}
.Normal-P
{
margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
}
.Normal-C
{
font-family:"Trebuchet MS", sans-serif; font-weight:700;
font-size:16.0px; line-height:1.38em; color:#990033;
}
.Normal-C0
{
font-family:"Trebuchet MS", sans-serif; font-size:12.0px;
line-height:1.50em;
}
-->
</style>
</head>

<body text="#000000" style="background: #ffffff; text-align:center; height:1000px;">
<div style="background: transparent; position:relative;width:750px;height:1000px;margin-left:auto;margin-right:auto;">
<div id="txt_4" style="position:absolute; left:106px; top:499px; width:199px; height:287px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C">Rebuild Ministry</span></P>
<P class="Normal-P"><span class="Normal-C0">The Rebuild Ministry Vision is moving forward!</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Web Site Under Development</span></P>
<P class="Normal-P"><span class="Normal-C0">This web site is being developed. &nbsp;Expected completion at the end of October.</span></P>
</div>
</div>
</body>
</html>

Of this, which part should I be pasting in?

Thanks,
Mark.

P.S. Apologies if I've put this in the wrong part of the forum...I'm new :o

Mark_H
10-06-2009, 01:09 PM
I think on reflection this post should be in the HTML coding question part.

Could anyone guide me in the HTML code I need to put into the Customizable part of the Marquee "body" code.

I'm after the html needed to specify font, font size, font colour, and also the "href" type code to make some parts a hyperlink.

Many thanks for your help.