Click to See Complete Forum and Search --> : help with marquee


lehula
06-07-2007, 12:49 AM
Can anyone figure out how to center the text above the pictures. I've tried using divs and tables, but it messes up my marquee height, by stacking the pictures on top of each other. Oh, and I can't use css or javascript. thanks in advance.



<html
<head>
</head>

<body>

<div id="friendsmarqueediv" style="position:absolute; left:850; top:250">
<marquee id="friendsmarquee" behavior="scroll" height="100" width="300" scrollamount="3" direction="left" style="cursor:move">

<a>Picture 1<img id="pic1" src="http://www.miniatureartprints.com/images/The_Apple_Orchard-RET-1TMF1.JPG"></a>
<a>Picture 2<img id="pic1" src="http://www.miniatureartprints.com/images/The_Apple_Orchard-RET-1TMF1.JPG"></a>
<a>Picture 3<img id="pic1" src="http://www.miniatureartprints.com/images/The_Apple_Orchard-RET-1TMF1.JPG"></a>
<a>Picture 4<img id="pic1" src="http://www.miniatureartprints.com/images/The_Apple_Orchard-RET-1TMF1.JPG"></a>
<a>Picture 5<img id="pic1" src="http://www.miniatureartprints.com/images/The_Apple_Orchard-RET-1TMF1.JPG"></a>

</marquee></div>
</body>
</html>

gil davis
06-07-2007, 06:12 AM
Oh, and I can't use css or javascript.
...
<div id="friendsmarqueediv" style="position:absolute; left:850; top:250">So, what is this, then? Chopped liver? ;)

lehula
06-07-2007, 12:12 PM
thats not css, if thats what you mean.

Tweak4
06-08-2007, 09:57 AM
Not so fast... from http://en.wikipedia.org/wiki/Cascading_Style_Sheets:

CSS information can be provided by various sources:

* Author styles (style information provided by the web page author), in the form of
o external stylesheets, i.e. a separate CSS-file referenced from the document
o embedded style, blocks of CSS information inside the HTML document itself
o inline styles, inside the HTML document, style information on a single element, specified using the "style" attribute.


Assuming this description to be accurate, I'd say this falls nicely into that third category.

sae
06-08-2007, 11:37 AM
thats not css, if thats what you mean.

That is DEFINETELY css

Do you have a live example of the page that we can see?

lehula
06-08-2007, 12:17 PM
Tu shay!! In that case, all CSS is ok to use. Did anyone have any ideas?

sae
06-08-2007, 01:01 PM
I found this:

http://www.howtocreate.co.uk/jslibs/htmlhigh/simplemarquee.html

Centauri
06-08-2007, 01:03 PM
This was also addressed in the other thread (http://www.webdeveloper.com/forum/showthread.php?t=150808)