AW: [Cartoweb-users] exportLinkIt css

Lauber Christoph ch.lauber at geo-thun.ch
Thu Jun 19 05:12:50 EDT 2008


Ciao Oliver

That is what is done by default in the plugin with top and left =0. When I change these two parameteres the output is on the bottom of my page. Here my modified css file:
#linkItBox {
  position: absolute;
  top: 50;
  left: 250;
  width: 820px;
  border: 1px solid #FF9900;
  background-color: #FFCF63;
  padding: 5px;
  z-index: 1000;
  margin:10px;
}

#linkItUrl {
  width: 800px;
  background-color: #FFFF00;
}

#linkItBox a {
  float:left;
}


Regards
Christoph

-----Ursprüngliche Nachricht-----
Von: Oliver Christen [mailto:oliver.christen at camptocamp.com] 
Gesendet: Donnerstag, 19. Juni 2008 11:05
An: Lauber Christoph; cartoweb-users at lists.maptools.org
Betreff: Re: [Cartoweb-users] exportLinkIt css


Hi Christoph
you need to set the positon absolut (and top/left/z-index) to the container, 
not the content,
in this case #linkItBox is the container

regards
Oliver

Hi Oliver

2) works fine. Thanks

1) I still got problems. Even if i specify a absolute position for the 
linkItUrl container i get the linkItBox either on the top left of the page 
or in the bottom left. Following my last try in linkIt.css
#linkItBox {
  width: 820px;
  border: 1px solid #FF9900;
  background-color: #FFCF63;
  padding: 5px;
  z-index: 1000;
  margin:10px;
}

#linkItUrl {
  position: absolute;
  top: 50;
  left: 250;
  z-index: 1100;
  width: 800px;
  background-color: #FFFF00;
}

#linkItBox a {
  float:left;
}
A side effect ist, that the linkItBox a (Link to close) is not displayed any 
more.

Any more hints for a solution?

Christoph


-----Ursprüngliche Nachricht-----
Von: Oliver Christen [mailto:oliver.christen at camptocamp.com]
Gesendet: Mittwoch, 18. Juni 2008 10:04
An: Lauber Christoph; cartoweb-users at lists.maptools.org
Betreff: Re: [Cartoweb-users] exportLinkIt css


Hi Christoph

1) A quick solution is to set an absolut position to the url container (and
specfy a some greater than 10 z-index)
2) specify a fixed width for the url container

regards
Oliver


> Hello List
>
> I have questions concerning exportLinkIt plugin of the actual CartoWeb cvs
> version.
>
> 1. I would like to display the generated URL on top of the map. But at the
> moment I change in the linkIt.css the parameters top and/or left, the
> generated URL ist displayed at the very end of my page.
>
> 2. IE displays the URL in its very length. That means that a part of the
> Text can be out of the page and i have to scroll the page to see the rest.
> The overflow:hidden; attribut is a solution but not as elegant as the
> display in firefox where just the URL Textfield is moved when I jump to
> the end of the URL and not the whole block as IE does.
>
> I know, that are css problems. But maybe anybody has a solution.
>
> Thanks
>
>
>
> Mit freundlichen Grüssen
>
>
> Christoph Lauber
>
> Dütschler & Naegeli, Vermessung+Geoinformation AG
> Fliederweg 11, Postfach, 3601 Thun
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>





More information about the Cartoweb-users mailing list