Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

other problem with IE
 

ste.paoletti@tiscali.it




quote this post edit post

IP Loged report this post

Old Post  12-15-05 - 11:45 PM  
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...
help please!
thanks



Post Follow-Up to this message ]
Re: other problem with IE
 

Steve Pugh




quote this post edit post

IP Loged report this post

Old Post  12-16-05 - 11:23 AM  
ste.paoletti@tiscali.it wrote:
> 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" />

Missing the required alt attribute.

> 	<input type="radio" class="radio"/>
> 	<span class="itemnum">1</span>

Should this perhaps be a <label> element instead?

> 	<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;
> }

So why not use <div> instead of <span>?

> .image{
> display:inline;
> }
> .radio{
> display:inline;
> }
> .itemnum{
> display:inline;
> }

inline is the default for those elements so why bother?

> .content{
> display:block;
> position:relative;
> top:-10px;
> left:40px;
> }

Looks reasonable, though again why not use a <div> and isn't the top:
-10px running the risk of successive lines overlapping? In general
margins are better than relative positioning for many situations.
Though without an actual page to look at it's impossible to say whether
that's the case here.

> 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...

Please post a URL so that we can see what the "strange result" is.

Steve



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 02:23 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top