Click to See Complete Forum and Search --> : just a few questions...


gYnophObia
06-04-2006, 04:59 PM
alright well... here i go :p

1) is the div tags with css the equivalent to using tables with html? ... because i want to use css to apply to a bunch of pages instead of using tables on every html page

2) my website is hosted for free at freewebs.com but they dont support everything... like php and jsp.. (not too sure what those are yet but...) i plan to learn everything i can... so how would i go about doing this? am i gonna have to pay to be able to practice that stuff? ... or should i just concentrate on stuff like javascript, css, and html right now? (im a newbie)

3) i want to practice all the stuff im learning... but i might not use some on my site... so is there a site that mayb gives good quizzes or games that help you to remember all kinds tags and attributes or w/e for css and html? i want to be able to know everything on the spot! :mad: .... :)

4) and also i noticed when trying to use an external style sheet and linking the html page with <link rel="stylesheet" href="blah.css" type="text/css" />, i couldnt fix images to be aligned i believe it was... so does adding media="all" allow me to link everyting to the css sheet?... cuz my site wouldnt just have text...

5) and also ive seen in a book that you can use just "<style> </style>" for an internal sheet.. is this the short hand method for an internal one? ....

6) and is "<link rel="stylesheet" href="blah.css" />" a shorthand method for an external one?

7) best way to make websites cross-browser compatible and any screen resolution compatible?

ill try to think up more for you guys later :D

ray326
06-04-2006, 06:11 PM
1. No not equivalent. The div/css is right.
2. You can install all the software you need on your own PC to run and learn PHP and JSP.
3. Check out http://www.w3schools.com/
4. The default media type is "all" so that's not a problem.
5. An embedded style sheet is wrapped in <style type="text/css"></style> tags.
6. That's right but the type="text/css" needs to be in there.
7. Write valid HTML and CSS.

JPnyc
06-04-2006, 06:28 PM
If by "any screen resolution compatible" you mean make them look proportionally exactly the same at any resolution, then that takes quite a bit of work and can't TRULY be accomplished without using javascript or other scripting language. That's because we don't have a way of setting font-size to a % value yet.

gYnophObia
06-04-2006, 09:43 PM
1. No not equivalent. The div/css is right.
2. You can install all the software you need on your own PC to run and learn PHP and JSP.
3. Check out http://www.w3schools.com/
4. The default media type is "all" so that's not a problem.
5. An embedded style sheet is wrapped in <style type="text/css"></style> tags.
6. That's right but the type="text/css" needs to be in there.
7. Write valid HTML and CSS.
oh... some of the answers were kinda vague but uh < . < .... lets see...

2) ok so i can do everything by my comp? ... im just asking cuz i heard somewhere that in order to see, i believe it was, javascript code being put to use you'd have to have it on the web or something...

3) ah yeah thats where im currently learning my stuff... any other places?

5) how come in the book im learning from "html, xhtml, and css bible" there are a few examples showing i can just use that weird short internal style tag?... this is what it shows in the book
<style>
body { background-color: blue; }
</style>
6) oh.... how come though i am able to use <link rel="stylesheet" href="blah.css" /> for an external sheet and it still workes with text and images? ...

ray326
06-05-2006, 08:55 PM
2. If you run a web server on your PC, that's "on the web" even though it might not be "on the Internet."

3. Follow the links in my sig and at http://alistapart.com

5. The book's wrong. It happens. From now on check the book against http://www.w3.org/TR/html401/

6. "It happens to work." != "It is correct." See 5. above.