Absolute Positioning problem

  • Travis Coats
  • Graduate
  • Graduate
  • Travis Coats
  • Posts: 107

Post 3+ Months Ago

I am having trouble getting this absolutely placed DIV to stay where it should stay.

Example

The Dollar sign graphic is within an absolutely positioned DIV with both it's left and top placement set. I have tried switching up the hierarchy which holds it by trying it out in both the right inner content div and the container. It is staying vertically where it should, but appears to be taking it's placement from the BODY tag instead of the containing element. Am I misunderstanding something? This is why I hate trying to use AP/relative divs - even with tutorials I can never get either to come out right. :x :x :x
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

where is it supposed to be?
  • Travis Coats
  • Graduate
  • Graduate
  • Travis Coats
  • Posts: 107

Post 3+ Months Ago

I managed to fix the problem last night. The Dollar sign icon was absolutely positioned, but was taking it's top and left from the body, even though it was within a parent container. The fix: made the container relatively positioned.

I seem to have a lot of trouble with positioning things absolutely or relatively - never turn out quite right.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 39 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.