[support] fbsmp theming

Jamie Holly hovercrafter at earthlink.net
Fri Sep 23 13:39:38 UTC 2011


Use an attribute selector:

input[name='foo']

Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net


On 9/23/2011 8:49 AM, Salvatore De Paolis wrote:
> On Fri, 23 Sep 2011 07:42:16 -0400
> Jamie Holly <hovercrafter at earthlink.net> wrote:
>
> Hi,
>
> > Use the one of the parent elements the links are wrapped in. For example:
> > 
> > <div class="node">
> >   <div class="links">
> >     <ul>
> >        <li>
> >           <a href="#"><img src="....." /></a>
> >       </li>
> >    </ul>
> >   </div>
> > </div>
> > 
> > You can do something like this in CSS:
> > 
> > .node .links li img {
> > 
> > }
> > 
>
> the structure is not exactly like that and when I compared to Drupal commons
> they seems to do it in a different way as well.
>
> So each link is a <div> with an input of the form and it's defined generally in this way:
>
> <input name="foo" type="image" src="foo-image">
>
> In Drupal commons its' different they changed the type in submit and they do
> not use any images just the text.
> I didn't understand how they changed this, but I guessed they altered the form
> in some way.
> There's a way to alter using CSS the src field of the input?
>
> Thanks,
> Sal


More information about the support mailing list