Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
blue border around image
Old 02-10-2009, 04:30 PM blue border around image
Junior Talker

Posts: 3
Trades: 0
I have uploaded several images to my website. I user Dreamweaver CS4. I wanted to use those images as hyperlinks. I wanted to see a bigger picture of the same image when i click over it.

On the properties bar on Dreamweaver I input the exact path of the bigger image (located on my 'images' folder) in the Link field.

It works fine. The problem is that now it shows an annoying blue border around the small image.

Anybody knows how to take away that blue border?

Thanks a lot,
livehho is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-10-2009, 05:00 PM Re: blue border around image
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Code:
<img src="duck.jpg" style="border: 0px;" />

<style type="text/css">
img{border:0px;}
</style>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-10-2009, 05:30 PM Re: blue border around image
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by Decaf View Post
Code:
<img src="duck.jpg" style="border: 0px;" />

<style type="text/css">
img{border:0px;}
</style>

Thanks a lot. Where should I put that? in the body?

I am just beginning to learn web design. sorry for the stupid questino
livehho is offline
Reply With Quote
View Public Profile
 
Old 02-11-2009, 09:38 AM Re: blue border around image
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
use CSS, and you put this in a separate CSS file, called in your html page

CSS file contains:
Quote:
img{
border: 0;
}

That will remove the border from ALL images
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-11-2009, 12:16 PM Re: blue border around image
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by LadynRed View Post
use CSS, and you put this in a separate CSS file, called in your html page

CSS file contains:



That will remove the border from ALL images
thanks. but where in the body should I paste it?
livehho is offline
Reply With Quote
View Public Profile
 
Old 02-11-2009, 12:52 PM Re: blue border around image
Ultra Talker

Posts: 250
Trades: 0
You dont have to use CSS
You can just go with the <img src="duck.jpg" border="0">
At least that will get rid of the blue border around it.
But its 'better' to use CSS. (More compatible)

Create a new file called style.css and link to it in yr HTML.
Like this.
<link href="www.yourwebsite/style.css" rel="stylesheet" type="text/css">
Obviously just make sure its got this bit in it.

img{
border: 0;
}


Or you can include it in with the HTML on your page.
Just view the source code of this webpage to see it in action.
MofoDog is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to blue border around image
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29463 seconds with 12 queries