Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2006, 09:46 PM
Authorized User
 
Join Date: Jan 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Border added to images?

I'm adding a little .gif file next to a hyper link and when I do this a Blue border is added to the graphic. Ever see this happen before? Thanks


 
Old February 21st, 2006, 05:20 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Next to a hyperlink, or inside the link (that is between the <a> tags?)

In the latter case, this is normal behavior. Images get a border when they are linked.

It's easy to remove the border:

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

Alternatively, and much better, wipe out the border for all images with the following style sheet:

img
{
  border: none;
}

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 1st, 2006, 02:28 PM
Authorized User
 
Join Date: Jan 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

now that I am understanding CSS more and more I see the benefits, that is a great idea Imar, it didn't click the first time I read it. Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
border to button rupal .NET Framework 2.0 1 November 15th, 2008 08:35 AM
Extend a border nloding CSS Cascading Style Sheets 1 September 1st, 2006 08:43 PM
Border help! Rodney Dreamweaver (all versions) 8 July 20th, 2006 03:34 PM
border around a report stoneman Access 1 June 22nd, 2005 06:14 AM
Table and border mani_he Javascript 6 January 4th, 2005 05:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.