Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [css] zaokraglone rogi
skowron-line
post
Post #1





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

Ostrzeżenie: (0%)
-----


2 fotki do porownania
pod FFklik ff
pod IEklik ie

no chyba wszyscy widza o co chodzi czy ktos moze mi powiedzic czym to jest spowdowane
dodam ze do zaokraglania uzywamnifty moze to jest wina ze za duzo zaokraglam??raptem 3

z gory dziekuje i pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
skowron-line
post
Post #2





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

Ostrzeżenie: (0%)
-----


  1. doctype i meta
  2. <link rel="stylesheet" type="text/css" href="niftyCorners.css">
  3. <link rel="stylesheet" type="text/css" href="niftyPrint.css" media="print">
  4. <script type="text/javascript" src="nifty.js"></script>
  5. <script type="text/javascript">
  6. window.onload=function(){
  7. if(!NiftyCheck())
  8. return;
  9. Rounded("div#out","#9BC5EB","white");
  10. Rounded("div#right","#6898C8","#9BC5EB");
  11. Rounded("div#left","#6898C8","#9BC5EB");
  12. }
  13.  
  14. </head>
  15. <div id="realtop">
  16. <a href="#" title="strona glowna"><img src="ikony/home.gif"></a>
  17. <a href="#" title="kontakt"><img src="ikony/mail.gif"></a>
  18. </div>
  19. <div id="out">
  20. <div id="in">
  21. <div id="top">
  22. jakies rysunek
  23. </div>
  24. <ul id="navlist">
  25. lista
  26. </ul>
  27. <div id="container">
  28. <!-- tabelka jest po zeby sie nie kisilo looknijcie jak jest bez niej-->
  29. <tr>
  30. <td class="td_left" valign="top">
  31. <div id="left">
  32. <h3 class="h3_left">Aktualnosci</h3>
  33. <div id="text">
  34. <h3 class="h3_tytul">tytul</h3>
  35. <p class="tresc">
  36. tekst
  37. </p>
  38. <p class="data">25/07/2006 17:12:42</p>
  39. </div>
  40. </div>
  41. </td>
  42. <td class="td_right" valign="top">
  43. <div id="right">
  44. <h3 class="h3_right">kontakt</h3>
  45. <p class="kontakt">
  46. tekst
  47. </p>
  48. </div>
  49. </td>
  50. </tr>
  51. </table>
  52. </div>
  53. </div>
  54. </div>
  55. <div id="stopka">
  56. jakies cos
  57. </div>

i css
  1. <style type="text/css">
  2. body {
  3. background-color:#9BC5EB;
  4. margin:0;
  5. }
  6. #in {
  7. background-color:#6898C8;
  8. margin:2px;
  9. }
  10. #out {
  11. background-color:white;
  12. width:80%;
  13. margin:auto;
  14. }
  15. #realtop {
  16. width:80%;
  17. text-align:right;
  18. margin:auto;
  19. }
  20. #top {
  21. background-color:white;
  22. margin:auto;
  23. }
  24. #navlist li
  25. {
  26. display: inline;
  27. list-style-type: none;
  28. padding-right:20px;
  29. }
  30. #navlist li a {
  31. text-decoration:none;
  32. font-style:italic;
  33. color:black;
  34. }
  35. #nawilist a:link {
  36. color:black;
  37. }
  38. #navlist li a:hover {
  39. color:green;
  40. border-bottom:4px solid green;
  41. }
  42. #nalist li a:visited {
  43. color:black;
  44. border-bottom:4px solid green;
  45. }
  46. #main_left {
  47. width:50%;
  48. background-color:pink;
  49. }
  50. #container {
  51. margin-left:20px;
  52. margin-right:20px;
  53. }
  54. table {
  55. width:100%;
  56. border:0;
  57. }
  58. .td_left {
  59. width:70%;
  60. }
  61. .td_right {
  62. width:30%;
  63. }
  64. #left {
  65. width:99%;
  66. background-color:#9BC5EB;
  67. }
  68. #right {
  69. width:99%;
  70. background-color:#9BC5EB;
  71. font-weight:bold;
  72. }
  73. .h3_left {
  74. background-color:silver;
  75. width:60%;
  76. padding-left:20px;
  77. }
  78. .h3_right {
  79. background-color:silver;
  80. width:60%;
  81. padding-left:20px;
  82. }
  83. #text {
  84. padding:5px;
  85. margin:5px;
  86. background-color:pink;
  87. margin-bottom:5px;
  88. }
  89. .h3_tytul {
  90. color:gray;
  91. }
  92. .tresc:first-letter {
  93. font-size:25px;
  94. color:red;
  95. }
  96. .tresc {
  97. line-height:25px;
  98. text-indent:30px;
  99. margin-bottom:0;
  100. }
  101. .data {
  102. text-align:right;
  103. color:gray;
  104. font-size:10px;
  105. margin-top:0;
  106. margin-bottom:0;
  107. }
  108. #stopka {
  109. width:80%;
  110. text-align:right;
  111. color:gray;
  112. margin:auto;
  113. }
  114. .kontakt {
  115. text-align:center;
  116. margin:0;
  117. }
  118. img {
  119. border:0;
  120. }


przepraszam za tak wielka ilosc kodu staralem sie uciac to co nie potrzebne

Ten post edytował skowron-line 13.09.2006, 15:24:55
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 16.10.2025 - 11:48