What is the difference between Classes and IDs in context to CSS?
460401
Check out this link. Basically, CLASS if for multiple elements and IDs are for specific element...\nhttp://www.mako4css.com/BasClass.htm
1023864
Try these:\n\nhttp://www.codeproject.com/html/cssbeginner.asp\nhttp://www.yourhtmlsource.com/stylesheets/introduction.html\nhttp://www.tizag.com/cssT/index.php
214457
Hi, when you goto the style area (customization) they give you a style sheet you can add or alter.\n\n A CSS Style sheet is a *style* to a page. So you have to learn CSS to do this.\n\nBut for instance where you se\n<div id="header">\n\nThe Style sheet that referes to it is this (for one dsign)..\n  #header {\n    width:660px;\n    margin:0 auto 10px;\n    border:1px solid #333;\n    }\n  }\n\nNow thats how you change the header... IF you wanted to add a background or a picture in hte header just add\nbackground: url(http://com/image.jpg) no-repeat;\n\nIts not that hard once you know it... It is pretty cool\nYou have to know somehting about style sheets
109898
Another tip - class names and file names are CASE SENSITIVE.  If you create a class "Apple", and refer to it as "apple", you won't find it at runtime.\n\n(I'm just beyond a novice at Java - hope this helps too - just vote for the other guy).
620521
◙ <span style="background-color:#000000; color:#ffffff;">this text will have a black background color and the text color is white.</span>\n\n//////////////////////////////\n\n◙ Here are examples that you can experiment right on the web site. Even though you can experiment here you cannot save the results to your computer unless you copy and paste the code into windows notepad and save it that way.\n\n◙ HTML Examples\n► http://www.w3schools.com/html/html_examples.asp\n\n◙ Cascading Style Sheets Examples\n► http://www.w3schools.com/css/css_examples.asp\n\n◙ These pages will help you understand what HTML tags(commands) and their attributes you can use in your pages.\n► http://www.w3schools.com/tags/default.asp\n\n◙ These pages will help you understand what Cascading Style Sheets Rules and their attributes you can use in your pages.\n► http://www.w3schools.com/css/css_reference.asp\n\n◙ Don't be surprised if you don't learn HTML/CSS very fast. Most of us took years to learn to use it proficiently. Even now after 10 years I still don't know it all since it keeps changing all the time.\n\n◙ After you have experimented some on that site then do the following.\n\n==============================================\n\n◙ Learn HTML/XHTML & CSS - Learn to write your own pages by hand it's easy.\n\n◙ FREE! HTML/XHTML/CSS Editor:\n► http://www.chami.com/html-kit/\n\n◙ FREE! Online Courses:\nA) Webonkey HTML Tutorial http://www.webmonkey.com/\nB) W3schools http://www.w3schools.com/\nC) Watch it done in a flash movie http://visualtutorials.com/\nD) Free Web Site Courses http://certification.about.com/cs/testingresources/a/tutorials.htm\n\n◙ Reference:\nA) The best HTML/XHTML reference http://www.w3schools.com/html/html_reference.asp\nB) The best Style Sheet Reference http://www.w3schools.com/css/css_reference.asp\nC) HTML Dom http://www.w3schools.com/htmldom/dom_reference.asp'\n\n◙ Links:\nA) HTML Links http://www.websitetips.com/html/\nB) Style Sheet Links http://www.websitetips.com/css/\n\n\n◙ ALWAYS CHECK THE REFERENCE PAGES TO MAKE CERTAIN YOU ARE WRITING YOUR SOURCE CODE THE CORRECT WAY! JUST BECAUSE YOU SAW SOME SOURCE CODE WRITTEN A PARTICULAR WAY IN SOMEONE ELSE'S PAGE DOESN'T MEAN THEY WROTE IT CORRECTLY. MORE OFTEN THAN NOT YOU'LL FIND THAT THEY DIDN'T WRITE IT CORRECTLY. BUT LOOKING AT OTHER PEOPLE'S SOURCE CODE IS STILL A GOOD WAY TO LEARN. IF SOURCE CODE ISN'T WRITTEN THE CORRECT WAY IT CAN CAUSE OBJECTS TO BE DISPLAYED IN PLACES YOU DON"T WANT THEM IN OR EVEN CRASH SOMEONE'S BROWSER. NETSCAPOE 4.X USERS ARE THE MOST VULNERABLE TO CRASHING. MOST OF THE TIME BROWSERS A VERY FORGIVING WHEN IT COMES TO BAD SOURCE CODE. BUT WHY TAKE CHANCES. THE MORE CORRECTLY YOU WRITE YOUR PAGES THE MOER BROWSERS THEY WILL WORK WITH.\n\n◙ Paid Online Courses:\n► http://www.hwg.org/\n\n◙ FREE! HTML/XHTML Editor:\n► http://www.chami.com/html-kit/ \n\n◙ FREE! FTP Clients (applications):\n► http://www.trustmeher.net/freeware/cute.htm\n\n◙ When FTPing files from your computer to your online account send text files, HTML/XHTML files, CSS files in the ascii mode. Send image files, movie files, music files in the binary mode. There is an automatic mode that is supposed to detect the type of file you are sending. But it isn't always reliable.\n\n*** HERE IS HOW I LEARNED HTML/XHTML/CSS ***\n\n◙ When you come to a page on the web click "VIEW" at the top of your browser and click on "SOURCE". If you are using Internet Explorer browser the HTML source code will open up in Windows Notepad. In Notepad click on "FILE/SAVE AS" to save the page's source code to your hard drive. In Internet Explorer click on "FILE/OPEN" to open the source code in the browser. Go back to notepad and remove some of the code and click "SAVE". Then in Internet Explorer hold down the "SHIFT" key an
895850
css- (casscading style sheets) is a web language that myspace uses. You should learn some css language and then simply write it onto your profile page.\n\nLearn css and not only will you be able to make your myspace better, but you will better yourself as a person for taking the time to solve a problem by learning it for yourself!\n\n\nwww.w3schools.com/css \n\n\ngood luck!\n\n\nps anyone who says... go to this website to generate a code, does not know css language and should not be allowed to change/edit a website to begin with... having a website generate a code for you is taking the easy way, and will only hurt you later in life as we are gaing more and more dependace on the internet and computer languages...
537777
I'm not entirely sure what you mean, so I'll try and explain both possible answers.\nYou could mean that you want to change the look and style of your page (for example backround color) randomly for each user, or have an option for the user to change the page design. You do this using both JavaScript and "CSS", both of which can work with just about any web hosting and will work in just about all new web browsers.\nIt works by putting all the information about your websites style, for example text size and color, in a special file. You can get quite details and label styles, and then specify what style goes where. \nThink of this as setting your headers as being bold and a large size, but normal text not being bold and medium size. You could have something like..\n\n.paragraph { font: 12pt Bold; } \n.header { font: 15p Bold; } \n\n\nNormally you add a mention of the special file in your main HTML web page with a line like \n\n<link rel="stylesheet" type="text/css" href="mywebstyle.css" />"\n\nThen you just need to specify if your paragraph is plain text or a header like so...\n\n<p class="header">HEADER!</p> \n<p class="text">This is our paragraph</p> \n\nNotice the use of class="style"\n\nUsing JavaScript, you can add a link that automaticly loads another .css file, or css details within the original css. \nAssuming you keep everything in one CSS file (the easyiest and most organised way) you can just define an extra style, for example we could expand our earlyier styles in the CSS file to..\n\n.paragraph1 { font: 12pt Bold; } \n.header1 { font: 15p Bold; } \n.paragraph2 { font: 12pt Bold; } \n.header2 { font: 15p Bold; } \n\nNow if we add an "ID" to our paragraphs such as...\n\n<p class="header1" id="heads">HEADER!</p> \n<p class="text1" id="para">This is our paragraph</p> \n\nwe can then change the class (the class specified is just the default) using something like.\n\n<a href="javascript:;" onClick="change('heads', 'header1');">Use Header 1</a>\n<a href="javascript:;" onClick="change('heads', 'header2');">Use Header 2</a>\n\nOf course I've tried to keep my answer short, so it's possible that doesn't all make sence. You'll need to search around for "CSS Style Change" , or for a couple of good starters try http://css.somepeople.net/dynamic and for a really good example goto http://www.spoono.com/javascript/tutorials/tutorial.php?id=18&settutstyle=1 where you can see the effect in action.\n\n\nAnother option is to use file "includes". This is where you can use reacuring code of your website in one file, and get diffrent pages to include parts of an original file. For example, on Yahoo Answers, every page has the Logo, some signin information and the "ask, answer, discover" banner.\nInstead of adding the code for this section manual on everysite, Yahoo just needs to add this part of the site to a file on it's own, and call this file as part of the main page. For example something like this...\n\n<html>\n<include = "TheTopOfThePage.inc">\n<p>Main stuff unique to this page</p>\n<include = "BottomOfThePage.inc">\n<html>\nand for another page...\n<html>\n<include = "TheTopOfThePage.inc">\n<p>Some other page with diffent stuff>\n<include = "BottomOfThePage.inc">\n</html>\n\nThe problem with this is that the code has to be added on the SERVER, that is the place where the HTML files are kept. The server itself adds the code and sends it complete to the CLIENT, so in fact, even with the above code the CLIENT never sees the "include" links but insteads sees the contents of the ".inc&quo
1066824
Each tag can only have one class attribute, but you can nest tags and classes. for example:\n\n<p class="foo">\n<span class="bar">\nLorem Ipsum\n</span>\n</p>\n\nIf the class bar defines the same stuff as foo (font color, etc.) it will overwrite whatever was defined in foo, but other than that they will work together.
448292
If you do not populate the list with DOM and have all elements be static (generated by a server side program, perhaps), the rendering time should be slowest.\n\nIE is not very good at rendering complex or big things.
547003
when it's grey, that means that it doesn't recognise it as an entry point that it can fill in. The places it fills in will had ID's (in the code not the page) that represent how it should be filled in, if it's different than what google is looking for, it won't fill it in.
441027
hmmm....\n\ni think its this:\n\n<body background="url">\n\n(content of page)\n\n</body>\n\nwhere url is something like http://blah.com/picture.jpg\n\n\nbut try to learn css. its better.
65431
On a basic level, yes. Nowadays, web pages effects are defined using Cascading Style Sheets (CSS), within the document itself or externally. CSS defines the effects, and often the positioning, on a web page.\n\nOn a more dynamic level, JavaScript and DHTML are useful for things like advanced page loading and real-time clocks etc. - they are also effects.\n\nIn conclusion, effects are whatever you want them to be - as long as it's not just plain text. Remember, you can define backgrounds, colors and texts using just HTML.\n\nTry http://www.w3schools.com/
979426
A better way is by using CSS, so please look up CSS tutorials.  Only a few things still need to be done within HTML tags, like with tables: cellpadding, cellspacing and a few other things, but most of that kind of stuff you can deal with through CSS a lot more easily than through HTML tags.
952091
You've done well, you're nearly there.\n\n<style type="text/css">\n<!--\na:link {\ncolor: #990000;\n}\na:visited {\ncolor: #990000;\n}\na:hover {\ncolor: #CC6600;\n}\na:active {\ncolor: #990000;\n}\na.style1:link {\ncolor: #33CC33;\n}\na.style1:visited {\ncolor: #33CC33;\n}\na.style1:hover {\ncolor: #CC6600;\n}\na.style1:active {\ncolor: #33CC33;\n}\n-->\n</style>\n\nThat's what you need to have in your style declaration.  Instead of using the class .style1 you've created separately, you need to create some new instaces of the anchor tag using .style1 by use of the syntax above.\n\nI hope that makes sense.  You can then remove your class .style1 from the first link and they'll both be different.\n\nIf that's not what you're trying to do - post an update to your question and I'll take another look.\n\nAll the best!
961671
Don't use tables, you are designing a site not a data sheet, divisions is always the way to go and always use CSS never use attribute alignment, and it also depends on what you want to align.\n\nFor background images.\n\n<style type="text/css">\nbody {\nbackground:rgb(0,0,0) url('/images/example.jpg') top center;\n}\n</style>\n\nFor Text you will need to actually set a line height to be compliant and you will need to do the same for actual images unless you are using a generalize percentage.\n\n<style type="text/css">\np {\nline-height:50px;\n}\nimg {\nvertical-align:top;\n}\n</style>\n\nThe simple answer is YES, you can align background images to the top using 'background' and 'background-position' you can also do text and images with 'vertical-align' with vertical-align you can optionally use named values, estimated measurement (em) or even percentages (%)
616159
Use a Cascading Style Sheet (CSS)  Once you create the base, you can just reuse it.
564454
I'm trying to find out the same thing. It's some sort of HTML or CSS coding to be sure. It can be done despite what the other two answers "proclaimed". I'll update when I figure it out.