css - z-index bad behaviour over some HTML elements -
i've seen behavior years. checkboxes , radios buttons can not covered div elements. no matter z-index use.is there solution?
besides, using simpletip (can't use qtip). if know jquery tooltip ready use work around this... have wallet open. thx
ok, can work.
first off: has nothing problem, can lead other problems: html riddled errors:
most importantly span
may not contain block element such div
. of errors because using html syntax instead of xhtml syntax. maybe easier use html doctype, fixing xhtml errors.
your actual problem z-index
applies elements positioned (absolute, relative, fixed) , since "tooltip" isn't z-index
has no effect.
you'll need explain want do. until can give general suggestions:
you make sure "tooltip" doesn't become wider surrounding span
. it's 300px wide , since span
s flexible spills out, when span
s become small.
or give "tooltip" position: absolute
, smaller top
, left
values (btw current top
, left
values useless, because apply positioned elements) , it's parent span
position: relative
.
Comments
Post a Comment