I'm using the NSN supporters left scrolling block on my site. The marquee tag is not recognised as valid xhtml. Is there a workaround to it. The code is as follows:
/*################################# */
/* CSS for my first scrolling box */
#scrollingContainer{
width:170px; /* 170 pixels in width */
height:250px; /* Height of box */
border:1px solid #000; /* Black border around box */
background-color: #E2EBED; /* Light blue background color */
padding:2px; /* A little bit of space between border of box and text inside */
float:left; /* I want the text to wrap around the box */
margin-right:10px; /* Right margin of 10 pixels */
font-size:0.9em; /* Smaller font size than the rest of the page */
overflow:hidden; /* Hide overflow content */
}
/* End css for my first scrolling box */
/* CSS for my second scrolling box */
#scrollingContainer2{
width:100px; /* Width of second box */
height:150px; /* Height of second box */
border:1px solid #000;
background-color: #DDD;
padding:2px; /* A little bit of space between border of box and text inside */
float:right; /* I want the text to wrap around the box */
margin-left:10px; /* Space at the left of the box */
color:red; /* red text color */
Only registered users can see links on this board! Get registered or login to the forums!
November 2005
This is a script from
Only registered users can see links on this board! Get registered or login to the forums!
You will find this and a lot of other scripts at our website.
Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.
Joined: Dec 19, 2004 Posts: 3143 Location: Germany:Moderator German NukeSentinel Support
Posted:
Sat Oct 03, 2009 2:04 pm
@ wHiTeHaT Thank you so much for posting this solution !
I had over 30 errors from my created scrolling block (no NS) and now it´s W3C valid again.
I owe you a beer.
Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
Posted:
Sun Oct 04, 2009 8:56 am
In the latest package we included a much simpler script from dynamic drive for use in the NS block. It fixed javascript warnings in IE. I really can't remember, but I don't think it scrolled in IE either (at least IE 8 ). Just an FYI.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum