go41

need your quick help with a simple DIV/CSS positioning issue

von Joern am 9. Mai. 2010 | Keine Kommentare

I have created a new div region in index.php of my arthemia blog.
I have named it.
<div class="live>
<font color="white">testing
</div>
Here is the CSS info.
.live{
position:relative;

top:100px;

left:-20px;

margin-left:25px;

font-size:0.7em;

font-color:white;

}
Nothing happens. The text doesn’t change.
What am I doing wrong?
Thanks
O

(von: omerkhan01)

Hier noch 4 weitere Ergebnisse dieses Threads:

Re: need your quick help with a simple DIV/CSS positioning issue :: Reply by Joern

9. Mai. 2010 (von: Joern)

copied from source code of your site it looks like this:<div class="live><font color="white">lkj;lkj;kj</font></div>In div class live you forgot the double quotes (") on the right.So in font color the quotes are renderd as smart quotes or curly quotes, no idea,…

Re: need your quick help with a simple DIV/CSS positioning issue :: Reply by omerkhan01

9. Mai. 2010 (von: omerkhan01)

Hi, Here is what I have done.<div class="live"><font color="white">The Secret</div>But when I make any changes to the top/bottom or left/right margin, the text does not move. Isn't it supposed to move to the right/left or top/bottom when I make changes…

Re: need your quick help with a simple DIV/CSS positioning issue :: Reply by Joern

9. Mai. 2010 (von: Joern)

position relative might keep it in that area. With position absolute I think you have more chances to move it, position fixed would keep it on top of the screen and even not scrolling.You have to load it in that…

Re: need your quick help with a simple DIV/CSS positioning issue :: Reply by omerkhan01

9. Mai. 2010 (von: omerkhan01)

Worked perfectly. Thanks! Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: