Donate!

Who's Online

We have 4 guests online

Latest Comments

JoomlaBear Forums
Welcome, Guest
Please Login or Register.
Lost Password?
Blue Border around images when linking (1 viewing)
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: Blue Border around images when linking
#34
johnmc (User)
Senior Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Blue Border around images when linking 2007/09/10 22:19 Karma: 0  
Hi,

Great work on setting up the forum joomlabear!

Was hoping somebody could help me with an unwanted blue border that appears around my images when I have them link to somewhere. I don't want any border to appear.

Example at:

http://www.editexcel.com/nisus/index.php? option=com_content&task=section&id=4&Itemid=27

I've had a go at changing some css but can't get it working. Any ideas?

Many thanks in advance,

johnmc
  The administrator has disabled public write access.
#37
Bambi (User)
Platinum Boarder
Posts: 75
graphgraph
User Offline Click here to see the profile of this user
Re:Blue Border around images when linking 2007/09/11 01:26 Karma: 3  
Sites Looking good!.
If you're coding I'd try

<img href="images/image.jpg" border="0" />

Or in the CSS file try

img {
border: 0px;
}

The latter would be the smarter way.

Post edited by: Bambi, at: 2007/09/11 01:28
  The administrator has disabled public write access.
#38
Big Bear (Admin)
Admin
Posts: 214
graph
User Online Now Click here to see the profile of this user
Re:Blue Border around images when linking 2007/09/11 04:09 Karma: 17  
If you are inserting the image into a content item with the WYSIWYG editor it often defaults to a 1px border - Just set the border to 0 when you insert the image.

We use JCE as our editor: http://extensions.joomla.org/component/ option,com_mtree/task,viewlink/link_id,88/ Itemid,35/

Have also found TinyFCK to be quite good for a slim editor:
http://extensions.joomla.org/component/ option,com_mtree/task,viewlink/link_id,1626/ Itemid,35/
  The administrator has disabled public write access.
#39
johnmc (User)
Senior Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Blue Border around images when linking 2007/09/11 11:59 Karma: 0  
Big Bear wrote:
If you are inserting the image into a content item with the WYSIWYG editor it often defaults to a 1px border - Just set the border to 0 when you insert the image.


Thanks! Works perfectly. I knew I must be missing something obvious - now I know!
  The administrator has disabled public write access.
#40
johnmc (User)
Senior Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Blue Border around images when linking 2007/09/11 12:01 Karma: 0  
Bambi wrote:
Sites Looking good!.
If you're coding I'd try

<img href="images/image.jpg" border="0" />

Or in the CSS file try

img {
border: 0px;
}

The latter would be the smarter way.<br><br>Post edited by: Bambi, at: 2007/09/11 01:28


Thanks for the tip - and the compliment about the site. It's not there yet, but it's going in the right direction.

I've used the simpler suggestion from below, but will keep yours in mind for future.

Best,

Johnmc
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
Powered by FireBoardget the latest posts directly to your desktop