Dreamweaver CS4 problem sa tekstom i slikom

Napravio sam div za header,footer,navigation menu i evo za sliku na kojoj treba da bude tekst.
Tu dolazi do problema, u tom divu sam napisao tekst i dao mu CSS rule. Stavio sam da je pozadina slika na kojoj ocu da bude tekst.
Pisem tekst i stvarno se pojavljuje slika ispod ali cim udarim “enter” da predjem u novi red izmedju tog div-a u kome pisem i onog od futera i hedera se pojavljuju 2 prazne bele linije.
Dok je sve u jednom redu,znaci bez entera nema tih praznina. :S
Ako moze pomoc evo i slike problema… :smiley:

Evo i ceo kod ako treba:

<span class="syntaxdefault"></span><span class="syntaxkeyword"><!</span><span class="syntaxdefault">DOCTYPE&nbsp;html&nbsp;</span><span class="syntaxkeyword">PUBLIC&nbsp;</span><span class="syntaxstring">"-//W3C//DTD&nbsp;XHTML&nbsp;1.0&nbsp;Transitional//EN"&nbsp;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span><span class="syntaxkeyword">><br /><</span><span class="syntaxdefault">html&nbsp;xmlns</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"http://www.w3.org/1999/xhtml"</span><span class="syntaxkeyword">><br /><</span><span class="syntaxdefault">head</span><span class="syntaxkeyword">><br /><</span><span class="syntaxdefault">meta&nbsp;http</span><span class="syntaxkeyword">-</span><span class="syntaxdefault">equiv</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"Content-Type"&nbsp;</span><span class="syntaxdefault">content</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"text/html;&nbsp;charset=utf-8"&nbsp;</span><span class="syntaxkeyword">/><br /><</span><span class="syntaxdefault">title</span><span class="syntaxkeyword">></span><span class="syntaxdefault">Untitled&nbsp;Document</span><span class="syntaxkeyword"></</span><span class="syntaxdefault">title</span><span class="syntaxkeyword">><br /><</span><span class="syntaxdefault">style&nbsp;type</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"text/css"</span><span class="syntaxkeyword">><br /><!--<br /></span><span class="syntaxcomment">#wrapper&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntaxdefault">width</span><span class="syntaxkeyword">:&nbsp;</span><span class="syntaxdefault">882px</span><span class="syntaxkeyword">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntaxdefault">margin</span><span class="syntaxkeyword">-</span><span class="syntaxdefault">right</span><span class="syntaxkeyword">:&nbsp;</span><span class="syntaxdefault">auto</span><span class="syntaxkeyword">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntaxdefault">margin</span><span class="syntaxkeyword">-</span><span class="syntaxdefault">left</span><span class="syntaxkeyword">:&nbsp;</span><span class="syntaxdefault">auto</span><span class="syntaxkeyword">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntaxdefault">height</span><span class="syntaxkeyword">:&nbsp;</span><span class="syntaxdefault">auto</span><span class="syntaxkeyword">;<br />}<br /></span><span class="syntaxcomment">#tekst&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="syntaxdefault">background</span><span class="syntaxkeyword">-</span><span class="syntaxdefault">image</span><span class="syntaxkeyword">:&nbsp;</span><span class="syntaxdefault">url</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">images</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">content</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">png</span><span class="syntaxkeyword">);<br />}<br />--><br /></</span><span class="syntaxdefault">style</span><span class="syntaxkeyword">><br /></</span><span class="syntaxdefault">head</span><span class="syntaxkeyword">><br /><br /><</span><span class="syntaxdefault">body</span><span class="syntaxkeyword">><br /><</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"wrapper"</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;<</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"header"</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"navigation"</span><span class="syntaxkeyword">><</span><span class="syntaxdefault">img&nbsp;src</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"images/header.png"&nbsp;</span><span class="syntaxdefault">width</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"882"&nbsp;</span><span class="syntaxdefault">height</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"128"&nbsp;</span><span class="syntaxkeyword">/><br />&nbsp;&nbsp;&nbsp;&nbsp;</</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"slika"</span><span class="syntaxkeyword">><</span><span class="syntaxdefault">img&nbsp;src</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"images/slika.png"&nbsp;</span><span class="syntaxdefault">width</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"882"&nbsp;</span><span class="syntaxdefault">height</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"172"&nbsp;</span><span class="syntaxkeyword">/></</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;</</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;<</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"content"</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"tekst"</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">p</span><span class="syntaxkeyword">></span><span class="syntaxdefault">Content&nbsp;</span><span class="syntaxkeyword">for&nbsp;&nbsp;</span><span class="syntaxdefault">id&nbsp;</span><span class="syntaxstring">"tekst"&nbsp;</span><span class="syntaxdefault">Goes&nbsp;Here</span><span class="syntaxkeyword"></</span><span class="syntaxdefault">p</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">p</span><span class="syntaxkeyword">></span><span class="syntaxdefault">kajshdaksjhdasjkhd</span><span class="syntaxkeyword"></</span><span class="syntaxdefault">p</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<</span><span class="syntaxdefault">p</span><span class="syntaxkeyword">></span><span class="syntaxdefault">kasjdha</span><span class="syntaxkeyword"></</span><span class="syntaxdefault">p</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;&nbsp;&nbsp;</</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;</</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br />&nbsp;&nbsp;<</span><span class="syntaxdefault">div&nbsp;id</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"For&nbsp;author"</span><span class="syntaxkeyword">><</span><span class="syntaxdefault">img&nbsp;src</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"images/author.png"&nbsp;</span><span class="syntaxdefault">width</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"882"&nbsp;</span><span class="syntaxdefault">height</span><span class="syntaxkeyword">=</span><span class="syntaxstring">"61"&nbsp;</span><span class="syntaxkeyword">/></</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br /></</span><span class="syntaxdefault">div</span><span class="syntaxkeyword">><br /></</span><span class="syntaxdefault">body</span><span class="syntaxkeyword">>&nbsp;</span><span class="syntaxdefault"></span>

stisneš enter i shift zajedno onda samo radi jedan red.
Uglavnom trebao bi se malo kodam zabaviti a ne držati se samo dreamweavera.

kajshdaksjhdasjkhd

kasjdha

Enter odma stvar

tag

Nisam te bas najbolje razumeo,nisam bas vest sa kodom pocetnik sam. :S


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja