Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- div#wrapper{
- width:965px;
- margin:0 auto;
- }
- .noc-works, .noc-works li {
- float: left;
- }
- .noc-works {
- width:963px;
- margin-left: -50px;
- margin:3px auto 10px auto;
- }
- .noc-works li {
- width: 293px;
- margin-right: 28px;
- }
- .hBg {
- background-color: brown;
- width: 272px;
- height: 20px;
- padding: 5px 0 0 0px;
- font: normal 11px tahoma;
- }
- .noc-p {
- background-color:aqua;
- width: 100%;
- height: 100px;
- margin-left :-10px;
- }
- </style>
- </head>
- <body>
- <div id="container">
- <div id="header"><h1>Resimlerim ://</h1></div>
- <p>
- <?php
- $c1 = mysql_query("SELECT * from images");
- while($c2 = mysql_fetch_array($c1))
- {
- echo '<div class="wrapper">
- <ul class="noc-works">
- <li><h1 class="hBg">'.$c2[titlen].'</h1><p class="noc-p">
- <span>RESİM ADRESİ</span></p></li>
- </ul>
- </div> ';}?>
- </p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement