Note that there are some explanatory texts on larger screens.

plurals
  1. POCss the buttons of a imageslider
    primarykey
    data
    text
    <p>I have written a slider and now i want to make it into a layout. But my css isnt good enought. </p> <p>my layout:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; &lt;head&gt; &lt;title&gt;title&lt;/title&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;meta name="description" content="" /&gt; &lt;meta name="keywords" content="" /&gt; &lt;meta name="robots" content="index,follow" /&gt; &lt;style type="text/css"&gt; body { margin:0px; padding:0px; font-family:Tahoma; color: #666; font-size:13px; line-height: 1.6; background-color: #cccccc; text-align: center; } #page_container { text-align:left; margin: 0 auto; width:900px; background-color: #fff; border: 1px solid #999999; } #info_container { padding: 20px 0px 0px 0px; height:90px; } #image_container { height:300px; background-color: #ae3; } #navi_container { height:35px; } #content_container { padding-top:10px; display: inline-block; } #content_left { padding: 20px 20px 20px 20px; width:560px; float:left } #content_right { padding: 20px 20px 20px 20px; width:260px; float:left } #footer_container { background-color: #eee; border:1px solid #eee; padding: 20px 20px 20px 20px; } #right-fade, #left-fade { background:#333; height:300px; width:0px; } .next, .prev { cursor:pointer; } .next { } .prev { } .fader { margin:0; padding:0; list-style:none; overflow:hidden; } .fader li { text-align:left; display:block; } .carousel-pagination li { display:block; float:left; width:10px; height:10px; margin-right:5px; cursor:pointer; background:#333; } .carousel-pagination .carousel-pagination-active { background:#ff0000; } .clear { clear:left; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;br/&gt; &lt;div id="page_container"&gt; &lt;div id="info_container"&gt; info &lt;/div&gt; &lt;div id="navi_container"&gt; &lt;!-- Menu --&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;div class="menu"&gt; navi &lt;/div&gt; &lt;!-- Menu --&gt; &lt;/div&gt; &lt;div id="image_container"&gt; &lt;ul class="fader"&gt; &lt;li&gt;&lt;img src="fader/foto/1.jpg" alt="teaser" border="0" align="left" /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;ul class="carousel-pagination"&gt; &lt;li class=""&gt;&lt;/li&gt; &lt;li class=""&gt;&lt;/li&gt; &lt;li class="carousel-pagination-active"&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span class="prev"&gt;left&lt;/span&gt; &lt;span class="next"&gt;right&lt;/span&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;div id="content_container"&gt; &lt;div id="content_left"&gt; &lt;h1&gt;left&lt;/h1&gt; &lt;/div&gt; &lt;div id="content_right"&gt; &lt;h3&gt;right&lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="footer_container"&gt;footer&lt;/div&gt; &lt;/div&gt; &lt;br/&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>and like to have the buttons left and right of the img and the navi in the buttom right corner like my image. could somebody help me please. </p> <p><a href="http://sstatic.net/stackoverflow/img/error-lolcat-problemz.jpg" rel="nofollow noreferrer">a busy cat http://sstatic.net/stackoverflow/img/error-lolcat-problemz.jpg</a> <img src="https://i.imgur.com/3rfY2.png" alt="two muppets" title="page"></p> <p>edit:</p> <p>i have managed it.</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; &lt;head&gt; &lt;title&gt;title&lt;/title&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;meta name="description" content="" /&gt; &lt;meta name="keywords" content="" /&gt; &lt;meta name="robots" content="index,follow" /&gt; &lt;style type="text/css"&gt; body { margin:0px; padding:0px; font-family:Tahoma; color: #666; font-size:13px; line-height: 1.6; background-color: #cccccc; text-align: center; } #page_container { text-align:left; margin: 0 auto; width:900px; background-color: #fff; border: 1px solid #999999; } #info_container { padding: 20px 0px 0px 0px; height:90px; } #image_layer { height:300px; } #image_container { height:300px; background-color: #ae3; position: absolute; } #navi_container { height:35px; } #content_container { padding-top:10px; display: inline-block; } #content_left { padding: 20px 20px 20px 20px; width:560px; float:left } #content_right { padding: 20px 20px 20px 20px; width:260px; float:left } #footer_container { background-color: #eee; border:1px solid #eee; padding: 20px 20px 20px 20px; } #right-fade, #left-fade { background:#333; height:300px; width:0px; } .next, .prev { display: block; position: absolute; top: 150px; cursor: pointer; } .next { right:-20px; } .prev { left:-20px; } .fader { margin:0; padding:0; list-style:none; overflow:hidden; } .fader li { text-align:left; display:block; } .carousel-pagination { position: relative; top:-40px; float:right; } .carousel-pagination li { display:block; float:left; width:10px; height:10px; margin-right:5px; cursor:pointer; background:#333; } .carousel-pagination .carousel-pagination-active { background:#ff0000; } .clear { clear:left; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;br/&gt; &lt;div id="page_container"&gt; &lt;div id="info_container"&gt; info &lt;/div&gt; &lt;div id="navi_container"&gt; &lt;!-- Menu --&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;div class="menu"&gt; navi &lt;/div&gt; &lt;!-- Menu --&gt; &lt;/div&gt; &lt;div id="image_layer"&gt; &lt;div id="image_container"&gt; &lt;ul class="fader"&gt; &lt;li&gt;&lt;img src="fader/foto/1.jpg" alt="teaser" border="0" align="left" /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span class="prev"&gt;left&lt;/span&gt; &lt;span class="next"&gt;right&lt;/span&gt; &lt;/div&gt;&lt;/div&gt; &lt;ul class="carousel-pagination"&gt; &lt;li class=""&gt;&lt;/li&gt; &lt;li class=""&gt;&lt;/li&gt; &lt;li class="carousel-pagination-active"&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;div id="content_container"&gt; &lt;div id="content_left"&gt; &lt;h1&gt;left&lt;/h1&gt; &lt;/div&gt; &lt;div id="content_right"&gt; &lt;h3&gt;right&lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="footer_container"&gt;footer&lt;/div&gt; &lt;/div&gt; &lt;br/&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>thanks for watching.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload