Closed (fixed)
Project:
Image cycle
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2009 at 13:13 UTC
Updated:
21 May 2010 at 02:23 UTC
Hi,
Thanks for the useful module.
I have a image cycle on a homepage but it aligns to the left of the content block, any idea how I can align it to the center.
Thanks in advance
Andy
Comments
Comment #1
boombatower commentedWrap code in block with:
or try adding the following to style settings for the gallery.
Comment #2
kalm commentedThanks,
The second way worked a treat, I'd tried something similar there but I think I'd missed off the 'div.'
Comment #4
autoberater commentedSorry for re-opening!
I have the same problem and the second way worked for me, but now there are 2 errors during xhtml validation.
# Error Line 295, Column 7: required attribute "type" not specified
div.image_cycle_pictures { # Error Line 295, Column 7: document type does not allow element "style" here div.image_cycle_pictures { Can somebody help fixing this? ThanksComment #5
boombatower commentedYour probably embedding the CSS directly in the page using
tag, which is not allowed in XHTML, instead you should load it in an external style sheet, as for the "type" error one would need to see the rest of the CSS. This is not an Image cycle related question, but rather a general CSS/validation one so please ask in an appropriate forum for CSS or what not.