Autor | Zpráva | ||
---|---|---|---|
mikepowers Profil |
Zdravím,
Jsem začátečník v css. Potřeboval bych na stránkách zblept.cz posunout vše dolu cca o 100 pixelu. Aby šli vydět hlavy a ten text. Nedaří se mi to. Vyzkoušel jsem toho opravdu dost ( hodiny práce). Budu rád za cokoliv. posílám celé css [pre]/* begin Page */ /* Generated with Artisteer version 2.3.0.23326, file checksum is 2CD2401D. */ body { margin: 0 auto; padding: 0; background-color: #262626; background-image: url('../images/Page-BgTexture.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-position: center center; } #art-main { position: relative; width: 100%; left: 0; top: 0; } #art-page-background-gradient { background-position: center center; } .cleared { float: none; clear: both; margin: 0; padding: 0; border: none; font-size:1px; } form { padding:0 !important; margin:0 !important; } table.position { position: relative; width: 100%; table-layout: fixed; } /* end Page */ /* begin Box, Sheet */ .art-Sheet { position:relative; z-index:0; margin:0 auto; width: 1205px; min-width:23px; min-height:23px; } .art-Sheet-body { position: relative; z-index: 1; padding: 5px; } .art-Sheet-tr, .art-Sheet-tl, .art-Sheet-br, .art-Sheet-bl, .art-Sheet-tc, .art-Sheet-bc,.art-Sheet-cr, .art-Sheet-cl { position:absolute; z-index:-1; } .art-Sheet-tr, .art-Sheet-tl, .art-Sheet-br, .art-Sheet-bl { width: 42px; height: 42px; background-image: url('../images/Sheet-s.png'); } .art-Sheet-tl { top:0; left:0; clip: rect(auto, 21px, 21px, auto); } .art-Sheet-tr { top: 0; right: 0; clip: rect(auto, auto, 21px, 21px); } .art-Sheet-bl { bottom: 0; left: 0; clip: rect(21px, 21px, auto, auto); } .art-Sheet-br { bottom: 0; right: 0; clip: rect(21px, auto, auto, 21px); } .art-Sheet-tc, .art-Sheet-bc { left: 21px; right: 21px; height: 42px; background-image: url('../images/Sheet-h.png'); } .art-Sheet-tc { top: 0; clip: rect(auto, auto, 21px, auto); } .art-Sheet-bc { bottom: 0; clip: rect(21px, auto, auto, auto); } .art-Sheet-cr, .art-Sheet-cl { top: 21px; bottom: 21px; width: 42px; background-image: url('../images/Sheet-v.png'); } .art-Sheet-cr { right:0; clip: rect(auto, auto, auto, 21px); } .art-Sheet-cl { left:0; clip: rect(auto, 21px, auto, auto); } .art-Sheet-cc { position:absolute; z-index:-1; top: 21px; left: 21px; right: 21px; bottom: 21px; background-image: url('../images/Sheet-c.png'); } .art-Sheet { margin-top: -5px !important; } #art-page-background-simple-gradient, #art-page-background-gradient, #art-page-background-glare { min-width:1205px; } /* end Box, Sheet */ /* begin Header */ div.art-Header { margin: 0 auto; position: relative; z-index:0; width: 1195px; height: 225px; } div.art-Header-jpeg { position: absolute; z-index:-1; top: 0; left: 0; width: 1195px; height: 225px; background-image: url('../images/Header.jpg'); background-repeat: no-repeat; background-position: center center; } /* end Header */ /* begin ContentLayout */ .art-contentLayout { position: relative; margin-bottom: 0px; width: 1195px; } /* end ContentLayout */ /* begin Box, Block */ .art-Block { position:relative; z-index:0; margin:0 auto; min-width:1px; min-height:1px; } .art-Block-body { position: relative; z-index: 1; padding: 7px; } .art-Block { margin: 5px; } /* end Box, Block */ /* begin Box, BlockContent */ .art-BlockContent { position:relative; z-index:0; margin:0 auto; min-width:1px; min-height:1px; } .art-BlockContent-body { position: relative; z-index: 1; padding: 0px; } .art-BlockContent-body { color:#D1D1D1; font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 17px; font-style: normal; font-weight: normal; } .art-BlockContent-body a:link { color: #DBDBDB; font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; } .art-BlockContent-body a:visited, .art-BlockContent-body a.visited { color: #A8A8A8; font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; } .art-BlockContent-body a:hover, .art-BlockContent-body a.hover { color: #757575; font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: none; } .art-BlockContent-body ul { list-style-type: none; color: #A6A6A6; margin:0; padding:0; } .art-BlockContent-body ul li { font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 17px; text-decoration: none; line-height: 125%; line-height: 1.25em; padding: 0px 0 0px 18px; background-image: url('../images/BlockContentBullets.png'); background-repeat: no-repeat; } /* end Box, BlockContent */ /* begin Box, Post */ .art-Post { position:relative; z-index:0; margin:0 auto; min-width:1px; min-height:1px; } .art-Post-body { position: relative; z-index: 1; padding: 10px; } .art-Post { margin: 10px; } /* Start images */ a img { border: 0; } .art-article img, img.art-article { margin: 1em; } .art-metadata-icons img { border: none; vertical-align: middle; margin: 2px; } /* Finish images */ /* Start tables */ .art-article table, table.art-article { border-collapse: collapse; margin: 1px; width:auto; } .art-article table, table.art-article .art-article tr, .art-article th, .art-article td { background-color:Transparent; } .art-article th, .art-article td { padding: 2px; border: solid 1px #696969; vertical-align: top; text-align:left; } .art-article th { text-align: center; vertical-align: middle; padding: 7px; } /* Finish tables */ pre { overflow: auto; padding: 0.1em; } /* end Box, Post */ /* begin PostMetadata */ .art-PostMetadataHeader { padding:1px; background-color: #5C5C5C; border-color: #454545; border-style: solid; border-width: 1px; } /* end PostMetadata */ /* begin PostHeaderIcon */ .art-PostHeader { text-decoration:none; margin: 0.2em 0; padding: 0; font-weight:normal; font-style:normal; letter-spacing:normal; word-spacing:normal; font-variant:normal; text-decoration:none; font-variant:normal; text-transform:none; text-align:left; text-indent:0; line-height:inherit; font-family: "Comic Sans MS", Tahoma, Arial, Sans-Serif; font-size: 31px; font-style: normal; font-weight: bold; text-align: left; color: #EBEBEB; } .art-PostHeader a, .art-PostHeader a:link, .art-PostHeader a:visited, .art-PostHeader a:hover { font-family: "Comic Sans MS", Tahoma, Arial, Sans-Serif; font-size: 31px; font-style: normal; font-weight: bold; text-align: left; margin:0; color: #EBEBEB; } /* end PostHeaderIcon */ /* begin PostHeader */ .art-PostHeader a:link { font-family: "Comic Sans MS", Tahoma, Arial, Sans-Serif; text-decoration: none; text-align: left; color: #D1D1D1; } .art-PostHeader a:visited, .art-PostHeader a.visited { font-family: "Comic Sans MS", Tahoma, Arial, Sans-Serif; text-decoration: none; text-align: left; color: #BFBFBF; } .art-PostHeader a:hover, .art-PostHeader a.hovered { font-family: "Comic Sans MS", Tahoma, Arial, Sans-Serif; text-decoration: none; text-align: left; color: #1A1A1A; } /* end PostHeader */ /* begin PostIcons */ .art-PostHeaderIcons { padding:1px; } .art-PostHeaderIcons, .art-PostHeaderIcons a, .art-PostHeaderIcons a:link, .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a:hover { font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 15px; color: #EBEBEB; } .art-PostHeaderIcons a, .art-PostHeaderIcons a:link, .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a:hover { margin:0; } .art-PostHeaderIcons a:link { font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #1A1A1A; } .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a.visited { font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #1A1A1A; } .art-PostHeaderIcons a:hover, .art-PostHeaderIcons a.hover { font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: none; color: #ADADAD; } /* end PostIcons */ /* begin PostContent */ /* Content Text Font & Color (Default) */ body { font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 17px; font-style: normal; font-weight: normal; color: #D1D1D1; } .art-PostContent { font-family: Tahoma, Arial, Helvetica, Sans-Serif; font-size: 17px; font-style: normal; font-weight: normal; text-align: justify; color: #D1D1D1; } /* Start Content link style */ /* The right order of link pseudo-classes: Link-Visited-Hover-Focus-Active. http://www.w3schools.com/CSS/css_pseudo_classes.asp http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states/ */ a { font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #757575; } /* Adds special style to an unvisited link. */ a:link { font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #757575; } /* Adds special style to a visited link. */ a:visited, a.visited { font-family: Tahoma, Arial, Helvetica, Sans-Serif; text-decoration: underline; color: #C2C2C2; } /* :hover - adds special style to an element when you mouse ove |
||
jenikkozak Profil |
#2 · Zasláno: 2. 7. 2012, 22:42:18
mikepowers:
Divu art-main zvyš hodnotu vlastnosti top . Dále bude asi lepší, když obrázku na pozadí body nastavíš vertikální umístění na top , protože jinak ti při snižování výšky okna prohlížeče bude nápis i hlavy ujíždět mimo zobrazenou oblast.
|
||
mikepowers Profil |
#3 · Zasláno: 2. 7. 2012, 23:02:19
zvýšil jsem v art-main top na 100 a stále beze změny.
|
||
jenikkozak Profil |
#4 · Zasláno: 2. 7. 2012, 23:09:11
mikepowers:
Sto čeho? Doplň k tomu jednotku. |
||
mikepowers Profil |
#5 · Zasláno: 2. 7. 2012, 23:52:03
Děkuji skvělé. A ještě k tomu vertikálnímu umístění
top to jsem nějak nepochopil.
|
||
Časová prodleva: 3 dny
|
|||
jenikkozak Profil |
#6 · Zasláno: 5. 7. 2012, 13:59:39
mikepowers:
„A ještě k tomu vertikálnímu umístění top to jsem nějak nepochopil.“ Ale ano, ve zdrojovém kódu, který jsi sem vložil, máš: body { margin: 0 auto; padding: 0; background-color: #262626; background-image: url('../images/Page-BgTexture.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-position: center center; } background-position: center top; .
|
||
mikepowers Profil |
#7 · Zasláno: 7. 7. 2012, 01:32:34
aha toto .. Díky moc
|
||
Časová prodleva: 12 let
|
0