Puika1 Posted February 16, 2012 Report Share Posted February 16, 2012 (edited) Man izvelnē bilde nav īstajā vietā :( li css #navigation li {list-style: none; background: url(images/tab.png) repeat-x;color:#686868;padding-left:10px;} Kā risināt šo problēmu?</pre> #navigation a { color: #fff; display:block; height:25px; line-height: 25px; text-indent: 10px; text-decoration:none; width:100%;} </pre> Edited February 16, 2012 by Puika1 Quote Link to comment Share on other sites More sharing options...
vostro Posted February 16, 2012 Report Share Posted February 16, 2012 (edited) margin-top:3px; Edited February 16, 2012 by vostro Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 17, 2012 Report Share Posted February 17, 2012 background-position: center; Quote Link to comment Share on other sites More sharing options...
mareks.zirdzins Posted March 6, 2012 Report Share Posted March 6, 2012 (edited) Vienkārši atver bildi GIMPā un pieliec caurspīdīgu augšējo maliņu klāt kādus pāris pikseļus. Otrs variants ir relatīvi uzpozicionēt tekstu pret bildi.<pre class="prettyprint">#navigation a {position:relative;top:-5px;}</pre> Edited March 6, 2012 by mareks.zirdzins Quote Link to comment Share on other sites More sharing options...
mad182 Posted March 6, 2012 Report Share Posted March 6, 2012 (edited) background: url(images/tab.png) repeat-x 0 50% Edited March 6, 2012 by mad182 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.