TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 21, 2024, 09:30:45 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,165
  • Total Topics: 21,219
  • Online today: 114
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 45
  • Total: 45

Scrolling banner block.

Started by tick, June 14, 2007, 02:36:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Reality12

It's the same code that was posted...

Now, I changed the css values, but I don't know if it's just an Internet Explorer issue or what, but it shows up sometimes and sometimes it doesn't. Can someone with FF and IE check it for me?

I'm currently at work and they only have IE installed on these pcs. :uglystupid2:

Also, can the script be centered?

eeek

#11
#pscroller1{
margin-left: auto;
margin-right: auto;

width: 140px;
height: 80px;
border: 1px solid black;
padding: 5px;

Will centre it in the part of the page its on. Depends where you put the code on the page :)
If in a centre block it will be centre. If its a side block it will be in the centre of the side block.

Edit..shows up ok in FF and IE for me...you could also make border: 0px to get rid of the line or padding:0px so the line matches the size of the banners and increase height as its cutting the bottoms off :)

Reality12

#12
That was perfect! Thank you!

Edit...
Fixed and again, thank you!!