gCarl16 Posted January 13, 2015 Share Posted January 13, 2015 Hello Everybody I usually work with C#, but I'm doing a website right now and have a question: I want a picture in my header and when I change the window size the image may not move. My code so far: #a1 { position: relative; top:-175px; left:0px; width:50px; height:50px; background-image:url(http://domain.png); background-repeat:no-repeat;} </style> Hope someone can answer this question easy Quote Link to comment https://forums.phpfreaks.com/topic/293890-easy-question-image-doesnt-move/ Share on other sites More sharing options...
QuickOldCar Posted January 13, 2015 Share Posted January 13, 2015 Be easier to show your html code and complete css for additional help. Do you have a divider and then a divider within for an image? Do you assign the class in the image's tag? Quote Link to comment https://forums.phpfreaks.com/topic/293890-easy-question-image-doesnt-move/#findComment-1502857 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.