PDA

View Full Version : css text/img manipulation



kink
07-15-2005, 12:02 PM
does anyone know how to make a marquee effect using css
cbg where are you

CannonBallGuy
07-15-2005, 01:18 PM
Pass. :P

strangedar
07-15-2005, 07:50 PM
marquee efect? isnt that like marching ants in graphics programs (sorry if i'm being dense). Its a border style:
In any browser other than IE use

#randomDiv {
border: 1px dashed #000;
}

IN IE use

#randomDiv {
border: 1px dotted #000;
}

I suggest using conditional comments to achieve this effect across all browsers

Hope that helps

CannonBallGuy
07-16-2005, 01:03 PM
A marquee is moving text...
http://www.scit.wlv.ac.uk/encyc/marquee.html
As far as I know its not a good idea to use one...
And also that you can't do it in CSS either...

strangedar
07-16-2005, 06:35 PM
Ah I see...

...feel kinda dumb now...

pfgannon
07-16-2005, 07:14 PM
Ya its not doable in CSS and its deprecated(sp?) in xhtml.

strangedar
07-17-2005, 01:55 PM
If you want I can tell you how to do it using JavaScript...

daboss
07-18-2005, 09:10 PM
If you want I can tell you how to do it using JavaScript...
why don't you just 'show' it then... :)

strangedar
07-19-2005, 07:27 AM
actually I just found this: http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
Now I dont need to type up any JavaScript..

strangedar
07-19-2005, 07:28 AM
I'll try and modify it later so it can do the bouncing marquee. No promises though..

CannonBallGuy
07-19-2005, 08:05 AM
Why bouncing? I am sure he can just use the code on that page and edit the variables... :)

strangedar
07-19-2005, 08:24 AM
have no idea why anyone would want bouncing but the <marquee> tag has an option for it so I thought it would be nice if there was an option to do it with that as well. Only trying to be helpful :D

CannonBallGuy
07-19-2005, 08:26 AM
LOL. Okay... :)

kink
07-25-2005, 08:30 PM
very helpful guys truth is im making a site fior a guy i know and he insists on a marquee
i said you cant validate a marquee he said i want a marquee .................i said ok ok


anyway thx