Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Sonic-Prophet - joulukuu 29, 2005, 07:55:33 IP

Otsikko: Image borders
Kirjoitti: Sonic-Prophet - joulukuu 29, 2005, 07:55:33 IP
I've searched through the help files, & can't find any relevant info on the topic, so here goes. All I want to do is insert a small snippet of code so that image links on our forum show up with no borders. Can anyone tell me where in here I can insert  border="0"? Everywhere I try to put it, it screws up the whole header section. Here's the code from the header section of our forum:


<td width="49%">
<p align="left" class="pageheader">
<a href="http://montrealmusiciansonline.com" target="_blank">
< img src="', $settings['images_url'], '/mmobanner.jpg"/>
</a>
</p>
</td>
Otsikko: Re: Image borders
Kirjoitti: Sheepy - joulukuu 30, 2005, 07:35:35 AP
Change to:

<td width="49%">
<p align="left" class="pageheader">
<a href="http://montrealmusiciansonline.com" target="_blank">
< img src="', $settings['images_url'], '/mmobanner.jpg" style="border: 0 none"/>
</a>
</p>
</td>