![]() From what I’ve seen so far I’d say you’d be doing everyone a favor. The logical thing to have done would be delete it quick and try to do a better job with the next one.įor those of you that get all bent out of shape by other people ‘stealing’ your precious work, I’ve got a very simple solution for you – don’t publish it on the web where anyone can copy it and do with it as they please. Utterly pointless post with several replies explaining exactly why it’s wasn’t worth anyones time reading – the only value your readers might get from it is a jolly good laugh at your expense. Seems there’s a never ending supply of unqualified wannabees somehow convinced they have something to offer the world, despite all the evidence to the contrary.īetter grab a cloth mate, wipe that egg off your face before it starts to stink the place out. (Not the stripes =) - you can steal my stripes, I don’t care) But there are many backgrounds that are simply just a good starting place for building your own. Like I mentioned at the beginning of the article, don’t just steal someone’s background image and use it, especially if it’s really cool and unique. Now that you have the full file path to the image, just navigate to that and you will be able to save it out as an image. The file path is relative to the location of the CSS file, so it’s actually at You might be thinking that the background image reference in this example would be located at BUT you’d be wrong. This is important to remember: the file path referenced in the CSS will be relative to the location of the CSS file, NOT the URL you happened to be looking at. That means the path “continues from the current location”. stuff going on, but it didn’t start with either. ![]() All the same rules about relative paths apply here, so remember to think about those when constructing your final URL path to the background image. Well lookie what we found! The body selector right at the top in this CSS file shows us the relative path to the image file. One you have the URL path to the CSS file, navigate your way to that in your browser: Got it? Good.Īlso remember that sites may use multiple stylesheets, you might have to do a little guess and check here to find the right one, but you can use a little deductive reasoning and assume that “main.css” is probably more likely than “print.css” That means if you are looking at and the stylesheet link in the header stays href=”/style.css”, the stylesheet actually resides at. If you see just a preceding /, that means “back up all the way to the root directory”. / means “back up two directory levels”. That means if you are looking at - the stylesheet actually resides at NOT Likewise. This might not always be the case, often file paths to CSS files are relative paths so they might look something like this: href=”./style.css” In this case, I make it really easy because the file path is not dynamic. First, view the source code and look for the reference to the stylesheet in the section: So the first step is going to be finding the file path to the CSS file. It’s just a matter of tracking down the image path.Ĭhances are background image is going to be set on the body selector in a CSS file. Since the image files that create them need to be kept in a public directory in order for them to work, they are accessible by anyone. They range from absolutely, unbelievably awful to simple and classy to downright inspiring. Many sites employ the use of a background image. Note: this should only be used for the powers of good! Don’t go around stealing people’s background images and using them on your own site without asking!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |