Старый 25.04.2008, 13:01   #1
Новичок
 
Регистрация: 16.04.2008
Сообщений: 29
Вес репутации: 0
547522 не любят в этих краях
Red face Цвет ссылок

Подскажите как помянять цвет ссылок, чтобы они не сливались с фоном.
Если можно то объясните мне как-нибудь то проще. Сайт работает на WP, а код расположен в footer.php
547522 вне форума   Ответить с цитированием
Старый 25.04.2008, 13:04   #2
Эксперт
 
Регистрация: 12.03.2008
Адрес: будете смеяться, но я-таки нерезидент
Сообщений: 2,663
Вес репутации: 295
sergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущееsergbond - прекрасное будущее
По умолчанию

На информатике HTML еще не проходили?
__________________
Подыскиваю умных реферралов.
sergbond вне форума   Ответить с цитированием
Старый 25.04.2008, 13:11   #3
Мастер
 
Аватар для lay
 
Регистрация: 11.08.2007
Сообщений: 705
Вес репутации: 232
lay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущее
По умолчанию

а что уже и в детских садах информатику преподают?

Читайте, ибо учение - СВЕТ!
http://www.htmlbook.ru/
lay вне форума   Ответить с цитированием
Старый 25.04.2008, 13:23   #4
Новичок
 
Регистрация: 16.04.2008
Сообщений: 29
Вес репутации: 0
547522 не любят в этих краях
По умолчанию

Дк мне надо чтобы ссылки рекламодателей из Сапы не сливались с фоном.
я вот так сделал но ничего((

<font color="red"><?php
if (!defined('_SAPE_USER')){
define('_SAPE_USER', 'кодик');
}
require_once($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php');
$o['charset'] = 'UTF-8';
$sape = new SAPE_client($o);
unset($o);
echo $sape->return_links();
?></font>
Как правельно сделать то подскажите
547522 вне форума   Ответить с цитированием
Старый 25.04.2008, 13:33   #5
Новичок
 
Регистрация: 11.04.2007
Сообщений: 16
Вес репутации: 0
Findeer на пути к лучшему
По умолчанию

в настройках ссылок (в сапе)
поставь класс ссылок
Например, commentlist
Findeer вне форума   Ответить с цитированием
Старый 25.04.2008, 13:33   #6
Мастер
 
Аватар для lay
 
Регистрация: 11.08.2007
Сообщений: 705
Вес репутации: 232
lay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущее
По умолчанию

Конечно ничего, <font color="red"> влияет только на текст.

Пропишите в настройках проекта (в sape) Класс ссылок: sapeclass

в файле style.css вашей темы добате строку

.sapeclass a {color:red;}
lay вне форума   Ответить с цитированием
Старый 25.04.2008, 13:38   #7
Новичок
 
Аватар для N 6230i
 
Регистрация: 30.12.2007
Адрес: Ukraine
Сообщений: 82
Вес репутации: 199
N 6230i на пути к лучшему
По умолчанию

Я лично текст и ссылка одним цветом вывожу.
Создал новый div в css и потом разместить код вызова ссылок между
<div id="sape">Код здесь</div>

Пример такого (можно сразу в свой css вставлять )
#sape {
color: black;
font-size:11px;
text-align:center;
}
#sape a {
text-decoration:none;
color: black;
}
__________________
SEO Nokia Audi
N 6230i вне форума   Ответить с цитированием
Старый 25.04.2008, 14:13   #8
Новичок
 
Регистрация: 16.04.2008
Сообщений: 29
Вес репутации: 0
547522 не любят в этих краях
По умолчанию

Серавно не получается изменить цвет((.
Объясните плиз на пальцах что за чем делать и куда вставлять?
547522 вне форума   Ответить с цитированием
Старый 25.04.2008, 14:42   #9
Мастер
 
Аватар для lay
 
Регистрация: 11.08.2007
Сообщений: 705
Вес репутации: 232
lay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущееlay - прекрасное будущее
По умолчанию

Вам все подробнейшим образом объяснили.

Учите матчасть!

Никому не интересно разжевывать вам основы html и css. Хотите зарабатывать деньги - так потрудитесь хоть что-нибудь сделать для этого.
lay вне форума   Ответить с цитированием
Старый 25.04.2008, 15:04   #10
Новичок
 
Регистрация: 16.04.2008
Сообщений: 29
Вес репутации: 0
547522 не любят в этих краях
По умолчанию

Цитата:
Сообщение от lay Посмотреть сообщение
Конечно ничего, <font color="red"> влияет только на текст.

Пропишите в настройках проекта (в sape) Класс ссылок: sapeclass

в файле style.css вашей темы добате строку

.sapeclass a {color:red;}
Lay я сделал все то твоему способу но чето не понят насчет строчки .sapeclass a {color:red;}. Ее в style.css можно вставить в любое место или нет??

Вот мой style.css скажи перед чем поставить эту строчку

Цитата:
*/

body {
background: #42afdc url(images/html-bg.gif) repeat-x;
font: 75%/170% Arial, Helvetica, sans-serif;
padding: 0px;
margin: 0px;
color: #333333;
}
a {
color: #44a1d0;
text-decoration: none;
}
a:visited {
color: #5EAFD7;
}
a:hover {
text-decoration: underline;
}
p {
margin: 0px 0px 15px;
}
img {
border: none;
}
ul {
margin: 5px 0px 15px;
padding-left: 20px;
}
ul li {
margin: 0px;
}
ol {
margin: 5px 0px 15px;
padding-left: 20px;
}
ul li {
margin: 0px;
}
form {
margin: 0px;
padding: 0px;
}
small {
font-size: 90%;
}
#page {
background: url(images/main-bg.jpg) no-repeat center top;
}
#wrapper {
width: 985px;
margin: 0px auto;
position: relative;
}

/* ------------------------------------- header area */
#header {
height: 120px;
}
/* site title */
h1 {
position: absolute;
top: 40px;
left: 25px;
color: #FFFFFF;
margin: 0px;
padding: 0px;
font: normal 30px/100% "Trebuchet MS", Arial, sans-serif;
}
h1 a, h1 a:visited {
color: #FFFFFF;
text-decoration: none;
}
h1 a:hover {
color: #000000;
text-decoration: none;
}
.description {
position: absolute;
top: 77px;
left: 25px;
color: #000000;
font: 12px Arial, Helvetica, sans-serif;
}
/* search form */
#searchform {
position: absolute;
top: 0px;
right: 0px;
background: url(images/searchform-bg.png) no-repeat right bottom;
height: 37px;
width: 210px;
}
#searchform #s{
background: #ffffff url(images/form-field-bg.gif) no-repeat ;
height: 17px;
width: 148px;
margin: 6px 5px 0px 10px;
padding: 3px 7px 2px 5px;
color: #999999;
border: none;
}
#searchform #searchsubmit {
background: url(images/search-btn.png) no-repeat left top;
height: 24px;
width: 24px;
border: none;
text-indent: -999%;
line-height: 1px;
margin-top: 6px;
}

/* ------------------------------------- main content area */
#left-col {
width: 545px;
float: left;
margin-top: 11px;
}
/* main menu */
#nav {
background: url(images/content-top-bg.png) no-repeat left top;
height: 26px;
}
#nav ul{
list-style: none;
margin: 0px 0px 0px 25px;
padding: 0px;
font: bold 12px/100% Arial, Helvetica, sans-serif;
}
#nav ul li{
margin: 0px 1px 0px 0px;
padding: 0px;
float: left;
}
#nav ul li a{
padding: 5px 7px 6px 7px;
text-decoration: none;
color: #000000;
display: block;
}
#nav li a:visited{
text-decoration: none;
color: #000000;
}
#nav li a:hover, #nav .current_page_item a, #nav .current_page_item a:visited{
text-decoration: none;
background: #2e91c6 url(images/nav-item-hover.gif) repeat-x;
color: #ffffff;
}
/* sub menu */
#subnav {
background: #ecebeb;

}
#subnav ul {
margin: 0px;
padding: 3px 5px 5px 5px;
list-style: none;
font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
border-right: 1px solid #D8D8D8;
padding: 0px 7px;
margin: 0 0 5px;
display:inline;
line-height: 18px;
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
text-decoration: none;
color: #333333;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
color: #3b9acc;
}
#subnav li a:hover {
text-decoration: none;
color: #3b9acc;
}

/* content */
#content {
padding: 25px 25px 15px 25px;
width: 495px;
background: #ffffff;
clear: both;
overflow: hidden;
}
.post {
padding: 0px;
clear: both;
overflow: hidden;
}
.post .date {
height: 50px;
width: 45px;
background: url(images/calendar.gif) no-repeat;
font: normal 22px Arial, Helvetica, sans-serif;
color: #666666;
text-align: center;
padding: 0px 2px 0 0;
line-height: 100%;
float: left;
}
.post .date span {
height: 16px;
display: block;
font: normal 11px Arial, Helvetica, sans-serif;
color: #ffffff;
text-align: center;
padding-top: 5px;
}
.post .title {
float: left;
margin-left: 10px;
width: 438px;
}
.postdata {
font-size: 90%;
color: #999999;
}
.postdata a, .postdata a:visited {
color: #999999;
text-decoration: none;
}
.postdata a:hover {
color: #44a1d0;
text-decoration: none;
}
.postdata .category{
background: url(images/mini-category.gif) no-repeat;
padding-left: 18px;
float: left;
}
.postdata .comments{
background: url(images/mini-comment.gif) no-repeat;
padding-left: 18px;
float: right;
}
.mini-add-comment {
background: url(images/mini-down-arrow.gif) no-repeat left center;
padding-left: 12px;
float: right;
}
.entry {
padding: 10px 0px 5px;
clear: both;
}
.entry p.submeta{
font-size: 11px;
}


/* post title */
h2 {
color: #333333;
margin: 3px 0 2px;
padding-bottom: 4px;
font: normal 150%/100% "Lucida Grande", Arial, sans-serif;
border-bottom: dotted 1px #CCCCCC;
}
h2 a, h2 a:visited {
color: #333333;
text-decoration: none;
}
h2 a:hover {
color: #44a1d0;
text-decoration: none;
}
h3 {
color: #666666;
margin: 5px 0px 5px;
font: bold 110%/110% "Lucida Grande", Arial, sans-serif;
}

/* next & previous page navigation */
.page-nav {
clear: both;
background: url(images/navigation-bg.gif) no-repeat left center;
height: 21px;
}
.page-nav a, .page-nav a:visited {
color: #ffffff;
text-decoration: none;
}
.page-nav a:hover {
color: #000000;
text-decoration: none;
}
.previous-entries a {
float: left;
padding-left: 10px;
margin-left: 10px;
background: url(images/navigation-left.gif) no-repeat left center;
}
.next-entries a {
float: right;
padding-right: 10px;
margin-right: 10px;
background: url(images/navigation-right.gif) no-repeat right center;
}

/* next & previous post navigation */
.post-nav {
clear: both;
padding-bottom: 35px;
margin-top: -15px;
font-size: 95%;
}
.post-nav a, .post-nav a:visited {
color: #999999;
text-decoration: none;
}
.post-nav a:hover {
color: #000000;
text-decoration: none;
}
.post-nav .previous a {
float: left;
padding-left: 20px;
background: url(images/post-nav-previous.gif) no-repeat left center;
}
.post-nav .next a {
float: right;
padding-right: 20px;
text-align: right;
background: url(images/post-nav-next.gif) no-repeat right center;
}

/* ------------------------------------- comment area */
h3#comments {
background: url(images/comments.gif) no-repeat;
padding-left: 22px;
font: normal 140%/120% Arial, Helvetica, sans-serif;
clear: both;
}
h3#respond {
background: url(images/respond.gif) no-repeat;
padding-left: 22px;
font: normal 140%/120% Arial, Helvetica, sans-serif;
margin: 20px 0px 0px;
clear: both;
}
/* commentform */
#commentform {
margin-top: 10px;
}
#commentform label {
font-weight: bold;
color:#666;
font-size: 100%;
padding-left: 5px;
}
#commentform small {
color: #999999;
font-size: 90%;
}
#commentform input {
font: 110% Arial, Helvetica, sans-serif;
width: 220px;
padding: 5px 3px 3px 7px;
background: url(images/form-field-bg.gif) no-repeat;
border-top: 1px solid #e6e6e6;
border-right: 1px solid #E2E2E2;
border-bottom: 1px solid #E2E2E2;
border-left: 1px solid #e6e6e6;
}
#commentform textarea {
font: 110% Arial, Helvetica, sans-serif;
width: 480px;
height: 140px;
background:url(images/form-field-bg.gif) no-repeat;
border: solid 1px #e6e6e6;
padding: 5px 3px 3px 7px;
}
#commentform #submit {
font: 12px/100% Arial, Helvetica, sans-serif;
color: #000000;
background: url(images/submit-btn.gif) no-repeat top left;
border: none;
width: 135px;
height: 25px;
padding-bottom: 6px;
margin-left: 355px;
}
#commentform #submit:hover {
background: url(images/submit-btn.gif) no-repeat bottom left;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
border: solid 1px #3b9acc;
}

/* comment list */
.commentlist {
margin: 10px 0px;
padding-left: 45px;
line-height: 130%;
}
.commentlist li{
padding: 5px 10px;
}
.commentlist .alt {
background: #F4F4F4;
}
.commentlist cite {
font-weight: bold;
font-style: normal;
font-size: 110%;
color: #669900;
}
.commentlist cite a, .commentlist cite a:visited {
color: #669900;
}
.commentlist small {
margin-bottom: 5px;
display: block;
font-size: 87%;
}
.commentlist small a, .commentlist small a:visited{
color: #999999;
}

/* ------------------------------------- footer area */
#footer {
background: url(images/content-bottom-bg.png) no-repeat;
padding: 12px 0px 0px 10px;
font-size: 87%;
color: #282828;
line-height: 15px;
}
#footer a, #footer a:visited {
text-decoration: none;
color: #000000;
}
#footer a:hover {
text-decoration: underline;
}

/* ------------------------------------- sidebar area */
/* sidebar */
#sidebar-right{
float:right;
margin-left: 10px;
}
#sidebar-left {
float: left;
margin-right: 10px;
}
#sidebar-right,
#sidebar-left {
width: 210px;
color: #666666;
line-height: 160%;
}
#sidebar-right p,
#sidebar-left p {
margin: 0px 0px 15px;
}
#sidebar-right h3,
#sidebar-left h3 {
font: bold 12px/100% Arial, Helvetica, sans-serif;
color: #666666;
}
#sidebar-right h3 a, #sidebar-right h3 a:visited,
#sidebar-left h3 a, #sidebar-left h3 a:visited {
color: #666666;
}
#sidebar-right h3 img,
#sidebar-left h3 img {
vertical-align: middle;
}
#sidebar-right a, #sidebar-right a:visited,
#sidebar-left a, #sidebar-left a:visited {
color: #000000;
text-decoration:none;
}
#sidebar-right a:hover, #sidebar-right a:focus, #sidebar-right a:active,
#sidebar-left a:hover, #sidebar-left a:focus, #sidebar-left a:active {
text-decoration:underline;
}
#sidebar-right ul,
#sidebar-left ul {
list-style: none;
margin: 0 ;
padding: 0 ;
}
#sidebar-right ul li,
#sidebar-left ul li {
background: url(images/bullet-orange.gif) no-repeat;
padding-left: 18px ;
}
#sidebar-right ul li ul li,
#sidebar-left ul li ul li {
background: url(images/bullet-grey.gif) no-repeat;
padding-left: 12px ;
}

/* ------------------------------------- widget styles */
/* archives widget */
#archives ul li {
background: url(images/mini-archive.gif) no-repeat;
}
/* recent comments widget */
#recent-comments ul li {
background: url(images/mini-comment.gif) no-repeat;
}
/* category widget */
#categories ul li,
#categories-1 ul li,
#categories-2 ul li,
#categories-3 ul li,
#categories-4 ul li,
#categories-5 ul li,
#categories-6 ul li,
#categories-7 ul li,
#categories-8 ul li,
#categories-9 ul li {
background: url(images/mini-category.gif) no-repeat;
}
/* recent posts widget */
#recent-posts ul li {
background: url(images/mini-page.gif) no-repeat;
}
/* links widget */
#links ul li {
background: url(images/mini-blogroll.gif) no-repeat;
}
/* meta */
#meta .rss {
background: url(images/mini-rss.gif) no-repeat;
}
#meta .login {
background: url(images/mini-user.gif) no-repeat;
}
#meta .check {
background: url(images/mini-check.gif) no-repeat;
}
#meta .wordpress {
background: url(images/mini-wp.gif) no-repeat;
}
/* calendar */
#calendar table {
margin: 0px auto;
}
#calendar td {
padding: 0px 4px;
}

/* alignments */
.center {
text-align: center;
}
img.center, img[align="center"] {
display: block;
margin-left: auto;
margin-right: auto;
}
.left {
float: left;
}
img.left, img[align="left"] {
float:left;
margin: 2px 10px 5px 0px;
}
.right {
float: right;
}
img.right, img[align="right"] {
float:right;
margin: 2px 0px 5px 10px;
}
.clear {
clear:both;
}
hr.clear {
clear:both;
visibility: hidden;
margin: 0px;
padding: 0px;
}
.hidden {
clear: both;
visibility: hidden;
}

/* MangoOrange.com footer (must be included, but can be modified) */
div#footer span.mangoorange{
color: #fff;
}

div#footer span.mangoorange a,
div#footer span.mangoorange a:visited{
color: #fff;
font-weight: bold;
text-decoration: none;
}

div#footer span.mangoorange a:hover{
text-decoration: underline;
}

// WP-SNAP

ol.snap_nav {
display: inline;
float: left;
clear: both;
list-style: none;
}

ol.snap_nav li {
display: block;
float: left;
padding: 0 10px 10px 0;
}

ol.snap_nav li a {
font-weight: bold
}

ol.snap_titles {
clear: both;
display: block;
border: 0;
list-style: none;
}
буду очень признателен за помошь=)
547522 вне форума   Ответить с цитированием
Ответ

Опции темы

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Изменить цвет ссылок. evgenij2006 Установка кода на различные движки 8 24.05.2010 23:54
Цвет ссылок Manson Вопросы от новичков 5 08.03.2008 17:37
Цвет статуса площадки big.bon Ошибки при работе с системой 1 12.01.2008 10:50
Цвет фона сайта sctas Вопросы по работе системы 1 31.07.2007 10:07
Как изменить цвет ссылок в vBulletin? ForuMishka.net Вопросы по работе системы 14 23.07.2007 21:13


Часовой пояс GMT +3, время: 18:45.