Javascript/css/div help please!

Soldato
Joined
16 Oct 2007
Posts
7,481
Location
UK
Hi all,

I was hoping someone might be able to help me, as I'm a bit stuck with something!
I've made an interactive map to show cottage locations around an island, using simple infowindows/markers.

http://www.tresco.co.uk/about-tresco/about-tresco/mapv1413.aspx

Which works great, apart from one thing - the info windows have scroll bars!
I've reduced the image so the horizontal bars go, and could shrink it even further so the vertical ones also go, but I'd ideally like to find a way to change them properly so I can include further information within the info window.

I've heard that it might be possible to set the info window height using css/div, to a preset size, and then load the image inside the div - but to be honest, I wouldn't know where to start.

If you have any ideas, it would be great. Thanks
 
By golly Simon, that works (the padding method).

You are a star, thank you! I am in your debt
 
I'd rather modify the links than change the tresco.css, as I'd be afraid of breaking the whole site. Your method is awesome, thanks chief. Are you a JS expert?
 
I've banned all IE6 users from the site. They're just not allowed on.

So, as we have a couple of awesome people here. Anyone up for a small javascript challenge?
 
Back
Top Bottom