Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 01, 2013 02:57 PM by eric2820
Contributor
2777 Points
1161 Posts
Jan 01, 2013 11:14 AM|LINK
I have this in my css file and it's not working:
DIV.move-right { clear: both; background: white; position: fixed; float: right; top: 100px; z-index: 100; } I think this could be becuase I'm doing things in the incorrect order.
Question: Could someone please help me with the correct order of things in this css script?
Star
12367 Points
1862 Posts
Jan 01, 2013 11:38 AM|LINK
Add right:0px and no need to do float:right, check following demo:
http://jsfiddle.net/sQwpj/
Member
305 Points
73 Posts
Jan 01, 2013 12:46 PM|LINK
Hai
i guss move-right is CssClass name.
so try below code
div.move-right { clear: both; background: white; position: fixed; float: right; top: 100px; z-index: 100; }
Jan 01, 2013 02:57 PM|LINK
Someone else writing on another thread that I followowed suggested this:
right: 0px;
Which work's in IE 9.
eric2820
Contributor
2777 Points
1161 Posts
What is wrong with this?
Jan 01, 2013 11:14 AM|LINK
I have this in my css file and it's not working:
DIV.move-right
{
clear: both;
background: white;
position: fixed;
float: right;
top: 100px;
z-index: 100;
}
I think this could be becuase I'm doing things in the incorrect order.
Question: Could someone please help me with the correct order of things in this css script?
http://www.my-msi.net/Admin
blog
If a post helps you, please mark it as Ansered, thank-you.
urenjoy
Star
12367 Points
1862 Posts
Re: What is wrong with this?
Jan 01, 2013 11:38 AM|LINK
Add right:0px and no need to do float:right, check following demo:
http://jsfiddle.net/sQwpj/
0ramramram0
Member
305 Points
73 Posts
Re: What is wrong with this?
Jan 01, 2013 12:46 PM|LINK
Hai
i guss move-right is CssClass name.
so try below code
div.move-right
{
clear: both;
background: white;
position: fixed;
float: right;
top: 100px;
z-index: 100;
}
eric2820
Contributor
2777 Points
1161 Posts
Re: What is wrong with this?
Jan 01, 2013 02:57 PM|LINK
Someone else writing on another thread that I followowed suggested this:
right: 0px;
Which work's in IE 9.
http://www.my-msi.net/Admin
blog
If a post helps you, please mark it as Ansered, thank-you.