Skip to main content
Participating Frequently
November 11, 2019
Question

Can't Select Image Inside DIV in Design View

  • November 11, 2019
  • 3 replies
  • 406 views

I need to create an image map on an image inside a DIV, but when I go into Design View, where I have to be, every effort I make to select the image so I can draw the map, the DIV selects instead.  Tried everything, can't get beyond the DIV.

 

How would I do that?

 

If I could also find out how to disable that Code Navigator aggravation, that would also help.

 

Thanks.

This topic has been closed for replies.

3 replies

Nancy OShea
Community Expert
Community Expert
November 11, 2019

Which version of DW?

Can we see your code (all of it) to assess what's going on?  The best way is with a link to your online page. 

 

That said, you realize that old style image maps are not responsive on mobile and tablet devices, right?  These days, none of us can afford to alienate mobile users because they are the majority of web users.  Desktop & laptop usage is inching downward every year. 

 

In case you're interested, below is a  responsive SVG image map I posted on JS Fiddle. 

https://jsfiddle.net/NancyO/6k3v4ge1/13/

 

 

Nancy O'Shea— Product User & Community Expert
Community Expert
November 11, 2019

Without seeing your code, I can only speculate that you may have an element overlapping which is preventing you from clicking in design view.  If you need to select something otherwise you can click within the code view on the image or in the DOM window (Window-->DOM). 

Jon Fritz
Community Expert
Community Expert
November 11, 2019

Is the image an actual <img> tag in your <div>, or is it maybe a background-image in the css of the <div>?

Could you share a link to your work so far?