![]() |
why CSS
why is using CSS such a good thing? i know it can be used to globaly change the apperace to web pages with just one file. But it doest change the content of page. please tell me the advantages of using it. i personaly dont see why to use it.(i have never done any big time web devepment)
|
The reason you can change your website's lay-out is an important reason, of course. Another is cleaner, better structured code (for example: the lay-out and the content of the webpage is splitted).
|
As Polyphemus said, a cleaner and more structured code. CSS allows a lot of great effects and enables you to fully have controll over the site's layout and design. CSS is very easy to learn and it's great!
|
Quote:
|
A note to a thing...
Your link goes to the IP address: 192.168.1.111. That is not really your IP address. I'm guessing that you are behind a router firewall. Routers give an IP address to hide your real one from the rest of the world. If you're connecting to your server on your own computer, or on LAN, you can use that IP address, but for the rest of the world, we have to use your real IP address. Here's a link to a page that shows your real IP address: http://www.ipchicken.com/ |
Heh, whoops, I used that to test it without going through the Internet. It's a big page, 81KB, that takes 2 seconds to load & render using the LAN IP and my server's on my home connection. Here's the link:
http://a-thing.is-a-geek.net/stats.xhtml#filetypes (It won't let me edit anymore.) |
Ask MJordon2nd to edit it for you or delete it.
|
Quote:
Picture this, You have a large website with a few hundred pages or more, You're getting bored of the style of your pages, Would you rather edit each page or 1 file. Also it allows you to keep a more consistant look easier. You dont have to mess around applying the same styling to each new page, Just include the global stylesheet Hope this answers your question. -kieran |
Quote:
[HTML]<font color="#0000FF">Text here...</font>[/HTML] And you finish the website. There's 80+ pages on there with the blue text somewhere in there. Then out of the blue he decides, "you know what, I want that text to be red instead". So now you have to go through and edit each page yourself to change the text. Now, if you'd used CSS on those pages, you would have put in: [HTML]<span class="coloredText"Text here...</span>[/HTML] That code would link to the CSS file you define that has the class colouredText defined, and in there you change #0000FF to #ff0000 and the whole site is updated. That's why we use CSS. it saves time, money, bandwith, etc. No reason not to use it. |
:banana:
time to use css |
| All times are GMT -5. The time now is 5:11 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC