More or less. Rearranging the order of the styles, seems to have an
influence. No idea why but it looks ok now. Firebug only showed the first
style (background-image), but changing the order made more show up (not
all). Go figure. But thanks for the input all.
/Steen
2008/4/2, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>:
>
> so you got this sorted out right?
>
> Steen Larsen wrote:
>
> > I'm also developing mainly on firefox, and have tried clearing the cache
> > an
> > all, but no luck. My colleague tried it out with the same result and he
> > had
> > never downloaded the new stylesheet before.
> >
> > The html is the standard feedback panel:
> >
> > <div wicket:id="feedback"><wicket:panel>
> > <ul wicket:id="feedbackul">
> > <li wicket:id="messages" class="feedbackPanelERROR">
> > <span wicket:id="message" class="feedbackPanelERROR">Feltet
> > postnummer skal udfyldes.</span>
> > </li>
> > </ul>
> > </wicket:panel></div>
> >
> > and the css reference adds the following line to head, which should be
> > ok:
> >
> > <link rel="stylesheet" type="text/css"
> > href="resources/dk.yousee.order.css.Style/yousee.css" media="screen"
> > />
> >
> > /Steen
> >
> > 2008/4/1, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]
> > >:
> >
> >
> > > Eeek TDC(yousee), which robs me of a montly fee for television!
> > >
> > > This might not be the rigth forum to ask CSS questions and is sort of
> > > offtopic. But usually when something works in IE and doesnt in firefox
> > > it means that IE breaks standard compability, and due to some bug in
> > > IE
> > > works anyway. My prefered way of working are using firefox to develop,
> > > checking in IE and then fix so it works in IE too..
> > >
> > > Could you show the corresponding html?
> > >
> > > regards Nino
> > >
> > >
> > > Steen Larsen wrote:
> > >
> > >
> > > > Hi,
> > > >
> > > > I have made a stylesheet to change the default look of the
> > > >
> > > >
> > > FeedbackPanel,
> > >
> > >
> > > > and loaded it with response.renderCSSReference(new
> > > > ResourceReference(
> > > > Style.class,"yousee.css"), "screen"), where the class Style and the
> > > > css
> > > >
> > > >
> > > is
> > >
> > >
> > > > in the same package. The css looks like this:
> > > >
> > > > li.feedbackPanelERROR {
> > > > background-image: none;
> > > > color: red;
> > > > padding-left: 0px;
> > > > background-repeat: no-repeat;
> > > > background-position: 0px;
> > > > list-style-type: none;
> > > > }
> > > >
> > > > li.feedbackPanelINFO {
> > > > background-image: none;
> > > > color: red;
> > > > padding-left: 0px;
> > > > background-repeat: no-repeat;
> > > > background-position: 0px;
> > > > list-style-type: none;
> > > > }
> > > >
> > > > This works fine in IE7, but for some reason only works partly in
> > > >
> > > >
> > > Firefox.
> > >
> > >
> > > > The green background-image is removed but the text is not red, and
> > > > is
> > > > indented as in the original. Looking at the styles with Firefoxs
> > > > WebDeveloper shows the correct styles. Anybody experienced this and
> > > >
> > > >
> > > found a
> > >
> > >
> > > > solution ?.
> > > >
> > > > /Steen
> > > >
> > > >
> > > >
> > > >
> > > --
> > > -Wicket for love
> > >
> > > Nino Martinez Wael
> > > Java Specialist @ Jayway DK
> > > http://www.jayway.dk
> > > +45 2936 7684
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
> >
> >
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>