0

How to move text right to left and up to down

30th Jan 2017, 10:16 AM
@naresh
@naresh - avatar
2 Respuestas
+ 2
CSS is most commonly used to position elements. Without having a look at your code, its really hard to try to help. try this top: 20px; right: 30px; bottom: 40px; left: 50px;
30th Jan 2017, 2:35 PM
Chad Christiansen
Chad Christiansen - avatar
+ 2
If you want to position elements, you must set them the css property 'position' to one 'positionned' value ( 'fixed', 'absolute' or 'relative' ). Default value 'static' means not positionned and inside normal stream, while positionned value remove element branch ( the element and its childs ) from the normal content stream of html document... Positionning element isn't obvious and should require good understanding of how it works to be useful ( even if you success to handle them, they almost still keep a misterious part :P ) If the final purpose is to get an animate effect on the element, you should use 'transition' and/or 'animation' features of Css, with 'positionned' element complementary or not ( but 'position' was design in this direction and should be the useful way ;) )...
31st Jan 2017, 8:38 AM
visph
visph - avatar