How to remove a link frame If you are engaged in construction of websites, then should consider settings of display of pages in browsers of visitors. In particular, the pictures placed in tags of links by default circle browsers with a blue frame width in

How to remove a link frame If you are engaged in construction of websites, then should consider settings of display of pages in browsers of visitors. In particular, the pictures placed in tags of links by default circle browsers with a blue frame width in

Digital Hits: 71

Can use and to the style attributes - these options are equivalent. With the style attribute and null value of border specified in it the same code will look so: <href= "" / ""> When using the style attribute (0px) can replace null value with text ""none"" (without quotes). 2. If it is required to prevent emergence of a frame in all pictures with links placed in the page, then it is simpler to make it in one place of the HTML-code. For this purpose (between the tags and ) should place the description of styles of the page with the general rule for all links in a heading part of the document. It is possible to write this rule so: img {border: none; } it should be placed in the tag reporting to the browser that here the description of styles in the CSS language is placed: 3. If you use in the JavaScript-scripts page which perform any operations at click on the text reference without transition to other page, then after click in some browsers and around the text reference there is a similar dotted frame. To prevent also this unauthorized change of your design, add the corresponding rule for text references to CSS block descriptions of styles:

Author: «MirrorInfo» Dream Team

Print