100% Div Fixes Width When Using JQuery Cycle
7th December, 2011 in Technical
If using a 100% DIV width for a JQuery Cycle container, JQuery Cycle will find the width of the container when its rendered and fix it to this width so when you then resize the browser the container stays at the fixed width.
This means if you have a 100% wide DIV that is required to be centered, it will not stay central when resizing the browser.
I found the solution here:
http://stackoverflow.com/questions/3273137/jquery-cycle-slideshow-resize-problem/
Just use !important for the DIV width:-
#module_rotator { width: 100% !important; }
Recent
22nd November, 2017 in
Amity is pleased to announce it's sister web design company has launched in Newport. http://nettlofnewport.co.uk will design & build, host & support and digitally market websites for customers in and around Newport, South Wales, using Amity as the technical backend. Nettl will also offer design & print material for marketing & exhibitions.
Did you know that approximately 96% of people leave a website without taking the action the website owner would like them to complete? Whether it’s buying a product, signing up to a mailing list or requesting a callback, the vast majority of people visiting your site do not do it!
28th November, 2016 in Advice
When did you last check the speed of your website? According to Google’s guide for webmasters, a good eCommerce website should load fully in under 2 seconds...
If your business isn’t currently using social media, now is the time to consider why that is.
25th October, 2016 in Advice, Amity News
December is the perfect time to kick-start campaigns and refresh your marketing. Even if the nature of your business isn’t remotely festive, your customers will appreciate the goodwill of a seasonal offer to two, or simply a friendly ‘Merry Christmas’ message.