Previous Message
Next Message

Calling different img tags

Sent by Richard Brown on 16 April 2007 16:04


Hi David

On 16/04/07, David Dorward [EMAIL-REMOVED]> wrote:
> On 16/04/07, Richard Brown [EMAIL-REMOVED]> wrote:
> > As you can see it is still calling the original #content img and
> > making the image to large. I did put in a different class for
> > index.php called storycontentblog and have called this via
> > .storycontentblog img
>
> #content img is more specific than .storycontentblog img and so takes priority.
>
> http://www.w3.org/TR/CSS2/cascade.html#specificity
>
Thanks for that. I actually discovered it after I had sent the
question and was about to email and say I had sorted it out. The link
is useful though.

Many thanks one again.
-- 
Rich
http://www.cregy.co.uk
Embracing what God does for you is the best thing you can do for him.
Romans 12 v 1
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: