Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[css] rozmieszczanie filmików.
#1
Witam, mam problem z rozmieszczeniem filmików. Ponieważ stronę dostałem, a sam nie programuję, proszę o wskazówki. Na głównej stronie mam filmiki, które wyświetlają się w poziomie , a po prawej stronie mam inne ustalone w pionie. Chce te w pionie przenieść na dół ( to akurat mi się udało), ale nie potrafię ich rozmieścić w poziomie. Wszelkie próby, kończą się tak samo, filmiki ciągle wyświetlają sie jeden pod drugim.
podaję kod ze stylów.
Kod:
body {
        margin: 0;
        padding: 0;
        background: #FFFFFF;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #7F7F81;
}

h1, h2, h3 {
        margin: 0;
        padding: 0;
        font-weight: normal;
        color: #FFFFFF;
}

h1 {
        font-size: 2em;
}

h2 {
        font-size: 2.4em;
        color: #000;
}

h3 {
        font-size: 1.6em;
}

p, ul, ol {
        margin-top: 0;
        line-height: 180%;
}

ul, ol {
}

a {
        text-decoration: none;
        color: #5D9800;
}

a:hover {
        text-decoration: underline;
}

img.border {
        border: 6px solid #E1F1F6;
}

img.alignleft {
        float: left;
        margin-right: 25px;
}

img.alignright {
        float: right;
}

img.aligncenter {
        margin: 0px auto;
}

/* Header */

#header {
        width: 850px;
        height: 125px;
        margin: 0 auto;
}

#abc {
margin-top: -23px;
width: 270px;
height: 40px;
float: right;
color: #fffff;
}

a {
color: white;
}

#cba {
margin-top: -23px;
margin-left: 430px;
width: 150px;
height: 40px;
color: #fffff;
}

a {
color: black;
}


/* Menu */

#menu {
        width: 950px;
        height: 100px;
        margin: 0 auto;
        padding: 0px 0px 0px 200px;
        }


/* Page */

#page {
        width: 950px;
        margin: 0 auto;
        padding: 0;
      
}

/* Content */

#content {
        float: left;
        width: 750px;
        margin-bottom: 30px;
        padding: 0px 0px 0px 0px;      
      
}
.post {
        margin-bottom: 30px;
        padding: 20px;
        background-image: url('images/bg.png');
}

.post .meta {
        padding: 5px 0px 5px 0px;
        text-align: left;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        font-style: italic;
        color: #888888;
}

.post .entry {
        padding-bottom: 20px;
        text-align: justify;
}

.portfolio_box {
        float: left;
        width: 130px;
        margin-bottom: 20px;
}

.links {
        float: right;
        font-weight: bold;
}


/* Sidebar */

#sidebar {
        float: right;
        width: 200px;
        padding: 0px;
      
}

#sidebar ul {
        margin: 0;
        padding: 0;
        list-style: none;
}      

#sidebar li {
        background-image: url('images/bg.png');
        margin-bottom: 30px;
        padding: 30px 0px;
}

#sidebar li ul {
        margin: 0px;
        padding: 0px 30px;
}

#sidebar li li {
        margin: 0px;
        padding: 0px;
        padding-left: 15px;
        line-height: 35px;
        border-bottom: 1px dashed #B9B9B9;
}

#sidebar li li span {
        display: block;
        margin-top: -20px;
        padding: 0;
        font-size: 11px;
        font-style: italic;
      
}

#sidebar h2 {
        height: 38px;
        margin-bottom: 20px;
        padding: 0px 0px 0px 30px;
        letter-spacing: -1px;
        font-size: 28px;
        color: #333333;
      
}

#sidebar p {
        margin: 0 0px;
        padding: 0px 30px 20px 30px;
        text-align: justify;
      
}

#sidebar a {
        border: none;
        color: #7F7F81;
      
}

#sidebar a:hover {
        text-decoration: underline;
        color: #5D9800;
      
}

#footer-wrapper {
        overflow: hidden;
        padding: 10px 0px;
        background: #E7E7E7;
}

#footer {
        clear: both;
        height: 100px;
        background: #fffff;
        font-family: Arial, Helvetica, sans-serif;
}

#footer p {
        margin: 0;
        padding: 10px 0px 0px 0px;
        line-height: normal;
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
        color: #00000;
}

#footer a {
        color: #00000;
}
Odpowiedz


Wiadomości w tym wątku
[css] rozmieszczanie filmików. - przez dawid123 - 27-10-2011, 03:03
RE: [css] rozmieszczanie filmików. - przez dawid123 - 28-10-2011, 02:53
RE: [css] rozmieszczanie filmików. - przez dawid123 - 30-10-2011, 18:21
RE: [css] rozmieszczanie filmików. - przez dawid123 - 31-10-2011, 03:49

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Rozmieszczanie elementów stronki Italic 8 5,210 04-03-2012, 22:56
Ostatni post: Pedro84
  Jak zrobić odstępy od filmików? [email protected] 2 3,360 17-03-2011, 00:55
Ostatni post: [email protected]

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl