Web Analytics Made Easy -
StatCounter CSS - Move text up - CodingForum

Announcement

Collapse
No announcement yet.

CSS - Move text up

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS - Move text up

    Hey guys i have some text that fits in 1 line BUT sometimes it becomes 2 lines and of course the div expands down but i want it to expand upwards....how do i hack that via css ?

  • #2
    Position that div absolutely with bottom as reference position inside another relative positioned element.
    Stop solving problems you don’t yet have!

    Comment


    • #3
      i got it like so....

      Code:
      font-size: 15px;
      	font-weight: bold;
      	margin-left: 15px;
      	position: absolute;
      	bottom: auto;
      but it aint working

      Comment


      • #4
        Shouldn't it be:

        Code:
        font-size: 15px;
        font-weight: bold;
        margin-left: 15px;
        position: absolute;
        bottom: 0px;

        Comment

        Working...
        X