| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
css over standard html
what makes css better than standard html?
like using css to set the font, color, link, alink, vlink etc etc instead of just throwing it in the body tag.. also for things like table borders too.. |
|
#2
|
|||
|
|||
|
css makes coding easier, as you don't have to repeat things, and sometimes it give you better control over the layout
|
|
#3
|
|||
|
|||
|
i suppose it is worth learning then.
|
|
#4
|
||||
|
||||
|
Imagine a website with 500 HTML pages and you have about 4000 font tags throughout the site to make everything 12pt Arial, some things are bolded, titles for your pages are 16pt Arial and red, and your copyright is 9pt and Times...
NOW... let's say you made this for a client and the client says at the VERY end, "you know what, I'd rather have all of the text Verdana, everything bolded to also be italicized, and all page headers to be green and underlined. If you use font tags and other deprecated tags to control your text and links that would take you about.... FOREVER to change that stuff on every page and re-upload all of the pages to the server. If you used CSS it would take you about 3 minutes and 22 seconds and you'd re-upload 1 document. Which is better?
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
|
#5
|
|||
|
|||
|
CSS
.. well i always use one or two asp pages to pull information.. so it would just have to go through all of my different call statements i guess.. but that reminds me of when i first discovered using "include virtual" for my navigation menu's a while back.. (now its all in a database)guess i will have to indulge myself into this css thing. |
|
#6
|
||||
|
||||
|
what about your asp pages? what information does it pull and how does that relate to CSS? me = confused
|
|
#7
|
|||
|
|||
|
Quote:
the css file is just a seperate file, and changing one thing on it will change it throughout the site. This is mainly the reason i only have one or two asp pages control my whole site.. so if i feel the need to make any changes, i have a minimal ammount of editing to do... or if i wanted to throw a whole new design up, it just makes it that much easier. |
|
#8
|
||||
|
||||
|
CSS files are typically separate documents, granted. Why have only 1 or 2 asp pages then? Why not have 500 asp pages (assuming you have the content)? The fact that you focused on saying "the main reason i only have one or two asp pages" is where I'm getting hung up.
|
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > css over standard html |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|