OS OpenSpace [logo]

OS OpenSpace Forum » OS OpenSpace » OpenSpace Forum

Thread: White Columns on Map

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Pages: 1 - Last Post: 04-Aug-2011 14:13 by: Navanti Threads: [ Previous | Next ]
Navanti

Posts: 2
Registered: 02/08/11
White Columns on Map
Posted: 04-Aug-2011 13:09
  Click to reply to this thread Reply

Hi there

I have created a walking route for our Wordpress blog but white columns are displaying on the map. I have tested using Firefox 5.0.1 and Safari 4.0.5. The live page is:

http://blog.navanti.co.uk/walks/route-south-west-coast-path-near-padstow/

I think the problem is related to the one in this post, I have tried editing the css and adding div tags (now removed) and it didn't fix the problem:

https://openspace.ordnancesurvey.co.uk/openspaceforum/thread.jspa?threadID=1133&tstart=45

I'm using Wordpress 3.2.1 and using the Raw HTML plugin following the instructions posted here:

https://openspace.ordnancesurvey.co.uk/openspaceforum/thread.jspa?threadID=571&tstart=0

If anyone has any suggestions how I can fix this I would be very grateful. I'm not brilliant with HTML and CSS so if they could be quite simple suggestions even better!

Thank you in advance

Matthew

rgphilpott

Posts: 146
Registered: 18/06/12
Re: White Columns on Map
Posted: 04-Aug-2011 13:38   in response to: Navanti
  Click to reply to this thread Reply

Yep, it's very similar.

The style of the map img elements is being set by a stylesheet that applies to the whole page, which includes:

.entry-content img, .comment-content img, .widget img {
max-width: 97.5%;
}

This means that only 195 of 200px of the map tiles are shown. If you can't change this without breaking other things, I suggest you try the same fix as in the other thread, which in this case would be:

div#map img {
max-width: 100%;
}


Richard.

Navanti

Posts: 2
Registered: 02/08/11
Re: White Columns on Map
Posted: 04-Aug-2011 14:13   in response to: rgphilpott
  Click to reply to this thread Reply

Brilliant!

Thank you very much Richard. I tried margins, padding etc without success and that explains why!

Thanks again.

Matthew

Legend
Expert: 51 - 1000 pts
Advanced: 31 - 50 pts
Intermediate: 16 - 30 pts
Novice: 5 - 15 pts
Newbie: 0 - 4 pts
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums