emmaclarke Posted June 26, 2009 Share Posted June 26, 2009 <div class="jdSlideshow" id="mySlideshow"></div> div.mySlideshow{width: 400px;height: 200px;float: right;} The image is not being aligned right for some reason. I did exactly the same coding in CSS (div.map_canvas) and HTML (div id) for a google map and that works. Link to comment Share on other sites More sharing options...
Ingolme Posted June 26, 2009 Share Posted June 26, 2009 Why not try "text-align: right" rather than "float: right"? Link to comment Share on other sites More sharing options...
Yvil Posted June 26, 2009 Share Posted June 26, 2009 div.mySlideshow tries to select something with class="mySlideshow", while it is id="mySlideshow".Because of this the CSS does nothing to the div.Try this: div.jdSlideshow{width: 400px;height: 200px;float: right;} or this: div#mySlideshow{width: 400px;height: 200px;float: right;} Link to comment Share on other sites More sharing options...
emmaclarke Posted June 26, 2009 Author Share Posted June 26, 2009 div.jdSlideshow{width: 400px;height: 200px;float: right;} This works thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.