Autor Zpráva
hero95
Profil
dobry den
potrebuju pomoc
chtel bych si naprogramovat v css
vec ktera udela to ze kdys si dam na web obrazek
tak automaticky udela ramecek
Railbot
Profil
v CSS se neprogramuje, ale kóduje.

img {border: 1px solid barva}

Třeba.
roberta
Profil
skús si pozrieť http://css.interval.cz/

napr. tu majú obrázky rámčeky:
http://css.interval.cz/clanky/galerie-pomoci-vlastnosti-float/
http://css.interval.cz/clanky/fotogalerie-se-zmensenymi-obrazky-a-popi sky/
Bubák
Profil
www.jakpsatweb.cz/css/border.html
hero95
Profil
ok diky
hero95
Profil
tak ja to skousel ale nejde mi to hodnot.i-extra.net/web
Měsíček
Profil
Protože to nadefinuješ a zase znovu to dáš pryč podívej se pořádně :

img
{
border: 1px #e6e6e6 solid;
}

}
body
{
margin: 0;
padding: 0;
color: #333;
background:#f1f1f1 url(images/bgshade.gif) repeat-y center;
font-family:"Trebuchet MS", Verdana, Arial, Serif;
font-size:small;
}
html>body
{
font-size:small;
}
img {
border:0;
}

nahoře sice definuješ rámeček, ale dole ho zase rušíš.
hero95
Profil
no vid tak to mam
Měsíček
Profil
Ale to je špatně :)
Měsíček
Profil
a jinak tohle img
{
border: 1px #e6e6e6 solid;
}

by mělo být spíše takhle :

img
{
border: 1px solid #e6e6e6;
}
hero95
Profil
ahaaaaa jj uz to vidim ja sem si to nevsim sry
hero95
Profil
img
{
border: 1px #e6e6e6 solid;
}

}
body
{
margin: 0;
padding: 0;
color: #333;
background:#f1f1f1 url(images/bgshade.gif) repeat-y center;
font-family:"Trebuchet MS", Verdana, Arial, Serif;
font-size:small;
}
html>body
{
font-size:small;
}
img {
border:1;
}
hero95
Profil
muze bejt?
hero95
Profil
asi ne co??porad nefunguje
Měsíček
Profil
nevšim, ale máš to tam zase.
Měsíček
Profil
img
{
border: 1px solid #e6e6e6;
}

}
body
{
margin: 0;
padding: 0;
color: #333;
background:#f1f1f1 url(images/bgshade.gif) repeat-y center;
font-family:"Trebuchet MS", Verdana, Arial, Serif;
font-size:small;
}
html>body
{
font-size:small;
}

==========

tohle je správně nic víc ani nic míň.
hero95
Profil
ale porad to nesznguje
http://hodnot.i-extra.net/web/?p=3
hero95
Profil
http://hodnot.i-extra.net/web/wp-content/themes/deffault-hero95/style. css
Měsíček
Profil
Zde nemáš uzavřenou závorku :

* {
margin:0;
padding:0;
img
{
border: 1px solid #e6e6e6;
}
hero95
Profil
j jsem asi tak blbej ale aha jak mi vypada web:-D
http://hodnot.i-extra.net/web/?p=3
Měsíček
Profil
až tohle :

* {
margin:0;
padding:0;
img
{
border: 1px solid #e6e6e6;
}

dáš na

* {
margin:0;
padding:0;

}
img {
border: 1px solid #e6e6e6;
}

tak to bude vypadat lépe
hero95
Profil
pls nemuzes mi to udelam mne to nejede
:(



/*
Theme Name: Bamboo
Description: Bamboo by <a href="http://wpthemeland.com/themes/bamboo/" title="WordPress Theme Land">WordPress Theme Land</a>.
Version: 1.0
Author: WordPress Theme Land
Author URI: http://wpthemeland.com/
*/

/* Generic Styling */
*

{
margin:0;
padding:0;
}
img {
border: 1px solid #e6e6e6;
}
}
body
{
margin: 0;
padding: 0;
color: #333;
background:#f1f1f1 url(images/bgshade.gif) repeat-y center;
font-family:"Trebuchet MS", Verdana, Arial, Serif;
font-size:small;
}
html>body
{
font-size:small;
}
img {
border:0;
}
img.right
{
float:right;
margin:0 0 1em 1em;
}
img.left
{
float:left;
margin:0 1em 1em 0;
}
a img
{
border-bottom:#6cc7dc 1px dashed;
padding-bottom:3px;
}
h1,h2,h3,h4,h5,h6
{
font-family:Georgia, Arial, Verdana, Serif;
line-height:1.6em;
font-weight:normal;
margin:0;
padding:0;
}
h2, h3
{
clear:both;
font-size:1.6em;
}
h2.pagetitle
{
margin-left:10px;
}
p
{
margin-bottom:0.5em;
line-height:1.8em;
}
a:link,a:visited
{
color:#462;
text-decoration:none;
border-bottom:#dcc 1px dashed;
}
a:hover, a:active
{
color: #000;
text-decoration: none;
border-bottom:#000 1px solid;
}
.clear
{
clear:both;
}
blockquote
{
margin:1em;
padding:0.5em 0 0 5em;
background:#fff url(images/quote.gif) no-repeat left top;
color:#666;
}
ol, ul
{
margin:0;
padding:0;
}
li
{
margin:5px 0;
padding:0;
}
#content ul, #content ol
{
margin:0.5em;
padding:0 1em;
}
#content ul
{
list-style-image:url(images/bullet.gif);
}
/* Structure */

#wrapper {
margin:0 auto;
width:660px;
padding:10px;
background:#fff;
border:1px solid #ddd;
}
/* Header */
#header
{
background:url(images/bamboo.jpg) no-repeat;
height:160px;
text-align:right;
}
#header h1
{
font-size:1.8em;
padding:10px 10px 0 0;

}
#header *
{
color:#fff;
border-bottom:none;
}
#header h2
{
margin:0;
padding:0 10px;
font-size:1em;
font-style:italic;
}
/* Navigation */
ul#navigation {
list-style:none;
margin:0.5em auto;
padding:0;
font-family:Arial,Georgia, Verdana, Serif;
font-weight:bold;
background:#eee url(images/top-bar.gif) repeat-x top;
text-transform:uppercase;
height:28px;
line-height:28px;
font-size:1em;
}

ul#navigation li
{
float:left;
margin:0;
padding:0;
list-style:none;
white-space:nowrap;
background:none;
}

ul#navigation li a {
display:block;
padding:0 15px;
text-transform:uppercase;
border:none;
}
ul#navigation li a:hover,ul#navigation li a:active, #navigation li.current_page_item a
{
text-decoration:underline;

}
ul#navigation li#feed
{
float:right;
background:url(images/icon_feed.gif) no-repeat left;
}
/* Entries */

.entry {
padding:10px;
margin-bottom:2em;
}
.entry h2 a:link,
.entry h2 a:visited,
.entry h2 a:hover,
.entry h2 a:active
{
border:none;
}
.entry-content
{
margin:1.5em 0;
clear:both;
}
.date
{
float:right;
padding:5px 10px;
font-size:0.6em;
font-weight:normal;
font-style:normal;
text-align:center;
width:185px;
margin:0;
color:#666;
background:url(images/cal.jpg) no-repeat;

}
.info
{
clear:both;
font-size:0.9em;
color:#999;
margin:0;
padding:3px 0;
border-top:#eee 1px solid;
}
.info a:link,
.info a:visited
{
color:#666;
}
.info a:hover
.info a:visited
{
border-bottom:1px solid;
}
.comments
{
float:right;
}
.comments a
{
background:url(images/icon_comments.gif) no-repeat;
padding-left:15px;
}


/* Sidebar */
#sidebar {
margin:0 auto;
padding: 5px;
background:#f6f3f3;
}
#sidebar h2
{
font-style:italic;
font-size:1.4em;
}
#sidebar ul
{
margin:0;
padding:5px 10px;
list-style:none;
}
#sidebar li
{
margin:0;
padding:5px 0;
}
#sidebar form
{
margin:0;
padding:10px 0;
}
#sidebar ul ul ul
{
padding-left:10px;
}
#sidebar1
{
float:left;
width:290px;
padding:0 10px;
margin:0;
}
#sidebar2
{
float:right;
width:290px;
padding:0 10px;
margin:0;
}



/* Footer */
#footer {
clear:both;
width:660px;
margin:0 auto;
padding:5px 10px;
font-size:1em;
border:#fff 1px solid;
line-height:16px;
background:#eee url(images/top-bar.gif) repeat-x top;
}
#footer p span
{
margin:-20px 0 0 0;
float:right;
}
/************************************************
* Comments *
************************************************/

#content .commentlist
{
margin:0;
padding:0;
border-top:#ddd 1px solid;

}
#content .commentlist li
{
list-style:none;
margin: 0;
padding:1.5em;
border-bottom: #ddd 1px solid;
}
.commentlist li.alt
{
background:#f6f3f3;
}
.commentlist li .cmtinfo
{
font-size:0.9em;
text-align:right;
color:#999;
}
.commentlist li cite
{
font-style:normal;
font-weight:bold;
font-size:1.1em;
float:left;
color:#333;
}
#content .nocomments
{
text-align:center;
color:#999;
font-size:0.9em;
font-style:italic;
}
.trackback
{
background:url(images/icon_trackback.png) no-repeat left center;
padding:0px 17px;
}
#wrapper .feed
{
background:url(images/icon_feed.gif) no-repeat left center;
padding:5px 17px;
}
input.textbox
{
border:#ccc 1px solid;
background:#f9f9f9;
font:1em Verdana, Arial, Serif;
padding:2px;
width:150px;
}
textarea{
width: 90%;
padding:5px;
height: 20em;
border: 1px solid #ccc;
background:#f9f9f9;
font:1em Verdana, Arial, Serif;
}
.textbox:focus, textarea:focus
{
background:#fff;
border:#999 1px solid;
}
#header, #content, #sidebar, #footer, .widget
{
overflow:hidden;
}
Měsíček
Profil
nespamuj smaž to (zde) a nahoře dej tohle :

/*
Theme Name: Bamboo
Description: Bamboo by <a href="http://wpthemeland.com/themes/bamboo/" title="WordPress Theme Land">WordPress Theme Land</a>.
Version: 1.0
Author: WordPress Theme Land
Author URI: http://wpthemeland.com/
*/

/* Generic Styling */
*{
margin:0;
padding:0;
}
img {
border: 1px solid #e6e6e6;
}

body
{
margin: 0;
padding: 0;
color: #333;
background:#f1f1f1 url(images/bgshade.gif) repeat-y center;
font-family:"Trebuchet MS", Verdana, Arial, Serif;
font-size:small;
}

...
Měsíček
Profil
byla tam zase špatně {}
hero95
Profil
ok fakt sry
Railbot
Profil
hero95
Kdybys používal nějaký inteligentní editor na psaní kódu, tak bys tu neuzavřenou závorku hned viděl.
hero95
Profil
jj dnes sem si stahl PSpad
ale doted sem to delal cez
notpad
hero95
Profil
diky moc
uz to mam
Bubák
Profil
dnes sem si stahl PSpad
Doporučil bych k němu TopStyle Lite, můžeš používat samostatně, nebo jako "pugin" v PSPadu.
hero95
Profil
ok kdys budu mit cas tak si to zitra stahnu

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0