aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Position Icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Position Icon" Watch "Position Icon" New topic
Author

Position Icon

William Flores
Ranch Hand

Joined: Dec 14, 2011
Posts: 30

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

Joined: Jan 10, 2002
Posts: 61764
    
  67

Did you try just giving it some right margin?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
William Flores
Ranch Hand

Joined: Dec 14, 2011
Posts: 30

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

Joined: Jan 10, 2002
Posts: 61764
    
  67

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

Joined: Dec 14, 2011
Posts: 30

I solve!!
Follow the code.

Thank you very much!
 
 
subject: Position Icon