rageagainstmachine Posted July 24, 2010 Share Posted July 24, 2010 What seems like a simple thing to me, its beginning to really frustrate me! On my gallery page i want to have my scroller centred in that ?maincontent_frost_gallery? div. So i put Left and right to Auto on the flash object, but its off center!! Pleas tell me where I?m going wrong! http://blu-berri.com/dump/testsite/gallery.html Link to comment Share on other sites More sharing options...
0 nub Posted July 24, 2010 Share Posted July 24, 2010 Did you try <center>? or putting it in a div with align: center? Link to comment Share on other sites More sharing options...
0 rageagainstmachine Posted July 24, 2010 Author Share Posted July 24, 2010 tried the first, gonna try floating a div in there the exact dimensions of the flash gallery. Link to comment Share on other sites More sharing options...
0 sweetsam Posted July 25, 2010 Share Posted July 25, 2010 use the following styles for the object tag width: 600px; display: block; margin: 0 auto; This will center the flash element. Link to comment Share on other sites More sharing options...
0 mikeaag Posted July 25, 2010 Share Posted July 25, 2010 the flash object is in a <p> with the class "content_text" the css of that class has "text-align: left;", which is why it is not sitting in the centre. just give it its own class that has "text-align:center" and it will work :D Link to comment Share on other sites More sharing options...
Question
rageagainstmachine
What seems like a simple thing to me, its beginning to really frustrate me!
On my gallery page i want to have my scroller centred in that ?maincontent_frost_gallery? div. So i put Left and right to Auto on the flash object, but its off center!!
Pleas tell me where I?m going wrong! http://blu-berri.com/dump/testsite/gallery.html
Link to comment
Share on other sites
4 answers to this question
Recommended Posts