• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Position Icon

 
William Flores
Ranch Hand
Posts: 32
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys!

Guys, I need move a icon. Follow the code below.

I was using the "position:absolute" and It was working normally.
As I said, I need move this icon, but the code "right: 284px" don't work with "position:static".
Do you undestand me?

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try just giving it some right margin?
 
William Flores
Ranch Hand
Posts: 32
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, when a set "position: static" it was left side so I tried use "right: 284px;", but no sucess.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Drop position for the moment. And of course, I meant left margin to push the icon into the position you want. (I'm one of those people who need to think about left and right and usually get it wrong.)

Not left, but margin-left.

I only resort to position when I can't get what I want with margins and padding.
 
William Flores
Ranch Hand
Posts: 32
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solve!!
Follow the code.

Thank you very much!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic