News:

Wondering if this will always be free?  See why free is better.

Main Menu

Box around pic ?

Started by edi67, August 26, 2005, 12:20:51 PM

Previous topic - Next topic

edi67

one little question about graphics:

i add one little pic near name of sections using this code after name of sections: <img src="/yabbse/Images/acc_pwd.gif"> and it work good because i see little pic after name but i see too one little box around the pic, is possible not have it?

look pic:

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Viking Chief

do this...

<img src="/yabbse/Images/acc_pwd.gif" border="0">


;)
"You can't depend on your eyes if your imagination is out of focus" -Mark Twain

edi67

Quote from: Viking Chief on August 26, 2005, 01:07:59 PM
do this...

<img src="/yabbse/Images/acc_pwd.gif" border="0">


;)

oh My god im stupid i not thought about this :) thx friend
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

edi67

#3
well another little problem about this little pic. now in upper part of main i have this sign: " /> , it appear only when i select one sections with little pic after name.

Source code begin is this:
Quote<html><head>
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
   <meta name="description" content="Musica Straniera - Music Albums Single  <img src="/yabbse/Images/acc_pwd.gif" border="0" align="middle" alt="ASSOLUTAMENTE VIETATO parlare di risorse nascoste in sezioni non aventi questo SIMBOLO">" />
   <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

there is some solution for remove it?

look pic:
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Fizzy

Hi,

see

SIMBOLO">" />


change it to


SIMBOLO" />
"Reality is merely an illusion, albeit a very persistent one." - A.E.


edi67

Quote from: Fizzy on August 27, 2005, 07:46:24 AM
Hi,

see

SIMBOLO">" />


change it to


SIMBOLO" />


well that code is a part of this in index.template.php

<meta name="description" content="', $context['page_title'], "/>

i try to remove last part of code " /> and seems it work.
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Fizzy

That would be wrong.
You have removed the closing tag on the wrong line. On the line I pointed to you now have 2 closing tags.
You need to remove the extra closing tag on the other line.

Your page is not validating as Xhtml compliant.
"Reality is merely an illusion, albeit a very persistent one." - A.E.


edi67

i understand you but how i can do differente

Name section is: Musica Straniera - Music Albums Single  <img src="/yabbse/Images/acc_pwd.gif" border="0" align="middle" alt="ASSOLUTAMENTE VIETATO parlare di risorse nascoste in sezioni non aventi questo SIMBOLO">


Lin iin index.template.php is: <meta name="description" content="', $context['page_title'], ' " />

so line begin this:

<meta name="description" content="Messaggi dallo Staff   <img src="/yabbse/Images/acc_pwd.gif" border="0" align="middle" alt="ASSOLUTAMENTE VIETATO parlare di risorse nascoste in sezioni non aventi questo SIMBOLO">" />   


so if i delete this: " /> in line of index.template.php it work correctly and not appear in page and link begin this:

<meta name="description" content="Messaggi dallo Staff   <img src="/yabbse/Images/acc_pwd.gif" border="0" align="middle" alt="ASSOLUTAMENTE VIETATO parlare di risorse nascoste in sezioni non aventi questo SIMBOLO">

please tell me you have another solution for do the same?   
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

[Unknown]

Replace:

<meta name="description" content="', $context['page_title'], '"/>

With:

<meta name="description" content="', strip_tags($context['page_title']), '"/>

-[Unknown]

edi67

Quote from: [Unknown] on August 28, 2005, 04:41:11 AM
Replace:

<meta name="description" content="', $context['page_title'], '"/>

With:

<meta name="description" content="', strip_tags($context['page_title']), '"/>

-[Unknown]

if you was one girl i will tell you ( i love you ) but coz you are man thanx thanx friend your code worked perfect  ;)
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: