[map module 0.5e] IE strikes again

dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Sun, 2006-03-26 21:28

some ie problems ive run into recently not sure if they are entire bugs or maybe related to my theme.
First positioning the Legend on the right was borked in ie, adding a #legend {float:right;} to the maps css fixed it.

The dropdown box for filters is way to wide in ie when choosing right alignment?(it takes up half the screen)and from what Ive read you cannot style dropdown boxes in css it has to be done withing the form tags. I could not find it in mapfilteradmin.tpl so it currently looks awful in ie. The first entry defines the size of the box but I couldnt find where thats shown. Looks fine in ff. See screen shot below.
I also had to float:right; the filter block in ie since my width overlapped it.

Also is there a way to change the first item in the dropdown, currently it says "default", Id rather it show "World Map" or something, I could not find where to change default in any of the files.

AttachmentSize
filter.GIF38.05 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2006-03-26 22:02
dotnature wrote:
The dropdown box for filters is way to wide in ie when choosing right alignment?(it takes up half the screen)and from what Ive read you cannot style dropdown boxes in css it has to be done withing the form tags.

Look in templates/blocks/map.tpl
<select style="width:75%;"
you might want to play with the width value. I _THINK_ it will be 75% of the cell that it is in......not sure.

I have not played with it much. If you take the style out it "_should_" be as wide as nessasary.

Dave

 
dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Sun, 2006-03-26 22:51

Thanks I would have never looked in there, that worked perfectly I just took the style out completely, I still had to edit the css for ie. I think your right it was taking the td width which is set as 200px, I took that out too don't see a reason for it being in there.

Any ideas where that default "default" is coming from?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2006-03-27 00:54
dotnature wrote:
Any ideas where that default "default" is coming from?

Not sure. I would like to change the text as well.
Let me dig...unless there is somebody else....

Dave

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2006-03-27 02:38
dotnature wrote:
Any ideas where that default "default" is coming from?

Yep created in callback.inc when creating the filter list :-). It permits to get nack to the "default" map which displays all markers :-)