Jump to content

Div.myslideshow Not Working In Css


Recommended Posts

<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

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 by Yvil
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...