Jump to content

Div.myslideshow Not Working In Css


emmaclarke

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;}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...