I have link and this Link shows border
How to avoid border around link (e.g. image)
code is the following:
<STYLE>
.image1 {
vertical-align: bottom;
BORDER-STYLE: none;}
</STYLE>
and link:
<body>
<span class="image1"><a href=http://www.webdeveloper.com/forum/archive/index.php/"..."><img src="images2.gif" width="17" height="10" /></a></span>
</body>or you could just use
border="0"
inside the image tags or in the class just put
border:0px;toplisek, it's the image that has the border, not the span element. Therefore you will have to create a selector that singles out the image:.image1 img{
vertical-align: bottom;
border: 0;
}For your markup, you'd need this in the CSS:
.image1 img {
border: none;
vertical-align: bottom;
}
Or, you could just generalize it for all images which are links as:
a img {
border: none;
vertical-align: bottom;
}
In either case, you really don't need the <span> tags, just apply the class to the <a> tag in the first case, or in the 2nd you don't even have to apply a class to anything.Try the following
<span class="image1">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"..." BORDER="0"><img src="images2.gif" width="17" height="10"></a>
</span>
In which case you shouldn't need the border specifications in your stylingwow...guess a few others got to that one already, lolThanks to all replies. It worksTry the following
<span class="image1">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"..." BORDER="0"><img src="images2.gif" width="17" height="10"></a>
</span>
In which case you shouldn't need the border specifications in your styling
The preferred method these days is to use HTML markup to describe the meaning of the text, and CSS styling for the visual display. Thus you should be looking to do the opposite: moving border specifications out of the HTML and into the CSS.If I'm correct that means ,meaning of the text' the name of image (alt)in this case?The preferred method these days is to use HTML markup to describe the meaning of the text, and CSS styling for the visual display. Thus you should be looking to do the opposite: moving border specifications out of the HTML and into the CSS.
well there ya go...
How to avoid border around link (e.g. image)
code is the following:
<STYLE>
.image1 {
vertical-align: bottom;
BORDER-STYLE: none;}
</STYLE>
and link:
<body>
<span class="image1"><a href=http://www.webdeveloper.com/forum/archive/index.php/"..."><img src="images2.gif" width="17" height="10" /></a></span>
</body>or you could just use
border="0"
inside the image tags or in the class just put
border:0px;toplisek, it's the image that has the border, not the span element. Therefore you will have to create a selector that singles out the image:.image1 img{
vertical-align: bottom;
border: 0;
}For your markup, you'd need this in the CSS:
.image1 img {
border: none;
vertical-align: bottom;
}
Or, you could just generalize it for all images which are links as:
a img {
border: none;
vertical-align: bottom;
}
In either case, you really don't need the <span> tags, just apply the class to the <a> tag in the first case, or in the 2nd you don't even have to apply a class to anything.Try the following
<span class="image1">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"..." BORDER="0"><img src="images2.gif" width="17" height="10"></a>
</span>
In which case you shouldn't need the border specifications in your stylingwow...guess a few others got to that one already, lolThanks to all replies. It worksTry the following
<span class="image1">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"..." BORDER="0"><img src="images2.gif" width="17" height="10"></a>
</span>
In which case you shouldn't need the border specifications in your styling
The preferred method these days is to use HTML markup to describe the meaning of the text, and CSS styling for the visual display. Thus you should be looking to do the opposite: moving border specifications out of the HTML and into the CSS.If I'm correct that means ,meaning of the text' the name of image (alt)in this case?The preferred method these days is to use HTML markup to describe the meaning of the text, and CSS styling for the visual display. Thus you should be looking to do the opposite: moving border specifications out of the HTML and into the CSS.
well there ya go...