Aligning Issues
Reported by Miles | April 3rd, 2010 @ 08:56 AM
I have been unable to find an answer on any of your forums or any other forums for that matter about aligning some of your widgets, in this case the carousel.
I have managed to align the with a {table align="center"} but nothing else, more importantly a {div} tag. Is there any way in which this could be possible?
Many thanks,
Miles,
of Digital Passion
Comments and changes to this ticket
-
Jake Archibald April 6th, 2010 @ 08:13 AM
- State changed from new to invalid
Hi Miles,
We leave the positioning of our widgets down to the developer, they can be positioned the same way as any other HTML element, via CSS.
For example, you might create centred div like this:
#carouselContainer { margin: 0 auto; width: 400px; }
Then put a Carousel in it:
var myCarousel = new glow.widgets.Carousel("#carouselContainer", // ...
Using CSS you can position the carousel however you wish.
Cheers,
Jake.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library