emmaclarke Posted June 26, 2009 Report 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 Report 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 Report Share Posted June 26, 2009 (edited) 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;} Edited June 26, 2009 by Yvil Link to comment Share on other sites More sharing options...
emmaclarke Posted June 26, 2009 Author Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now