Recently, I updated the styling of a DIV element like this:
<div style='float: left; width: 100px; position: relative; top: +5px;'>
This is some text
</div>
However, when I transferred the style to an external stylesheet, everything except for the "top: +5px;" attribute seems to be working fine:
div.textthumb {
float: left; width: 100px; position: relative; top: +5px;
}
...
<div class='textthumb'>
This is some text
</div>
I am unsure why the "top: +5px;" part is not being applied. Can someone please help me figure out what I'm doing wrong?