I am new to this so please bare with me. I am puting together a web page and I am using the "Pausing updown message scroller" and I want to position it in the center of the page how do I do this? Any help would be great.
Thank you
I am new to this so please bare with me. I am puting together a web page and I am using the "Pausing updown message scroller" and I want to position it in the center of the page how do I do this? Any help would be great.
Thank you
<center>
script goes here
</center>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Am i still in the stone-age, or is that script supposed to be <p align="..."></p>?
//\\ //\\// || //\\//\\ //\\ ||_
SOFTWARE
Ian,
<center></center> is even more stone age than:
<p align="center"></p>
which is a bit behind:
<div align="center"></div>
Do you notice a trend here? The latest, as I understand it (shown here as an illustration, not meant to be precise), would be to have a separate style sheet with something like this on it:
Then on the page have a nice doctype at the top and a:Code:#scrollerDiv { margin:0 auto; padding:0 auto; text-align:center; } * html #scrollerDiv { /*use only if needed for ie*/ margin:0 20%; }
In the head, pointing to the above file. And finally, these tags around the script:HTML Code:<link rel="stylesheet" href="path/filename.css" type="text/css">
<center></center>HTML Code:<div id="scrollerDiv"></div>
works fine, and will continue to work fine for the foreseeable future. It's stuff like this that makes me laugh at the latest standards and how they are supposed to make life easier for anyone.
Wait until some of our standards junkies from these forums get a load of the above. Sparks may fly . . .![]()
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks