![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||||
| ||||||
|
|
Ok, IE don't support CSS2 selector; thanks for your answers. I'm trying another way but it work only in firefox and not in IE. Is about the position:relative property. I will be more cleare next: I must create a test (with question and answer) and for the answer list I have the following xhtml code: ... span class="answer" <img src="http://www.google.com/url?sa=D&q=http://groups.google.com/img/watched_y.gif" class="image" / |
|
<input type="radio" class="radio"/ <span class="itemnum">1</span |
|
<span class="content">HERE COULD BE IMAGE , SPAN(WHIT TEXTCHILDNODES), ECC</span /span span class="answer" <img src="http://www.google.com/url?sa=D&q=http://groups.google.com/img/watched_y.gif" class="image" / <input type="radio" class="radio"/ <span class="itemnum">2</span <span class="content">HERE COULD BE IMAGE , SPAN(WHIT TEXTCHILDNODES), ECC</span /span ... and the following CSS: .answer{ display:block; } |
|
.image{ display:inline; } .radio{ display:inline; } .itemnum{ display:inline; } |
|
.content{ display:block; position:relative; top:-10px; left:40px; } |
|
The scope is align the image, radio, and number with the content (the childs of content span must be all display:block) In IE it should work? I have strange result... |
![]() |
| Thread Tools | |
| Display Modes | |
| |