WordPress

Witaj Gościu ( Zaloguj | Rejestruj )

Każdy temat założony w ewidentnie złym dziale będzie usuwany! Proszę czytać opisy działów i regulamin!

 
Reply to this topicStart new topic
> Zmiana wysokości obrazka?
Devik
post 14.3.2008 - 18:09
Post #1


aktywność:
*

Grupa: Bloger
Postów: 14

Nr: 3 490



Witam!

Mianowicie mam problem z emotikonami, które sam wrzuciłem do swojego stylu, jednakże ani one, ani te poprzednie nie były dostatecznie wypozycjonowane, tak aby ładnie współgrały z tekstem na blogu. Poniżej zamieszczam screen a poniżej wyjaśnienia i omówię o co mi chodzi.

1. Duża strzałka przedstawia wysokość emotki nad tekstem, czy da się tak zrobić by emotka była na wysokości równa z tekstem, bądź przynajmniej jakoś niżej? Nie chcę tutaj rozwiązania graficznego, w sposób w który tworze nową grafikę o tej samej szerokości, natomiast wysokość powiększam i emotek umieszczam na samym dole grafiki - to nie rozwiązuje problemu.
2. Mała strzałka po lewej stronie dotyczy również dużej chodzi mi o to by odstępy między wersami były takie same jak od trzeciego w dół, te wersy 1,2,3 są zmienione poprzez grafiki.

Czy da się to jakoś wszystko zrobić??
Go to the top of the page
 
+Quote Post
Kasia79
post 14.3.2008 - 19:58
Post #2


aktywność:
*******

Grupa: Redakcja
Postów: 879

Nr: 2 641



W style.css dodaj vertical-align:middle; do emotek.

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
Devik
post 14.3.2008 - 20:02
Post #3


aktywność:
*

Grupa: Bloger
Postów: 14

Nr: 3 490



Nie bardzo wiem gdzie.
CODE
/*
Theme Name: Devik Style
Theme URI: http://www.devik.pl/
Description: Beta Version
Version: 2.0
Author: Kamil Rusjan
Author URI: http://www.devik.pl/
*/

* {
margin: 0;
padding: 0;
}

body {
background: #F6F6F6 url(images/tlo.png) repeat-x;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #75746f;
}

form {
}

input, textarea {
padding: 2px 5px;
border: 1px solid #EBEBEB;
font: bold 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #75746f;
}

h1, h2, h3, h4 {
margin: 0;
}

h2, h3, h4 {
margin-bottom: 20px;
padding-bottom: 9px;
border-bottom: 1px solid #F2F2F2;
letter-spacing: -0.035em;
font-weight: normal;

}

h2 {
font-size: 20px; font-family:"Times New Roman", serif; margin: 0px; color:#75746f; letter-spacing: -1px;;
}

h3 {
font-size: 20px; font-family:"Times New Roman", serif; margin: 0px; color:#75746f;
}

h4 {
font-size: 14px;
font-weight: bold;
}

p, ul, ol {
margin-bottom: 1.5em;
line-height: 170%;
text-align: justify;
}

ul, ol {
margin-left: 3em;
}

dl.list1 {
margin: 0;
padding: 0;
list-style: none;
}

dl.list1 dt {
float: left;
width: 70px;
}

dl.list1 dd {
margin-bottom: 10px;
}

dl.list1 a {
color: #666666;
}

ul.list2 {
margin: 0;
padding: 0;
list-style: none;
line-height: normal;
}

ul.list2 li {
float: left;
margin: 0 18px 18px 0;
}

ul.list2 li.nopad {
margin-right: 0;
}

blockquote {

margin-left: 2em;
margin-right: 2em;
font-style:italic;
}

a {
color: #BD3A3A;
}
a:hover { text-decoration: underline;
}

a img {
border: none;
}

img.left {
float: left;
margin: 5px 20px 0 0;
}

img.right {
float: right;
margin: 5px 0 0 20px;
}

hr {
display: none;
}

/* Wrapper */

#wrapper {
width: 960px;
margin: 0 auto;
background: url(images/img02.png) repeat-y;
}

#wrapper2 {
background: url(images/tlosrodekdlugosc.png) no-repeat left bottom;
}

/* Header */

#header {
height: 200px;
background: #544f4d url(images/test.png) no-repeat;
}

/* Logo */

#logo {
float: left;
}

#logo h1 {
margin: 0;
padding: 90px 0 0 78px;
text-transform: lowercase;
letter-spacing: -3px;
font-size: 40px;
color: #FFFFFF;
}

#logo h1 a {
text-decoration: none;
color: #FFFFFF;
}



/* Page */

#page {
background: url(images/tlosrodek2.png) no-repeat;
}

/* Content */

#content {
float: left;
width: 555px;
padding: 0 0 0 76px;
}

.post {
padding-top: 50px;
}

.post .title {
}

.post .title a {
text-decoration: none;
color: #BD3A3A;
}

.post .title
a:hover { text-decoration: underline;
}

.post .entry {

}

.post .meta {
height: 16px;
margin: 0;
padding: 10px;
background: url(images/img07.jpg) repeat-x left bottom;
line-height: normal;

}

.post .meta .posted {
display: block;
float: left;
text-decoration: none;

}

.post .meta .permalink {
display: block;
float: right;
padding-left: 17px;
background: url(images/img09.gif) no-repeat left center;

}

.post .meta .comments {
display: block;
float: right;
padding: 0 30px 0 19px;
background: url(images/img08.gif) no-repeat left center;
}
/* INFORMACJE POD POSTEM ********************************************************/
.post .longmeta {
line-height: normal;
font-size:10px;
}

/* Navigation */

.navigation {
clear: both;
padding: 20px 0;
font-family:"Times New Roman", serif;
margin: 0px;
font-size: 20px;
text-decoration: none;
}



.alignleft {
float: left;
}

.alignright {
float: right;
}

/* Sidebar */


#sidebar {
float: right;
width: 186px;
padding: 67px 76px 0 0;




}

#sidebar h2 {
font-size: 16px;
font-weight: bold;

}


#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
text-decoration:none;}
a:link {color: #BD3A3A; text-decoration: none}
a:visited {color: #BD3A3A; text-decoration: none}
a:hover {color: #BD3A3A; text-decoration: underline}
a:active {color: #BD3A3A; text-decoration: none}
w { text-decoration: underline; }



#sidebar li {
margin-bottom: 40px;

}

#sidebar li ul {
text-decoration:none
}

#sidebar li li {
margin: 0;
text-decoration:none

}

/* Search */


#search {
}

#search br {
display: none;
}

#search input {
padding: 1px;
border-top: 1px solid #ddd9cd;
border-left: 1px solid #ddd9cd;
border-right: 1px solid #ddd9cd;
border-bottom: 1px solid #ddd9cd;
background: #e8e8e8 url(images/img18.png) repeat-x;
font-size: 11px;
font-weight: normal;
color: #6a6a6a;
}

#search #s {
width: 110px;
padding: 2px 5px;
background: #FFFFFF;
border: 1px solid #EBEBEB;
font: normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #75746f;
}

/* Comments */

#comments {
}

#comment {
width: 500px;
}


/* Footer */

#footer {
height: 108px;
background: url(images/dol.png) no-repeat;
}

#footer p {
margin: 0;
padding-top: 45px;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:12px;
text-align: center;
color: #75746f;
}

#footer a {
color: #666666;
}
Powód edycji: wstawienie codebox
Go to the top of the page
 
+Quote Post
Kasia79
post 16.3.2008 - 12:01
Post #4


aktywność:
*******

Grupa: Redakcja
Postów: 879

Nr: 2 641



Bo nie masz zdefiniowanej stylizacji emotek. Standardowo w WP używa się do tego img.wp-smiley .

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
Devik
post 16.3.2008 - 14:21
Post #5


aktywność:
*

Grupa: Bloger
Postów: 14

Nr: 3 490



A jak to wszystko zrobić?
Go to the top of the page
 
+Quote Post
Kasia79
post 18.3.2008 - 19:32
Post #6


aktywność:
*******

Grupa: Redakcja
Postów: 879

Nr: 2 641



Hmm.. napisałam jak zdefiniowac emotki, jaki atrybut doń przypisać i w jakim pliku. Chyba potrafisz dodać 2 do 2?

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post
Devik
post 18.3.2008 - 22:32
Post #7


aktywność:
*

Grupa: Bloger
Postów: 14

Nr: 3 490



Ja i tak nie mam zielonego pojęcia o czym mówisz sad.gif Ja jestem tylko grafikiem..
Go to the top of the page
 
+Quote Post
Kasia79
post 19.3.2008 - 22:41
Post #8


aktywność:
*******

Grupa: Redakcja
Postów: 879

Nr: 2 641



Poproś więc osobę, która stworzyła twój style.css, by przeczytała ten wątek. Będzie wiedział/wiedziała, co zrobić.

Kasia


--------------------
Curiosity killed the cat, but satisfaction brought her back.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



Wersja Lo-Fi Aktualny czas: 8 01 09 - 00:46
WebFan | Forum Komputerowe | Spotkania blogerów