[opencms-dev] links on img tags

Christian Steinert christian_steinert at web.de
Tue Oct 10 21:05:49 CEST 2006


Dear Felix,

afaik this is just normal HTML behavior.
You could add a CSS style like this to your pages:

    img{border:0}


Either you include the style into a CSS section of your header (it must be the header!) or your html page or you use an extra CSS file (which is better, if you have more styles than this. Detailed information on how to embedd CSS into an HTML page is available under
  http://en.selfhtml.org/css/formate/einbinden.htm

Regards
christian


> 
> Hi all,
> 
> 
>  
> 
> 
> I guess my question is simple to answer, but I just couldn’t find a way to do it. If I set links on images in my “pages with free text”, openCMS renders a blue box around the image with the link. This obviously changes the design of the website significantly, so how do I get rid of that? My HTML looks alright, I just do something like that:
> 
> 
>  
> 
> 
> <a target="_self" href="http://www.google.com"> <img width="108" height="25" src="/opencms/opencms/playground/mypicture.jpg" alt="my picture" /></a>
> 
> 
>  
> 
> 
> Thanks,
> 
> 
> Felix
> 
> 
>  
> 
> 
>  
> 
> 
>  
> 
> -----------------------------------------------------------------
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066




More information about the opencms-dev mailing list