Только для справки, более полный ответ - это нужно настроить как на CSS, так и на Javascript:
Javascript:
var d=document.querySelectorAll('details:not(open)'),
i=d.length,
f=function(e){e.preventDefault();};
while(i-- > 0) {
// set the open attribute to the elements that doesn't have one
d[i].setAttribute('open','');
// disable open/close behavior
d[i].onclick = f;
}
// cleanup
delete(d);
delete(i);
delete(f);
Или стиль jQuery:
$('details:not(open)').attr('open',true).click(function(e){ e.preventDefault(); });
CSS:
/* disable <summary> marker/arrow on webkit */
summary::-webkit-details-marker { display: none;}
/* disable outline when clicked */
summary:focus{outline:none;}