Is there a way to avoid the blue border around hyperlinked photos and graphics?

Options

I've noticed that starting about 4-5 months ago, every image or graphic that I hyperlink gets a blue border around it (see screenshot below). Is there any way to avoid this? It really looks odd and messes up lots of nice photographs and designs.

Thanks!

Blue Border on hyperlinked images .jpg

Tagged:

Comments

  • You bet you can - in a couple of ways.

    On the image tag itself you can specify no border like this...

    <a href="somelink"><img src="images/mypic.gif" border="0"></a>

    Or you can do it with inline styles...

    <a href="somelink"><img src="images/mypic.gif" style="border: none;"></a>

    Or in style tags in the doc's HTML Head Attributes (or even site-wide if you add the .linkedImage style to your site's CustomStyles.css document)...

    <style type="text/css">

         .linkedImage { border: none; }

    </style>

    <a href="somelink"><img src="images/mypic.gif" class="linkedImage"></a>

    <a href="otherlink"><img src="images/yourpic.gif" class="linkedImage"></a>

    Regards, Brian

    PS - If you NEVER want a border you can even style the html img tag in your styles...

    <style type="text/css">

         img { border:  none; }

    </style>

  • Brian Mucha:

    You bet you can - in a couple of ways.

    On the image tag itself you can specify no border like this...

    <a href="somelink"><img src="images/mypic.gif" border="0"></a>

    Or you can do it with inline styles...

    <a href="somelink"><img src="images/mypic.gif" style="border: none;"></a>

    Or in style tags in the doc's HTML Head Attributes (or even site-wide if you add the .linkedImage style to your site's CustomStyles.css document)...

    <style type="text/css">

         .linkedImage { border: none; }

    </style>

    <a href="somelink"><img src="images/mypic.gif" class="linkedImage"></a>

    <a href="otherlink"><img src="images/yourpic.gif" class="linkedImage"></a>

    Regards, Brian

    PS - If you NEVER want a border you can even style the html img tag in your styles...

    <style type="text/css">

         img { border:  none; }

    </style>

    Hi Brian,

    Thank you so much for the help! I just need a little clarification because I am very unfamiliar with coding and don't know how to use CSS. I'd like to choose the last option, which is to never have a border on my images, so where do I need to adjust that code? Can I do that without a CSS code or so I have to manually remove it from the HTML on each page?

    Thanks!

  • Kendra Mara:

    Hi Brian,

    Thank you so much for the help! I just need a little clarification because I am very unfamiliar with coding and don't know how to use CSS. I'd like to choose the last option, which is to never have a border on my images, so where do I need to adjust that code? Can I do that without a CSS code or so I have to manually remove it from the HTML on each page?

    Thanks!

    You can put that line in your CustomStyle.css file - which is the global style sheet for your Convio installation.

    Setup > Page Wrapper Editor > Edit CustomStyle.css

    At the bottom of the contents add the line...

    img { border: none; }

    Regards, Brian

  • Brian Mucha:

    You can put that line in your CustomStyle.css file - which is the global style sheet for your Convio installation.

    Setup > Page Wrapper Editor > Edit CustomStyle.css

    At the bottom of the contents add the line...

    img { border: none; }

    Regards, Brian

    Brian's spot on. Just wanted to point out this is a bug that will be fixed in the upcoming Summer release.

  • Kendra Mara:

    Hi Brian,

    Thank you so much for the help! I just need a little clarification because I am very unfamiliar with coding and don't know how to use CSS. I'd like to choose the last option, which is to never have a border on my images, so where do I need to adjust that code? Can I do that without a CSS code or so I have to manually remove it from the HTML on each page?

    Thanks!

    Also in the dialog box for adding/editing images, there's a field for border, where you can put "0" in.

  • Maria Margaglione:

    Also in the dialog box for adding/editing images, there's a field for border, where you can put "0" in.

    Note that in the Summer release, that option in the dialog is removed as part of the bug fix I referenced above. See the release notes for more details: http://customer.convio.com/site/News2?page=NewsArticle&id=12823&news_iv_ctrl=-1

Categories