NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Css

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
7 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 05-23-2005, 07:11 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: May 2005
Posts: 25
Halbarad is an unknown quantity at this point
 



Css


hi, i know HTML very good. and now ppl are saying i should learn CSS. But i think i can do just the same with HTML. Can you ppl give me the positive points of CSS
Halbarad is offline  
Old 05-23-2005, 07:25 AM   #2 (permalink)
NamePros Regular
Join Date: May 2004
Location: www.dx3k.com
Posts: 581
dx3k has a spectacular aura aboutdx3k has a spectacular aura about
 



its good for creating advanced rollovers and those dashed/dotted/etc borders you see

you should learn it its good for other things aswell
__________________
I B Back
dx3k is offline  
Old 05-23-2005, 08:00 AM   #3 (permalink)
New Member
 
danburzo's Avatar
Join Date: May 2005
Location: Bistrita RO
Posts: 18
danburzo is an unknown quantity at this point
 



By using CSS you can separate the content from the formatting, making the change of appereance much easier.

Let me give you an example:

If you were to have ten paragraphs formatted to Verdana, size 2, your code would be:

Code:
<p><font color="#CC0000" size="2" face="Verdana">Paragraph one</font></p>
<p><font color="#CC0000" size="2" face="Verdana">Paragraph two</font></p>
...
<p><font color="#CC0000" size="2" face="Verdana">Paragraph twenty</font></p>
Now, if you wanted to change it to, let's say Times New Roman, you would have to change all of the font tags accordingly.
????: NamePros.com http://www.namepros.com/programming/92265-css.html

With CSS, you define a class:

Code:
.text {
font: 10px Verdana;
color: #CC0000;
}
and then apply it to the paragraphs:

Code:
<p class="text">Paragraph one</p>
<p class="text">Paragraph two</p>
..
<p class="text">Paragraph twenty</p>
Any change to the appereance can be made by simply modifying the CSS style:

Code:
.text {
font: 20px "Times New Roman";
color:#0000CC;
}
The font tag is deprecated and not included in the XHTML specification.
The future of web design is in using CSS-based layouts instead of tables.

And many other reasons, which i can't remember right now.
Last edited by danburzo; 05-23-2005 at 08:04 AM.
danburzo is offline  
Old 05-23-2005, 11:30 AM   #4 (permalink)
NamePros Member
Join Date: Feb 2005
Posts: 82
hitman is an unknown quantity at this point
 



CSS is also a good solution to avoid html tables issues.
Find more here:
http://www.hotdesign.com/seybold/
hitman is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Help Needed Chorei Web Design Discussion 0 04-12-2005 10:28 AM
css problems with ie, and a couple other things thecatat Programming 0 08-23-2004 05:16 PM
CSS: what's the use of it? lucesei Programming 13 04-12-2004 07:21 AM
CSS positioning :( gwx Programming 6 12-30-2003 12:31 PM
pb with background (css) virgile00 Graphic Design / Flash 1 11-06-2003 08:41 AM

 
All times are GMT -7. The time now is 02:55 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger