| Autor | Zpráva | ||
|---|---|---|---|
| ggame Profil |
#1 · Zasláno: 29. 3. 2013, 19:32:19
Dobrý den, jsem úplný začátečník a na stránkách mám tento panel.
<style type="text/css">
html, body {
position: absolute;
height: 100%;
min-width: 100%;
}
.wrapper {
position: relative;
min-height: 100%;
}
.wrapper + style + iframe {
display: none;
}
.content {
padding: 0 44px;
}
.topbar {
text-align: right;
padding-top: .5em;
padding-bottom: .5em;
}
.trydox-header-bar {
height: 51px;
background: #f1f1f1;
border-bottom: 1px solid #e5e5e5;
overflow: hidden;
}
.header .logo {
margin: 10px 0 0;
float: left;
}
.header .signin,
.header .signup {
margin: 18px 0 0;
float: right;
font-weight: bold;
}
.header .signin-button,
.header .signup-button {
margin: 12px 0 0;
float: right;
}
.header .signin-button a {
font-size: 5px;
font-weight: normal;
}
.header .signup-button a {
position: relative;
top: -1px;
margin: 0 0 0 1em;
}
.main h1:first-child {
margin: 0 0 .92em;
}
</style>Potřeboval bych aby tento panel byl svislý v levo na stránce, pokud to jde. |
||
| Str4wberry Profil |
#2 · Zasláno: 30. 3. 2013, 07:10:37
Zkuste přidat i HTML, ideálně z toho vytvořit živou ukázku, takhle se to asi nikomu ladit chtít nebude.
|
||
| ggame Profil |
#3 · Zasláno: 30. 3. 2013, 10:27:14
Stylopis
<style type="text/css">
html, body {
position: absolute;
height: 100%;
min-width: 100%;
}
.wrapper {
position: relative;
min-height: 100%;
}
.wrapper + style + iframe {
display: none;
}
.content {
padding: 0 44px;
}
.topbar {
text-align: right;
padding-top: .5em;
padding-bottom: .5em;
}
.t-header-bar {
height: 51px;
background: #f1f1f1;
border-bottom: 1px solid #e5e5e5;
overflow: hidden;
}
.header .logo {
margin: 10px 0 0;
float: left;
}
.header .signin,
.header .signup {
margin: 18px 0 0;
float: right;
font-weight: bold;
}
.header .signin-button,
.header .signup-button {
margin: 12px 0 0;
float: right;
}
.header .signin-button a {
font-size: 5px;
font-weight: normal;
}
.header .signup-button a {
position: relative;
top: -1px;
margin: 0 0 0 1em;
}
.main h1:first-child {
margin: 0 0 .92em;
}
</style>Html </head> <body> <div class="wrapper"> <div class="t-header-bar"> <div class="header content clearfix"> <span class="signup-button"> </a> </span> </div> </div> <div class="main content clearfix"> |
||
| Davex Profil |
#4 · Zasláno: 30. 3. 2013, 13:17:23
Vidím jen prázdnou stránku. Co máš na mysli tím panelem?
Asi budeš potřebovat CSS vlastnosti float a width.
|
||
| ggame Profil |
#5 · Zasláno: 30. 3. 2013, 13:51:01
Ten bílý pruh nahoře. Normálně tam mám i tlačítka ale teď jsem je tam nedal.
|
||
| Str4wberry Profil |
#6 · Zasláno: 30. 3. 2013, 14:17:20
Možná bych to spíš absolutně posicoval.
|
||
| ggame Profil |
#7 · Zasláno: 30. 3. 2013, 17:20:40 · Upravil/a: ggame
Díky, ale jak mám udělat abych ten text v té liště měl nějaký kousek od začátku a zase kousek od konce. Vlastně uprostřed té lišty
Díky už to mám |
||
|
Časová prodleva: 13 let
|
|||
0