![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
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)
|
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
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).
|
|
|
|
|
|
#3 |
|
Sexy Programmer
|
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!
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#4 | |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
Quote:
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
|
#5 |
|
Programmer
|
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/ |
|
|
|
|
|
#6 |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
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.)
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
#7 |
|
Sexy Programmer
|
Ask MJordon2nd to edit it for you or delete it.
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#8 | |
|
Programmer
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3
![]() |
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 |
|
|
|
|
|
|
#9 | |
|
Professional Programmer
|
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. |
|
|
|
|
|
|
#10 |
|
Hobbyist Programmer
|
:banana:
time to use css |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|