Advertisement:

Author Topic: Pozadinska slika citata ("[quote][/quote]")...  (Read 9518 times)

Offline [S]ETI_explorer

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
  • If I had eight hours to chop down a tree, I'd spend six hours sharpening my axe.
    • Pentesting RS
Pozadinska slika citata ("[quote][/quote]")...
« on: September 25, 2007, 04:32:55 PM »
 Video sam da na nekim SMF forumima umesto jednobojne pozadine nekog citiranog teksta stoji slika (obicno nekakvi znaci navoda). Uradio bih to kod sebe..

 Kako ? ??? ::)
« Last Edit: September 27, 2007, 03:06:18 PM by SETI_explorer »

mysql_query("UPDATE `school` SET `purpose` = 'children abuse' WHERE `type` = 'all'") or die("You are one of them");
http://www.elitesecurity.org/t370624-Zahvalnica-SETI-explorer
Follow me on Twitter

Offline MarkoWeb

  • SMF Hero
  • ******
  • Posts: 2,690
  • Gender: Male
    • A2-Soft.Com - Web Portal
Re: Pozadinska slika citata ("[quote][/quote]")...
« Reply #1 on: September 25, 2007, 07:27:28 PM »
imas u klasi taj deo za citiranje...
dodas u klasu pozadinu i to je to

Offline [S]ETI_explorer

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
  • If I had eight hours to chop down a tree, I'd spend six hours sharpening my axe.
    • Pentesting RS
Re: Pozadinska slika citata ("[quote][/quote]")...
« Reply #2 on: September 26, 2007, 05:24:52 AM »

 Sorry for stupido, ali sta je "klasa"  ::)

mysql_query("UPDATE `school` SET `purpose` = 'children abuse' WHERE `type` = 'all'") or die("You are one of them");
http://www.elitesecurity.org/t370624-Zahvalnica-SETI-explorer
Follow me on Twitter

Offline MarkoWeb

  • SMF Hero
  • ******
  • Posts: 2,690
  • Gender: Male
    • A2-Soft.Com - Web Portal
Re: Pozadinska slika citata ("[quote][/quote]")...
« Reply #3 on: September 26, 2007, 05:55:15 AM »
evo recimo da uzmemo ovaj sajt za primer.
css ovde izgleda ovako:
http://www.simplemachines.org/community/Themes/smsite/style.css

ovi delovi se odnose na citat i na code
Code: [Select]
.quote
{
background: url(images/quote_bg.png) 5px 5px no-repeat #F0F3FC;
border: 1px solid #AAA;
margin: 1px;
padding: 5px 5px 5px 28px;
font-size: x-small;
line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
color: #000000;
background-color: #dddddd;
font-family: "courier new", "times new roman", monospace;
font-size: x-small;
line-height: 1.3em;
/* Put a nice border around it. */
border: 1px solid #000000;
margin: 1px auto 1px auto;
padding: 5px;
width: 95%;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
color: #000000;
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
line-height: 1.2em;
}

i tu dodas:
background: url(images/zzz.jpg);

i sad je na tebi da se igras sa css-om
imas ovde sve lepo obajsnjeno
http://www.w3schools.com/css/default.asp

PS. klasa je ovo sa
.xxx {
dddd
}

Offline [S]ETI_explorer

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
  • If I had eight hours to chop down a tree, I'd spend six hours sharpening my axe.
    • Pentesting RS
Re: Pozadinska slika citata ("[quote][/quote]")...
« Reply #4 on: September 26, 2007, 06:19:04 AM »
 Mnogo hvala Mare :)

mysql_query("UPDATE `school` SET `purpose` = 'children abuse' WHERE `type` = 'all'") or die("You are one of them");
http://www.elitesecurity.org/t370624-Zahvalnica-SETI-explorer
Follow me on Twitter