margin=ok, border=ko y padding=ko

Buenas a todos otra vez... :oops:

Si otra vez me he atascado... y esta vez no veo solución.... jejeje

os muestro que he hecho:

css:

* {text-indent: 0px ; margin:0px ; padding:0px ; border: 0px}
body {text-aling:center}
img {border: 30px}
.centrado {text-aling:center}
#global{width:800px ; margin:4px auto}
#prueba {background-color: orange ; text: center}
#prueba img{border:10px}

html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Page title</title>
<link rel="stylesheet" href="prueba-curso.css" type="text/css" media="all">
</head>
<body>
<div id="prueba">[contenido no disponible]esta es la img</div>


</body>
</html>


no esta puesto pero el "margin" me sale de narices pero luego el booder y el padding (claro) no tengo narices a ponerlos...¿que hago mal?

se que soy muy torpe...quiero correr mucho y los codigos estan fatal pero esque abro una tienda en poco tiempo y como se me hecha el tiempo encima me pongo muy vervioso....os agradezco mucho vuestra paciendia....os promero que cuando la tenga y sepa mas ayudare todo lo que pueda al resto de la gente...muchas gracias....jejeje
Fermarmax
Hola

css: 

* {text-indent: 0px ; margin:0px ; padding:0px ; border: 0px} 
body {text-aling:center} 
img {border: 30px} 
.centrado {text-aling:center} 
#global{width:800px ; margin:4px auto} 
#prueba {background-color: orange ; text: center} 
#prueba img{border:10px} 

html: 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 

<html> 
<head> 
<title>Page title</title> 
<link rel="stylesheet" href="prueba-curso.css" type="text/css" media="all"> 
</head> 
<body> 
<div id="prueba">[img]objetos/sonrisa.gif[/img]esta es la img</div> 


</body> 
</html> 

que tal si haces esto:

css: 

* {text-indent: 0px ; margin:0px ; padding:0px ; border: 0px} 
body {text-aling:center} 
img {border: none; marging: 30px paddin: 20px } 


.centrado {text-aling:center} 
#global{width:800px ; margin:4px auto} 
#prueba {background-color: orange ; text: center} 
#prueba img{border:10px} 

html: 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 

<html> 
<head> 
<title>Page title</title> 
<link rel="stylesheet" href="prueba-curso.css" type="text/css" media="all"> 
</head> 
<body> 
<div id="prueba">[img]objetos/sonrisa.gif[/img]esta es la img</div> 


</body> 
</html>