Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Корзина » цвет в объявлении


цвет в объявлении

Сообщений 1 страница 7 из 7

1

Привет)
Вставил вот этот код в Объявление в таблицу, которую тут же где то у вас взял

Код:
<!-Weather in Tokyo, Japan on your site - HTML code - weatherforecastmap.com --><div align="center"><script src="http://www.weatherforecastmap.com/weather2.php?zona=japan_tokyo"></script><a title="forecast in Tokyo" href="http://www.weatherforecastmap.com/japan/tokyo" >Forecast for Tokyo</a></div>
<!-end of code-->

Получилось не видно : белый текст на белом фоне,

а когда этот же код поставил в "вверх", то стало видно, как можно в таблице сделать видно?

Отредактировано Nik01 (Чт, 17 Фев 2011 18:13:24)

0

2

Nik01
Здравствуйте.

Nik01 написал(а):

Получилось не видно : белый текст на белом фоне

Код:
<div align="center" id="weather">
<script src="http://www.weatherforecastmap.com/weather2.php?zona=japan_tokyo"></script>
<a title="forecast in Tokyo" href="http://www.weatherforecastmap.com/japan/tokyo" >Forecast for Tokyo</a>
</div>
<style type="text/css">
#weather * {
color: red !important;
}
</style>

0

3

Спасибо) помогло.
Подскажите еще, пожалуйста, как цвет ссылок в таблице изменить? с синего на оранжевый, не могу найти что за него тут отвечает : (код самой таблицы)

Код:
<style>
#table_01 {
  margin: 0px 0 0px 0px;
  width:648px;
  height:434px;
  background: url() left top no-repeat;
}
 /* Стиль всплывающего меню */
div .splLink {width: 100px; height: 40px; border: 0px solid #FFD700; text-align: center; font-family: Gothic century; font-size: 15px; padding: 5px;}
.spll {position:relative; width: 130px; height: 70px;  margin: 0 0 60px -40px!important; }
.spll div .splCont {height: auto; width: 224px; background: #D2B48C; padding: 5px; z-index: 1000; margin-top: 5px; border: 2px solid #D2B48C; font-size: 12px; font-family: Lucida Sans Unicode; text-align: center;}

#pun-announcement.section .container .html-box center table tbody tr td .spll div .splCont {background-color: transparent !important; background-image: url("http://savepic.org/804123.png"); 
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;

     box-shadow:0px 5px 14px #8B6C52;
    -webkit-box-shadow:0px 5px 14px #8B6C52;
    -khtml-box-shadow:0px 5px 14px #8B6C52;
    -moz-box-shadow:0px 5px 14px #8B6C52;
    /*text-shadow: #FFFFFF 1px 1px 4px !important;
    color: #color: #000000 !important;*/
    }
 /* Прозрачка в Всплывающем меню */
#pun-announcement.section .container .html-box center table tbody tr td .spll div .splCont:first-letter {
    font-family: "Times New Roman", Times, serif; /* Гарнитура шрифта первой буквы */
    font-size: 200% !important; /* Размер шрифта первого символа */
    color: red; /* Красный цвет текста */
   } /* Конец Стиля всплывающего меню */
</style>
<center>
<table align="center" id="table_01" border="0">
 <tbody  id="tbody_01">
  <tr>
   <td  align="left" style="padding-left: 50px; width:33%;height:80%;" cellspacing="0"> 

	<table id="abl" cellspacing="0" cellpadding="0" style="width:100%;  height:340px;">

	   <tr><td border="0"  style="height:220px;" cellspacing="0">
<div style="top: -25px!important;"class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1651508.png"  style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none; position: absolute;" class=splCont jQuery1259073801391="5">
	    <div  align="center" width="217" style="margin: -3px 3px 3px 0; height: 137px; padding:0; overflow-y: auto" > 
  <center style="width:200px;"> 
<!--Администрация == Начало Заполнения пункта -->
Админ всея Икебукуро
<br/><a target="_blank" href=" http://dyurarara.anihub.ru/profile.php?id=2"><img src="http://s42.radikal.ru/i095/1102/15/1217419000f5.jpg" ></a><br/>


<!--ХХ Конец Заполнения пункта -->
	    </div> 
</DIV></DIV></div>

	  </td></tr><tr><td style="width:100%; height:112px;">


<div  style="top: 10px!important;" class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1677129.png"  style="cursor:pointer; cursor:hand;" /></div>
<DIV style="DISPLAY: none; position: absolute;" class=splCont jQuery1259073801391="5">

<!-- Навигация == Начало Заполнения пункта -->

<a href="http://dyurarara.anihub.ru/viewtopic.php?id=2#p3 ">Общие правила.</a><br>
<a href="http://dyurarara.anihub.ru/viewtopic.php?id=2#p5 ">Список персонажей.</a><br>
<a href="http://dyurarara.anihub.ru/viewtopic.php?id=2#p4 ">Шаблон анкеты для канонов. </a><br>
<a href=" ">Шаблон анкеты для неканонов.</a><br>
<a href=" ">Сюжет.</a><br>
<a href=" ">Чтобы не потеряться </a><br>
<a href=" http://dyurarara.anihub.ru/viewtopic.php?id=3 ">Комната отдыха.</a><br>




<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr>
	</table>

   </td>
   <td  align="center" style="width:37%; height:80%;">

	<table id="ab2" cellspacing="0" border="0" cellpadding="0" style="width:100%;height:340px;">

	   <tr><td align="center" style="height:70px;" cellspacing="0" cellpadding="0">

<marquee id="abc" width="100%" direction="left" behavior="scroll" scrollamount="2" onmouseout="document.all.abc.start()" onmouseover="document.all.abc.stop()"><span style="color: #ff8317; text-shadow: #2E3E4D -1px -1px 2px;"><span style="font-size: 24px"><span style="font-family: Times New Roman"><span style="font-style: italic"><strong>

<!--Бегущая строка 1 == Начало Заполнения пункта -->

Durarara!! Durarara!! Durararararara!!!!!

<!--ХХ Конец Заполнения пункта -->
</strong></span></span></span></span></marquee>

	  </td></tr><tr><td align="center" style="width:243%; height:277px;">


<div class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1668916.png"  style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none;  color: #A7F0F2/*F2C181*/; text-shadow:#000 1px 1px 1px; position: absolute;" class=splCont jQuery1259073801391="5">

<!-- События на ролевой == Начало Заполнения пункта -->

Итак, прошло уже несколько месяцев с тех пор как Кида и Саки покинули Икебукуро. Неожиданно для всех (за исключением Орихары Изаи) парочка возвращается.


Посмотрим,что будет дальше..<br><br><br><br>

<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr>
	</table>
   </td> 
   <td  align="center" style="height:80%;">
	<table id="ab3" cellspacing="0" border="0" cellpadding="0" style="width:100%; height:340px;">

	   <tr><td align="left" style="height:220px;" cellspacing="0" cellpadding="0">

<div  style="left: 45px;" class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1650484.png"  style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none; position: absolute;" class=splCont jQuery1259073801391="5">

<!-- Погода и Время == Начало Заполнения пункта -->

•	В Икебукуро  14 февраля…<br>
•	Время  18.00 – 20.00 <br>
•	Погода

<div align="center" id="weather">
<script src="http://www.weatherforecastmap.com/weather2.php?zona=japan_tokyo"></script>
<a title="forecast in Tokyo" href="http://www.weatherforecastmap.com/japan/tokyo" >Forecast for Tokyo</a>
</div>
<style type="text/css">
#weather * {
color: black !important;
}
</style>




<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr><tr><td align="left" style="width:100%; height:112px;">

<div style="left: 33px;" class="spll">
<DIV jQuery1259073801391="4"><div class=splLink  href="javscript://" jQuery1259073801391="2"><img src="http://savepic.org/821550.png" style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none; color: #D8FF0D/**/; text-shadow:#0000ff 1px 1px 1px; position: absolute; margin: 40px -25px 0 25px!important;"" class=splCont jQuery1259073801391="5">

<!-- Важная Информация == Начало Заполнения пункта -->



<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr>
	</table>

   </td>
   </tr><tr><td  colspan="3" align="center" style="width:100%;height:17%;">
   
<marquee id="abs" style="width:97%;margin-left:7px;" direction="left" behavior="scroll" scrollamount="2" onmouseout="document.all.abs.start()" onmouseover="document.all.abs.stop()"><span style="color: #ff8317; text-shadow: #2E3E4D -1px -1px 2px;"><span style="font-size: 24px"><span style="font-family: Times New Roman"><span style="font-style: italic"><strong>

<!--Бегущая строка 2== Начало Заполнения пункта -->

Приветствуем тебя гость! Сейчас ты находишься на странице форумной ролевой игры "Durarara! Continued...
Не поленись. Зарегистрируйся и вливайся в наши ряды. Durarara!

<!--ХХ Конец Заполнения пункта -->
</strong></span></span></span></span></marquee>
   </td>
  </tr>
 </tbody>
</table>
</center>
<!--Спойлер - контейнер-->
<script type="text/javascript" src="http://szenprogs.ru/scripts/jquery-1.3.2.js"></script>
<script type="text/javascript">
  $(document).ready(function(){
    $('.splLink').click(function(){
      $(this).parent().children('div.splCont').toggle('normal');
      return false;
    });
  });
</script>

Отредактировано Nik01 (Пт, 18 Фев 2011 21:44:37)

0

4

Nik01 написал(а):

Спасибо) помогло.Подскажите еще, пожалуйста, как цвет ссылок в таблице изменить? с синего на оранжевый, не могу найти что за него тут отвечает : (код самой таблицы)

Код:
	<!--============== Таблички для /Olik =========== -->
<style>
#table_01 {
  margin: 0px 0 0px 0px;
  width:648px;
  height:434px;
  background: url() left top no-repeat;
}
#table_01 a{
 color:#FF8317;
 text-shadow:#000 1px 1px 1px;
}
#table_01 img{
 padding:6px;
}
#table_01 a:hover{
 color:#993300;
}
 /* Стиль всплывающего меню */
.splLink {width: 100px; height: 40px; border: 0px solid #FFD700; text-align: center; font-family: Gothic century; font-size: 15px; padding: 5px;}
.spll {position:relative; width: 130px; height: 70px;  margin: 0 0 60px -40px!important; }
.spll div .splCont {height: auto; width: 224px; background: #D2B48C; padding: 5px; z-index: 1000; margin-top: 5px; border: 2px solid #D2B48C; font-size: 12px; font-family: Lucida Sans Unicode; text-align: center;}

.spll div .splCont {background-color: transparent !important; background-image: url("http://savepic.org/804123.png"); 
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;

     box-shadow:0px 5px 14px #8B6C52;
    -webkit-box-shadow:0px 5px 14px #8B6C52;
    -khtml-box-shadow:0px 5px 14px #8B6C52;
    -moz-box-shadow:0px 5px 14px #8B6C52;
    /*text-shadow: #FFFFFF 1px 1px 4px !important;
    color: #color: #000000 !important;*/
    }
 /* Прозрачка в Всплывающем меню */
.splCont:first-letter,.splCont p:first-letter{
    font-family: "Times New Roman", Times, serif; /* Гарнитура шрифта первой буквы */
    font-size: 200% !important; /* Размер шрифта первого символа */
    color: red; /* Красный цвет текста */
   } /* Конец Стиля всплывающего меню */
</style>
<center>
<table align="center" id="table_01" border="0">
 <tbody  id="tbody_01">
  <tr>
   <td  align="left" style="padding-left: 50px; width:33%;height:80%;" cellspacing="0"> 

	<table id="abl" cellspacing="0" cellpadding="0" style="width:100%;  height:340px;">

	   <tr><td border="0"  style="height:220px;" cellspacing="0">
<div style="top: -25px!important;"class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1651508.png"  style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none; position: absolute;" class=splCont jQuery1259073801391="5">
	    <div  align="center" width="217" style="margin: -3px 3px 3px 0; height: 147px; padding:0; overflow-y: auto" > 
  <center style="width:200px;"> 
<!--Администрация == Начало Заполнения пункта -->

<a target="_blank" href=" http://dyurarara.anihub.ru/profile.php?id=2"><img src="http://s42.radikal.ru/i095/1102/15/1217419000f5.jpg" height="110" ></a>
<p><b>Админ всея Икебукуро</b></p>



<!--ХХ Конец Заполнения пункта -->
	    </div> 
</DIV></DIV></div>

	  </td></tr><tr><td style="width:100%; height:112px;">


<div  style="top: 10px!important;" class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1677129.png"  style="cursor:pointer; cursor:hand;" /></div>
<DIV style="DISPLAY: none; position: absolute;" class=splCont jQuery1259073801391="5">

<!-- Навигация == Начало Заполнения пункта -->

<a href="http://dyurarara.anihub.ru/viewtopic.php?id=2#p3 ">Общие правила.</a><br>
<a href="http://dyurarara.anihub.ru/viewtopic.php?id=2#p5 ">Список персонажей.</a><br>
<a href="http://dyurarara.anihub.ru/viewtopic.php?id=2#p4 ">Шаблон анкеты для канонов. </a><br>
<a href=" ">Шаблон анкеты для неканонов.</a><br>
<a href=" ">Сюжет.</a><br>
<a href=" ">Чтобы не потеряться </a><br>
<a href=" http://dyurarara.anihub.ru/viewtopic.php?id=3 ">Комната отдыха.</a><br>




<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr>
	</table>

   </td>
   <td  align="center" style="width:37%; height:80%;">

	<table id="ab2" cellspacing="0" border="0" cellpadding="0" style="width:100%;height:340px;">

	   <tr><td align="center" style="height:70px;" cellspacing="0" cellpadding="0">

<marquee id="abc" width="100%" direction="left" behavior="scroll" scrollamount="2" onmouseout="document.all.abc.start()" onmouseover="document.all.abc.stop()"><span style="color: #ff8317; text-shadow: #2E3E4D -1px -1px 2px;"><span style="font-size: 24px"><span style="font-family: Times New Roman"><span style="font-style: italic"><strong>

<!--Бегущая строка 1 == Начало Заполнения пункта -->

Durarara!! Durarara!! Durararararara!!!!!

<!--ХХ Конец Заполнения пункта -->
</strong></span></span></span></span></marquee>

	  </td></tr><tr><td align="center" style="width:243%; height:277px;">


<div class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1668916.png"  style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none;  color: #A7F0F2/*F2C181*/; text-shadow:#000 1px 1px 1px; position: absolute;" class=splCont jQuery1259073801391="5">

<!-- События на ролевой == Начало Заполнения пункта -->

Итак, прошло уже несколько месяцев с тех пор как Кида и Саки покинули Икебукуро. Неожиданно для всех (за исключением Орихары Изаи) парочка возвращается.


Посмотрим,что будет дальше..<br><br><br><br>

<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr>
	</table>
   </td> 
   <td  align="center" style="height:80%;">
	<table id="ab3" cellspacing="0" border="0" cellpadding="0" style="width:100%; height:340px;">

	   <tr><td align="left" style="height:220px;" cellspacing="0" cellpadding="0">

<div  style="left: 45px;" class="spll">
<DIV jQuery1259073801391="4"><div class=splLink href="javscript://" jQuery1259073801391="2"><img src="http://savepic.ru/1650484.png"  style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none; position: absolute;" class=splCont jQuery1259073801391="5">

<!-- Погода и Время == Начало Заполнения пункта -->

•	В Икебукуро  14 февраля…<br>
•	Время  18.00 – 20.00 <br>
•	Погода

<div align="center" id="weather">
<script src="http://www.weatherforecastmap.com/weather2.php?zona=japan_tokyo"></script>
<a title="forecast in Tokyo" href="http://www.weatherforecastmap.com/japan/tokyo" >Forecast for Tokyo</a>
</div>
<style type="text/css">
#weather * {
color: black !important;
}
</style>




<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr><tr><td align="left" style="width:100%; height:112px;">

<div style="left: 33px;" class="spll">
<DIV jQuery1259073801391="4"><div class=splLink  href="javscript://" jQuery1259073801391="2"><img src="http://savepic.org/821550.png" style="cursor:pointer; cursor:hand;"/></div>
<DIV style="DISPLAY: none; color: #D8FF0D/**/; text-shadow:#0000ff 1px 1px 1px; position: absolute; margin: 40px -25px 0 25px!important;"" class=splCont jQuery1259073801391="5">

<!-- Важная Информация == Начало Заполнения пункта -->



<!--ХХ Конец Заполнения пункта -->
</DIV></DIV></div>

	  </td></tr>
	</table>

   </td>
   </tr><tr><td  colspan="3" align="center" style="width:100%;height:17%;">
   
<marquee id="abs" style="width:97%;margin-left:7px;" direction="left" behavior="scroll" scrollamount="2" onmouseout="document.all.abs.start()" onmouseover="document.all.abs.stop()"><span style="color: #ff8317; text-shadow: #2E3E4D -1px -1px 2px;"><span style="font-size: 24px"><span style="font-family: Times New Roman"><span style="font-style: italic"><strong>

<!--Бегущая строка 2== Начало Заполнения пункта -->

Приветствуем тебя гость! Сейчас ты находишься на странице форумной ролевой игры "Durarara! Continued...
Не поленись. Зарегистрируйся и вливайся в наши ряды. Durarara!

<!--ХХ Конец Заполнения пункта -->
</strong></span></span></span></span></marquee>
   </td>
  </tr>
 </tbody>
</table>
</center>
<!--Спойлер - контейнер-->
<script type="text/javascript" src="http://szenprogs.ru/scripts/jquery-1.3.2.js"></script>
<script type="text/javascript">
  $(document).ready(function(){
    $('.splLink').click(function(){
      $(this).parent().children('div.splCont').toggle('normal');
      return false;
    });
  });
</script>

<!--============== Конец Таблички =========== -->

Подправил

Отредактировано Deff (Пт, 18 Фев 2011 22:16:59)

0

5

спасибо ^^
а можете подсказать какой-ибудь скрипт, чтобы объявление только на первой странице отображалось? А то оно сейчас на всех, не красиво смотрится((

0

6

Nik01
В HTML верх такой код

<style>
#pun-announcement {display:none;}
#pun-index #pun-announcement {display:block!important;}
</style>

Кстать я подправил табличку
терь все Фразы заключённые в тег <p> </p> будут начинаться с красной( попробуйте заменить

0

7

Ага, спасибо) Поставил, теперь все отлично смотрится!

0


Вы здесь » Единый форум поддержки » Корзина » цвет в объявлении