-
image as a link with no border
Hi guys
example
<a href> image </a>
and have the image with no border?? i do not want the blue/purple default border.
i tried giveing it a class with no border etc but could not get working
is this possible and how?
thanx!
-
-
-
Better :
Code:
a img {
border:0;
}
-
thanx BonRouge,
will try that out too.
what would the class be in my xhtml?
<a href ..... class="img"> ???
something like that?? sorry little rusty
-
No. That's all. 'img' is the selector for images. We use 'p' for paragraphs, 'div' for divisions and 'img' for images.
-
ok i see,
yeah i knew:
'img' is the selector for images. We use 'p' for paragraphs, 'div' for divisions and 'img' for images
alreay.
ok, so.. this bit of code will give all images in a a href tag no borders?
is that correct?
a img {
border:0;
}
Cheers!
-
-
cool thanx for that
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks