16 replies [Last post]
podgeire
Offline
newbie
Last seen: 16 years 17 weeks ago
Joined: 2005-05-18
Posts: 5
Points: 0

I know it's not the most ethical thing to do but I'm a lazy person. Is it possible to use the css code from a webpage that i like to design my own page? Can I link to their css code on their url to my page or is anything like this even possible? Any help would be greatly appreciated. Thanks in advance!

NotNice
Offline
Regular
Last seen: 16 years 28 weeks ago
Joined: 2005-03-07
Posts: 18
Points: 0

CSS from a website?

being not the least laziest person in the world myself I can sympathise with your request...

just a tip: never admit you did not write it yourself! Laughing out loud
another tip: you will learn more by "building" your own css
one more: never ask for their css, just find it on your own! (easy!)

in case you wish to use some-one elses css, do not link to their site, copy the css and save it on your own domain, in case they (re-)move anything.

Not that I have ever done anything like borrowing code from another persons css... :oops:
then again, anyone out there who never used any good idea's from someone else?

open window, throw computer out, close window, problem solved!

Joseph Sprint
Joseph Sprint's picture
Offline
Enthusiast
Last seen: 7 years 3 weeks ago
Timezone: GMT+1
Joined: 2005-04-15
Posts: 381
Points: 0

CSS from a website?

Did you really just ask if you could hot-link a css file?

Hot-linking should be illegal.

podgeire
Offline
newbie
Last seen: 16 years 17 weeks ago
Joined: 2005-05-18
Posts: 5
Points: 0

CSS from a website?

Many thanks, have hotlinked to their css file and it works but I would like to edit it & I don't know how to copy it to my local computer? I know it should be illegal, but there are ways to stop people from looking at your code by preventing right clicking. So I figure they don't mind that much(well hopefully anyway)

NotNice
Offline
Regular
Last seen: 16 years 28 weeks ago
Joined: 2005-03-07
Posts: 18
Points: 0

CSS from a website?

podgeire wrote:
there are ways to stop people from looking at your code by preventing right clicking. So I figure they don't mind that much(well hopefully anyway)

there are a lot of ways to go around that!
that is the reason I do not use ant-right-click-codes, their useless!
Still, I would mind if anyone would use my css without letting me know, if I would ever find out (and if it would be worth using). Why do you not jusk ask the "owner" of the css permission to use their code (because you are a beginner, need to learn a lot, adore their site, etc.)? and of you are allowed to use it you can ask the code.

seems quite simpel to me!
worst thing that could happen is that you get "no" for an answer...

open window, throw computer out, close window, problem solved!

podgeire
Offline
newbie
Last seen: 16 years 17 weeks ago
Joined: 2005-05-18
Posts: 5
Points: 0

CSS from a website?

Very true, think that I'll give them a shout and just hope for the best. Thanks for all your help

Joseph Sprint
Joseph Sprint's picture
Offline
Enthusiast
Last seen: 7 years 3 weeks ago
Timezone: GMT+1
Joined: 2005-04-15
Posts: 381
Points: 0

CSS from a website?

Hot linking is when you will link directly to their code, it is unforgivable.

If you must, copy it to your own file, why should they pay for you to use their bandwidth.

If you don't know how to copy and paste, maybe web design isn't for you.

podgeire
Offline
newbie
Last seen: 16 years 17 weeks ago
Joined: 2005-05-18
Posts: 5
Points: 0

CSS from a website?

No need to get nasty, I'm just learning. I can't copy and paste as you suggest as the css file is in a directory that I don't have access to. Also I didn't realise that it could cost them money so I will not use the hotlink

larmyia
Offline
Elder
London
Last seen: 13 years 5 days ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

CSS from a website?

use Firefox's developer's tool and you can see and edit the css.

although I think most developers are happy for people to use their code to help their understanding, is it really ethical to just nab someone else's code? developing it yourself and messing around with other people's code are both great learning tools.

larmyia

Joseph Sprint
Joseph Sprint's picture
Offline
Enthusiast
Last seen: 7 years 3 weeks ago
Timezone: GMT+1
Joined: 2005-04-15
Posts: 381
Points: 0

CSS from a website?

Look at the page source and it should say the address of the css file, copy that into the address bar of the site after the domain name, and it should appear.

I have no problem with copying peoples css, as the nature of css will mean you will have to edit it anyway, so the end result will be diferent.

Or if you save the site to your computer as 'web page whole' it should save the css file too. This is a great way of learning, which I often still do.

Laughing out loud I just assume when people ask about linking directly they have no respect, so don't deserve respect. I forget people might not know why it is a no-no.

So sowy.

podgeire
Offline
newbie
Last seen: 16 years 17 weeks ago
Joined: 2005-05-18
Posts: 5
Points: 0

CSS from a website?

Thanks guys. You've been a great help, sorry for my complete ignorance only just started looking at all this about a week ago. Doesn't seem too difficult, my problem is that I aswell as being a lazy sod I'm quite impatient too!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 36 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

CSS from a website?

Linking to files on someones elses server is bandwidth theft and is not something to be taken lightly and is, if someone wanted to pursue the issue, technically illegal as you are costing them money. do not do it apart from anything else if they are paying attention to their logs they will eventually track you down and you may find yourself in an embarrassing position with your host.

I realise that you are now aware of this, I'm just reinforcing the issue, do not do it nor hot link to someones elses images/backgrounds without permission it's the same thing and your likely to find one day that image replaced by a curt message displayed on your page for all to see and tut at.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

NotNice
Offline
Regular
Last seen: 16 years 28 weeks ago
Joined: 2005-03-07
Posts: 18
Points: 0

CSS from a website?

I personally could not care less if anyone linked directly into my site, I 'rent' my domain from a rather large hosting company, so I will only notice it when they make it more expensive

however, I change a lot on my site quite often, also the place where I keep my stylesheet, images etc. Should anyone be stupid enough to link to something on my site, that link would not last very long.

And that would not be my problem at all!

open window, throw computer out, close window, problem solved!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 36 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

CSS from a website?

Well you should care Notnice that is a rather shortsighted view, you pay for your bandwidth someone hotlinking to your files is STEALING your bandwidth it's a very bad practise often carried out by the younger less experienced crowd.

One reason not to follow this practise,

Quote:
Displaying an image or file that doesn't belong to you is often a violation of copyright, making you open to litigation. The owner of the copyright could utilize DMCA law to have your site shut down and your information given for use in legal proceedings.


Once again ultimately this can become a legal matter so treat the subject with due respect and we need to be careful about giving the impression that it's ok.
You may not care, but there will come the day when you find your site shut down for exceeding bandwidth limits or presented with a large bill for excess then you'll care.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

NotNice
Offline
Regular
Last seen: 16 years 28 weeks ago
Joined: 2005-03-07
Posts: 18
Points: 0

CSS from a website?

mmmm, never thought of it that way
that's a wise lesson learned today! Smile

you want to know something funny: I can really not imagining anyone wanting to hotlink to another persons css... How could you be proud of a site that's not your own? And don't we all want to be proud of our work? but that is off-topic...

apart from the legal part of hotlinking: as soon as a css/image/whatever is moved the hotlink-bit is a joke and a clear sign of how little the creator knows (and cares) about the site.

open window, throw computer out, close window, problem solved!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 36 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

CSS from a website?

much more fun than moving the image is to use htaccess to feed a new image of questionable taste or rude message and be amazed at how long it takes the idiot who has hotlinked to realise that his site has become a joke, I have seen some hilarious examples of this.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 13 years 20 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

CSS from a website?

Hugo wrote:
much more fun than moving the image is to use htaccess to feed a new image of questionable taste or rude message and be amazed at how long it takes the idiot who has hotlinked to realise that his site has become a joke, I have seen some hilarious examples of this.

Hugo.

Brilliant idea!

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH