1 reply [Last post]
Premo's picture
Last seen: 10 years 2 weeks ago
Timezone: GMT+10
Joined: 2013-05-21
Posts: 1
Points: 2

Hi, On my site I have lots of images going down the center of the page. I was having problems with the width of the images. So I added #content img { width: 550px; }

That fixed the problem. But caused another problem.. Now my captcha is huge (550px Wide) and other little images like the email img ect..

What I want to be able to do is still have that "#content img { width: 550px; }" Because that works perfect for the site. But to also have my captcha images ect stay at there normal size.

How can I make this happen?


Hugo's picture
Last seen: 8 years 21 weeks ago
Joined: 2004-06-06
Posts: 15668
Points: 2806

Find a parent element closer

Find a parent element closer to the img element, #content suggests too broad an ancestral element. If this is WP then try .post img or .entry etc if the captcha is within those bounds then you'll have to try re-setting the captcha img using it's classes if it has them.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me