wood burning stoves*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Position Icon" Watch "Position Icon" New topic
Author

Position Icon

William Flores
Greenhorn

Joined: Dec 14, 2011
Posts: 29

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: 61103
    
  66

Did you try just giving it some right margin?


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

Joined: Dec 14, 2011
Posts: 29

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: 61103
    
  66

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
Greenhorn

Joined: Dec 14, 2011
Posts: 29

I solve!!
Follow the code.

Thank you very much!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Position Icon