Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
style css - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: xHTML, CSS, JavaScript (https://www.webmastertalk.pl/forum-xhtml-css-javascript)
+--- Wątek: style css (/thread-style-css--2440)



style css - lesnynt - 29-09-2009

Witam posiadam system newsów jednak chciałbym podpiąć pod niego sciagniety arkusz stylów który znajduje sie poniżej jednak gry to robie nie widac zadnej zmiany poprostu cos nie działa

Prosze o pomoc jak to dopasowac

Kod:
/* Tytuł: */
.news dt {
    font-size: 12px;    /* rozmiar czcionki */
    text-align: left;    /* wyrównanie tekstu: left, right, center, justify */
    padding: 4px;    /* margines wewnątrz */
    border-width: 1px;    /* grubość obramowania */
    border-style: solid;    /* styl obramowania: solid, dashed, dotted, double, groove, ridge, inset, outset */
    border-color: gray; /* kolor obramowania */
    font-weight: bold;
}
.news dt, .news dt a:link, .news dt a:visited {
    background: silver;    /* tło tytułu */
    color: black;    /* kolor tytułu */
    text-decoration: none;
}

/* Treść */
.news dd {
    background: white;    /* tło */
    color: black;    /* kolor tekstu */
    font-size: 11px;    /* rozmiar czcionki */
    border-width: 1px;    /* grubość obramowania */
    border-style: solid;    /* styl obramowania: solid, dashed, dotted, double, groove, ridge, inset, outset */
    border-color: gray; /* kolor obramowania */
    border-top-width: 0;
    margin: 0;
    margin-bottom: 20px;
}
.news_content {
    padding: 5px;    /* margines wewnatrz */
    text-align: left;    /* wyrównanie tekstu: left, right, center, justify */
}

/* Data */
.news_date {
    font-size: 10px;    /* rozmiar czcionki */
    text-align: left;    /* wyrównanie tekstu: left, right, center, justify */
    padding: 5px;
    padding-bottom: 0;
    color: black    /* kolor tytułu */



}
.news_date span {
    font-weight: bold;
}

/* Obrazek: */
.news_img {
    float: left;    /* ustawienie: left, right */
    margin-right: 10px;
    margin-bottom: 5px;
    border: 0;
}

/* Więcej... */
.news_more {
    font-size: 10px;
    text-align: right;
    margin-bottom: 5px;
    margin-right: 15px;
}

/* Autor */
.news_author {
    font-size: 10px;    /* rozmiar czcionki */
    text-align: left;    /* wyrównanie tekstu: left, right, center, justify */
    border-top-width: 1px;    /* grubość obramowania */
    border-top-style: dashed;    /* styl obramowania: solid, dashed, dotted, double, groove, ridge, inset, outset */
    border-top-color: gray; /* kolor obramowania */
    padding: 5px;    /* margines wewnatrz */
    clear: both;
}
.news_author span {
    font-weight: bold;
}