Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
arkusz stylu podstawowego- gdzie tu jest błąd??? - 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ł: Początkujący webmaster (https://www.webmastertalk.pl/forum-poczatkujacy-webmaster)
+--- Wątek: arkusz stylu podstawowego- gdzie tu jest błąd??? (/thread-arkusz-stylu-podstawowego-gdzie-tu-jest-blad)



arkusz stylu podstawowego- gdzie tu jest błąd??? - agunianiunia007 - 08-01-2009

Kod:
* {margin:0; padding:0; border:0;}

body {
    font-family: serif;
    font-size: 1em;
    background: #000;
    color:#fff;
}

img {border:none; display: block;}
a {text-decoration: none; color: #dc9c9c}
a:hover {text-decoration: underline;}
strong {}

#tlooooooooo {width: 800px; margin: 0 auto; padding-top: 325px; background: url(uploads/images/tlooooooooo.jpg) 400px 0px repeat-y;}
#tlooooooooo.tlooooooooo {width: 800px; margin: 0 auto; padding-top: 325px; background: url(uploads/images/tlooooooooo.jpg) 400px 0px repeat-y;}

#content {
    clear: both;
    font-family: Tahoma;
    padding: 0.5em 0em;
}

#content p {color: #fff; text-align: justify; line-height: 1.3em; margin-top: 5px;}
#content p img {float: right;margin: 5px}

#tinymce {width:445px !important;margin:10px 180px 10px 10px !important; padding:0 !important; }

#main {width: 450px; padding-right: 10px; font-size: 0.85em;}
#main p {margin-bottom: 20px;}
#content ul {list-style: none; font-weight: bold; margin: 10px 0;}
#main img {float: right; clear: right; margin: 10px}
#main img.first {margin-right: 20px}
#main a {text-decoration: underline;}
#main a.more {display: block; text-align: right; font-weight: bold; text-decoration: none;}
#main a.more:before {content: '» '}

#content ul {list-style: none; margin: 10px 0;}
#content li {background: url(uploads/images/arr.gif) 20px 4px no-repeat; padding-left: 32px; font-size: 0.85em; color: #dc9c9c; line-height: 1.5em}
#submain li { font-size:70%; }

#submain {clear: both; width: 540px; margin-top: 30px;}
#submain img {float: right; clear: right; margin: 10px 10px 10px 40px}
#submain p {font-size: 70%;}

#footer {font: normal 0.64em Tahoma; clear: both; padding: 15px 10px; text-align: center; background: url(uploads/images/footer_bg.png) top left no-repeat;}
.main #footer {background: none;}
#footer a {color: #fff;}
#footer a:hover {color: #999}
#footer ul {list-style: none; font-weight: normal; margin: 10px auto; text-align: right; }
#footer li {display: inline; line-height :1em; padding: 0 8px 0 2px; background: url("uploads/images/arr.png") right center no-repeat;}
#footer li.last {padding-right: 6px; background: none;}

#newsk {width: 300px; float: right; margin-left:10px;}
#newsk p, #news ul {}
#newsk ul {list-style: none; margin:0; font-weight: normal;}
#newsk li {margin:0; padding-bottom: 15px; text-align: justify; padding-left: 0; background: none; text-decoration: none}
#newsk ul img {float: right; margin-left: 5px}

#kontakt {margin-left:60px;margin-top:15px;margin-bottom:10px;width: 200px;}
#kontakt a {color: #D09860;}
#kontakt .p {margin-top:10px;}

img[align="middle"], img[align="center"] {    float: none !important;    clear: both;    display: block;    margin: 20px auto !important;}
img.middle, img.center {    float: none !important;    clear: both;    display: block;    margin: 20px auto !important;}
img[align="left"]{    float: left !important;    margin: 0 5px 5px  0 !important;}
img.left{    float: left !important;    margin: 0 5px 5px 0 !important;}
img[align="right"]{    float: right !important; margin: 0 0 5px 5px !important;}
img.right{    float: right !important; margin: 0 0 5px 5px !important;}
.mceContentBody {overflow: auto;}



RE: arkusz stylu podstawowego- gdzie tu jest błąd??? - Marcin - 08-01-2009

A jaki błąd jest zgłaszany? Tudzież co działa nie tak jak powinno, bo plik css wydaje się ok.


RE: arkusz stylu podstawowego- gdzie tu jest błąd??? - FasOlQa - 08-01-2009

a {text-decoration: none; color: #dc9c9c}

brak średnika??


RE: arkusz stylu podstawowego- gdzie tu jest błąd??? - Marcin - 10-01-2009

Nie ma konieczności stawiania średnika na końcu, jeśli jest to ostatni element. To nie jest raczej błąd (error). Jeśli już to walidator zgłosi warning.


RE: arkusz stylu podstawowego- gdzie tu jest błąd??? - FasOlQa - 07-02-2009

(10-01-2009, 15:04)Marcin napisał(a): Nie ma konieczności stawiania średnika na końcu, jeśli jest to ostatni element. To nie jest raczej błąd (error). Jeśli już to walidator zgłosi warning.

ja innego błędu nie widzę