vitao.web Posted March 15, 2010 Report Share Posted March 15, 2010 Sveiki! Zinu, ka kļūda ir muļķīga, bet nevaru atrast, un kļūstu nervozs :D Lieta tāda: .css *{margin: 0; padding: 0;} body{background: url(../bildes/Vintage3-05.jpg);} #wrapper {width: 1000px; height: 600px;margin: 0px auto 0px auto;text-align: left; background-image: url(../bildes/bg_shade.png);} #linija{ background: url(../bildes/top_line.jpg); width: 1000px; height: 3px; margin: 0px auto 0px auto;} .html <html> <head> <title></title> <link rel="stylesheet" href="css/stils.css" type="text/css" /> </head> <body> <div id="wrapper"> <div id="linija"></div> <div style="clear: both"></div> </div> </body> </html> Tātad, kas ir par problēmu: body fons ir pareizi, bet kad wrappera izmantoju fona bildi, kurai apkārt ir ēna, tad, ja es ierakstu, kaut ko iekšā vai vēlos pielikt vēl kaut ko, tad man tas viss ir virs tās bildes. Un kad cenšos nopozicionēt to tekstu, tā lai tas būtu iekšā wrappera bildē, tad viss wrapperis iet uz leju. Zinu ka kļūda nav liela, bet nekrīt acī. Palīdziet lūdzu :) Paldies! Quote Link to comment Share on other sites More sharing options...
vitao.web Posted March 15, 2010 Author Report Share Posted March 15, 2010 kads vares palidzet? :) Quote Link to comment Share on other sites More sharing options...
2easy Posted March 15, 2010 Report Share Posted March 15, 2010 uzliec online Quote Link to comment Share on other sites More sharing options...
vitao.web Posted March 15, 2010 Author Report Share Posted March 15, 2010 Nevaru, jo mans provideris nelauj tadas lietas,.. karo4 ieesiet mana IP adrese, tad jums tur bus vinu reklama bla bla utt... Nu lieta tada ka ir ta bilde, tas wrapperis ar enu apkart ~ 10 px. nu un sakas teksts uz tas enas jau uzreiz.. un kad velos kaut ko pievienot klat piemeram iecentret taja raami vnk box ar fff fonu, tad vins nomet to background bildi uz leju... Te abas bildes...fons un konteineris(wrapperis) Quote Link to comment Share on other sites More sharing options...
2easy Posted March 15, 2010 Report Share Posted March 15, 2010 tādā gadījumā ieliec printsrceen, kā ir šobrīd/nepareizi (bilde virs kkā? kkas nobrauc lejā?), jo savādāk tā īsti nevar saprast Quote Link to comment Share on other sites More sharing options...
vitao.web Posted March 15, 2010 Author Report Share Posted March 15, 2010 OKEY! Quote Link to comment Share on other sites More sharing options...
2easy Posted March 15, 2010 Report Share Posted March 15, 2010 (edited) tekstu liec nevis pa taisno iekš tā wrappera, bet iekš <div style="padding: 100px">bla bla bla</div> un pieregulē paddingu pēc vajadzības http://w3schools.com/css/pr_padding.asp Edited March 15, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
vitao.web Posted March 15, 2010 Author Report Share Posted March 15, 2010 paldies es te ar margin nemos :d He skaidrite..liels paldies :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.