Skip to content Skip to sidebar Skip to footer

Datalist Attribute Is Not Working In Google Chrome

Datalist attribute is not working in Google chrome, it is working fine in Firefox Please have a look here http://prntscr.com/arny81 Thanks for your help in advance. HTML

Solution 1:

Target the ID in your CSS instead, that should work fine.

HTML:

<datalist id="dl">
   Your content goes here
</datalist>

CSS:

#dl {
   display: block;
}

This works fine in Chrome or any other browser.

Post a Comment for "Datalist Attribute Is Not Working In Google Chrome"