3 replies [Last post]
ro88o
ro88o's picture
Offline
Enthusiast
Manchester, UK
Last seen: 13 years 11 weeks ago
Manchester, UK
Joined: 2005-06-29
Posts: 202
Points: 0

Hi,

I'm making a page at http://www.nubornis.com/joomla and at the bottom of the front page I have two sections called latest blogs and latest news, the code for both is pretty similar and looks like this (the CSS will eventually be moved to the CSS file of course!)...


Latest Blogs
<?php mosLoadModules ( 'user6', -2); ?>


In firefox the 'latest blogs' image is displayed at the top of the box and over the border which is how I want it, if viewed in IE 6 the browser cuts off half the image because it goes outside its containing div. How do I get IE 6 to display the image the same way FF does?

Thanks for your help Smile
Tom

www.nubornis.com
Web Development and E-commerce Solutions.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 29 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

They should work /stack over

They should work /stack over the div if you add position:relative to the image. You may want to add some classes in there somewhere to aid targeting specific elements though.

Suppose you could also set the images as position absolute if their parent was positioned relative then just give them a negative top offset.

Hugo.

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

ro88o
ro88o's picture
Offline
Enthusiast
Manchester, UK
Last seen: 13 years 11 weeks ago
Manchester, UK
Joined: 2005-06-29
Posts: 202
Points: 0

Brilliant I've stuck the

Brilliant Smile I've stuck the position:relative in there and it works a treat. Cheers Hugo.

www.nubornis.com
Web Development and E-commerce Solutions.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 29 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Good stuff.

Good stuff.

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