HTML / CSS (possible :checked pseudo selector) visualization trouble with IE -


i working on homework software academy study at.. task make simple gallery should visualize clicked thumbnail photo in larger resolution. somehow got done using radiobuttons in form (correctly or not).. , gallery works on major borwsers fine, except ie (of course)...

i've tried on ie9 , ie11 , not seems work @ all. whatever click on thumbnail, nothing changes. i'd aprpeciate, if take @ code , give , advice might problem.

thank in advance!

i have replaceed images random ones working example:

http://jsfiddle.net/j34vm/1/

img {  position: relative; }  #holder {  width: 1075px;  margin: 10px auto; }  #holder form {  width: 100%;  text-align: center;  position: relative; }  label .thumb {  width: 150px;  height: 120px;  opacity: 0.6; } label .thumb:hover {  opacity: 1; } label .display {  position: absolute;  width: 860px;  height: 688px;  top: 130px;  left: 10%;  display: none; } input {  display: none; } input:checked + label .thumb {  opacity: 1; } input:checked + label .display {  display: block; } li {  display: inline;  list-style-type: none; } 

i think problem might caused display:none of radio button, radio button might not checked when has display:none (only on ie).

if problem, try positioning radio buttons away page rather hiding them, replace this:

input {     display: none; } 

with this:

input {     position:absolute;     left:-500px; } 

hope helps


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -