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 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? 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
Archived
This topic is now archived and is closed to further replies.