How to teach XHTML, CSS, and PHP?

1 Answer

Answer :

Not having a clue about how to do these things, I think your answer lies in your own experience—you had to go through the challenge of working it out yourself—sometimes it was hard. I don’t know if there are shortcuts to this kind of understanding a subject—any subject. He has to figure it out for himself. You can support him though—and maybe show him where to go, or what to look for. But the hard work—no substitute for that. And that’s also the fun of it. And the feeling of accomplishment.

Related questions

Description : What is the best text editor for HTML/XHTML/CSS/PHP/SQL on Ubuntu?

Last Answer : Take a look at Geany

Description : Do you know any good books about development of XHTML pages for mobile devices?

Last Answer : I don’t know of any books on the subject. But I have been using iui to make a iPhone version of my lyrics website. It is really simple. I don’t know about supporting other devices. edit :: I guess there is a book.

Description : HTML or XHTML?

Last Answer : answer:XHTML is more strict and more modern. Actually, it's just HTML but to be interpreted as XML instead of XGML, which indeed basically means that it's more strict (gotta love acronyms, don't you? : ... strict, it can be parsed faster by web browsers. Bottom line: you'll want to go with HTML.

Description : Is there software that you can call from, for example a PHP script, to translate languages?

Last Answer : Google AJAX Language API

Description : Text within a PHP Mail function...?

Last Answer : answer:I believe the backslashes are being inserted by magic_quotes_gpc, which is on by default. You can check to see to see whether it's on or not by using the get_magic_quotes_gpc function. ... = stripslashes($example2); // Using "here document" syntax makes the code more readable $mail_body =

Description : What Text/HTML/PHP editors support SVN check in/out?

Last Answer : answer:Eclipse with the subclipse plugin is cross-platform, has robust svn-support, and is free/open source. You'll want other plugins too, probably Aptana for the HTML/PHP. Komodo will do this ... /Comparison_of_text_editors. I'd say the top 3 you should play with are eclipse, komodo, and jedit.

Description : What does background: transparent do in Eric Meyer's reset.css?

Last Answer : This is used to override any unexpected browser defaults of an opaque background on an element such as . I wouldn’t worry too much about it since it was added to fix unusual browser settings.

Description : OK, !@*&% CSS, Why Won't My Headline Center?

Last Answer : The only thing I can think is that you have div.one-col set to display: inline. When I remove that formatting (using Google Chrome's developer tools), it does indeed center. (It also screws up ... the calendar disappears, but I'm betting you can fix that once you've addressed the July thing .)

Description : Is there a way to get an "onrelease" state using CSS?

Last Answer : answer:I believe with just CSS the only pseudo-class that would come close is :hover for example .class:hover{ } . Unless there is something new that has come out. your best bet would be to would ... would also be more compatible with IE 6 (if your concerned) as IE 6 does not support :hover.

Description : Tumblr css help?

Last Answer : answer:My instinct is that CSS will not be able to help you with this probably some scripting and HTML is in order. CSS will only change the look and feel of a page, not the function (having a ... any themes that have this functionality, and can you look at the code to figure out how it's done?

Description : Is there a code for CSS/Javascript to keep your contents in place when re-sizing a window?

Last Answer : Is your site fixed width?

Description : HTML vs. CSS?

Last Answer : The point of CSS is to capture style information in a single location..Not only is this good coding pracitice, but if you use the CSS styles consistently, you can change the look of your web site simply by modifying the CSS. Think ‘Skins’.

Description : Using css how can I make my background fit to the screen automatically?

Last Answer : I would be better able to help you if you could be slightly more specific. Are you using as image as your background? A gradient? Some code or a link would also help. Hope to hear back from you soon!

Description : Does anyone know of a good guide explaining how to position elements using CSS?

Last Answer : Google “css box model tutorial” and start experimenting. Don’t worry, it was a blur starting out for me too.. www.csszengarden.com is a great place to get inspiration too..

Description : How can using CSS help make a web site better or easier?

Last Answer : One way they help is by putting all of your formatting, styles, colors, etc in one easily changeable file. You can, for example.. have one file that tells your whole website how to look.. ... can be controlled by this one simple cascading style sheet. See this introduction for more info about it.

Description : Why is the word pseudo often used when referring to CSS or maybe all code?

Last Answer : Could you give us an example? Generally when people say pseudo code, they’re referring to code that isn’t actual code, but is explaining how code statements work. Such as: if (the cat is wet) { meow anxiously; }

Description : DIV class & id name parser for automatic CSS file generation?

Last Answer : I saw something on reddit today about something called HSS, I can’t remember the link but google it, it sounded like it does what you want.

Description : Can anyone give me some CSS positioning help?

Last Answer : Care to share what you think is wrong? Other than the red mess on the right it seems to render alright in Firefox.

Description : Curved borders in HTML/CSS?

Last Answer : images.

Description : What is the difference/relationship between HTML and CSS?

Last Answer : HTML is the structure of the document. So the HTML would look like. Hello World And the CSS could be. CSS defines the look. H1 { font-family: Verdana, Arial, Helvetica, sans-serif; border-size: thin ... 400px; } Take a peek here.. http://www.pillowpersuasion.com/dance/blank.html Look at the source.

Description : How to give 3 floated div's the same height in CSS?

Last Answer : Never mind. I’ve gone back to tables. (but only for that part) Div’s can be very, very, very painful sometimes…

Description : How do I style input boxes using HTML/CSS?

Last Answer : I recommend downloading Firefox and the plugin Firebug (getfirebug.com). It's amazing. Then you can go to any website (like apple.com), press the green checkbox in the bottom right to open ... site in Safari because that browser has special rules about displaying input boxes--it's more restrictive.

Description : How do I remove spaces around images in a CSS drop down menu in IE?

Last Answer : answer:sorry to dp.. but here's the code i'm working with. http://www.mosaicfound.org/NEW/common/top.php

Description : CSS dropdown menu crisis with IE 7...

Last Answer : Your first problem is that you've defined the .clearfix CSS class in the HEAD of your document but you have not applied it to any of the elements in the BODY. The page where you ... containing a float needing to be cleared, plus any Guillotine-Bug-fixing block elements within the container."

Description : Quality css troubleshooting in or around DC? or virtualy?

Last Answer : answer:Based on your previous question I assume that the real problem are your dropdown menus? Have you tried just modifying the code in http://www.alistapart.com/articles/dropdowns (which should work in IE ... it's saved us so much headache on Ask-public and makes our css much more maintainable.

Description : what's the easiest way to learn css?

Last Answer : answer:Check out the “Siblings” questions on the right for some good ideas… well, at least this one: http://ask-public.com/disc/3608/how-should-i-start-to-learn-html-css-and-java/ You might check out Adobe Dreamweaver CS3 as well.

Description : CSS Floats driving me insane?

Last Answer : answer:So you missing a px after 125. Anyways i didn't bother trying to figure out whats wrong with your code (just because i get paid to do such things)/ But anyways so i just built a quick ... use for what you are trying to do - here. FYI the term webmaster is depreciated in today's web world

Description : CSS issue.

Last Answer : Hmm… not quite sure what you mean… whatever it is, I wonder if you’re taking the complicated option? It certainly seems like you are. Perhaps try simplifying your layout.

Description : Is there a css/html coding app for iPhone/iPod touch?

Last Answer : How about mobile textedit ? That should get you where you’re trying to get. It’s not perfect, but it’s the only thing I found. You’ll also need mobile finder for it to work.

Description : Why do some websites put a "Validate XHTML/CSS" link on their external website?

Last Answer : valid markup helps search engines for one, it is also to show you know how to properly code a website. So if you are a freelancer for example, and a small firm wants to outsource some work to you they can, without having to ask, see your site is built of proper, validated code.

Description : Can someone please explain to me exactly how PHP, mySQL, Javascript, and HTML/CSS are related?

Last Answer : PHP is a serverside language, while JavaScript and mySQL are clientside languages. I think the difference is that PHP/HTML is the language used by the server to encode instructions for the web browser, ... have no idea whether it's accurate or not. I just started learning this stuff this week.

Description : What's the easiest way to learn how to code in CSS and PHP?

Last Answer : tizag.com

Description : Which of the following statements is false   You can make a website without using HTML   You can make a website without using PHP   You can make a website without using CSS   You can make a website without using Javascript

Last Answer :  You can make a website without using HTML

Description : Where can I find information about GMail html specifications?

Last Answer : Need Answer

Description : How to align an image source code in a Tumblr text post?

Last Answer : I think? Or, couldn’t you align it in CSS by going img { align=“right”; }

Description : How can I convert an Excel Macro to html or use the database in a webpage?

Last Answer : answer:Edit the macros and you will see Visual Basic (VB). ASP.NET pages. can use VB (and other languages). One thing about Microsoft technologies - they provide huge amounts of free learning and support. ... if you want to learn ASP.NET For a quick intro, I would check out W3 Schools tutorials.

Description : How do I start a social networking website with some technical knowledge?

Last Answer : ask-public is powered by Python. can learn that.

Description : Can a Website be 100% Bootstrap?

Last Answer : By “bootstrap”, do you mean hand-coding some HTML as a prototype, or are you talking about a product like getbootstrap.com?

Description : Help making a questionaire with javascript/html?

Last Answer : Are you familiar with Javascript? Are you using any type of framework like jquery?

Description : How can I create content within a webpage? (see video)

Last Answer : I would think that your client would want an underlying database.

Description : Any way to directly download an audio source file when the web page is using a javascript audio player (that doesn't use filenames like "x.mp3")?

Last Answer : Could try file2hd.com to see if you can find the resource.

Description : I need to know how to make automatic pages with html?

Last Answer : Wonder if this little java app would do the trick. Looks like it’s a Firefox plugin as well as srandalone.

Description : How easy or difficult is it for a business to offer customers the choice of the regular website rather than the mobile version?

Last Answer : Some websites do offer you the option to go to their regular website when a mobile device' has been detected and they have sent you to the shrunken version. I've seen that option on my tablet a ... to give you the option. It's just a link they can provide easily, that overrides the mobile version.

Description : How can I change the border color around my Tumblr posts?

Last Answer : answer:Welcome to Fluther. You're on the edge of a thin line posting Tumblr questions, you know. We don't like new users asking for followers (and old users already know better), so don't cross ... existing theme that you like better than your current default, and either edit that or use it as-is?

Description : Can I post something on my Tumblr to a certain page only instead of my home page?

Last Answer : Yup, you create a new blog.

Description : Is there a way to prevent an unlisted YouTube video from being shared on a social site?

Last Answer : answer:No, there is no way to prevent videos from being shared through social networks. It would of undermine Youtube's business model if it allowed that. The best you can do is restrict it from ... own servers. Positing it to a video sharing site is just too risky if confidential info is concerned.

Description : How do I add padding? (html)

Last Answer : I;m not familiar with Tumblr. You normally control padding around an HTML element with CSS. Does Tumblr give you the ability to customize a CSS file?

Description : Would anyone be willing to change a tumblr layout?

Last Answer : Customize, and mess around with the tables colors.

Description : HTML coders out there: help! You know how you can hover your cursor over certain text for about a second, and then a little text ballon will appear?

Last Answer : answer:Does blogger allow you to type actual HTML in your blogs? If so, then it’s pretty simple: You see this printed on the page normally

Description : Good no-styling starter blogger template?

Last Answer : answer:I know you're on Blogger but if all you're trying to do is learn from some existing templates on a well-known blogging platform, then perhaps you should try Tumblr instead. They offer ... started with selecting the template you want. All of the HTML/CSS/JS is completely editable by you.