Some Essential Links! You have to check these out!
- Head First Lab's list of essential
CSS design links
- CSS Zen Garden (yes its in the above list but it
is so phenomenal I'm repeating it here)
- W3Schools online Web tutorials -- 100's of "try-it-yourself" online examples you can change online to see how things work!
- A List Apart: "for people who make websites" ... real-world XHTML/CSS tips and tricks
top
Help! My Web page doesn't look like it is supposed to!
- Ask yourself, exactly what isn't working (...the header line is just regular text)
- Look at your HTML - find the line(s) that are supposed to do the job (...the <h2> tag)
- Examine *that* line ... the problem is likely there. Typo, etc.
- Also check the line above... Missing the closing tag? Missing the CSS end-of-line semicolon?
I'm making changes in Notepad, saving it but the changes don't show up in my browser!
- Are you refreshing / reloading the page in the browser?
- Are you looking at (in the browser) the same file you are saving in Notepad?
- In Notepad, open the Save As dialog to see where you are saving the HTML file.
- Compare that location with the location of the file you are loading in the browser.
- Are you saving the file as an HTML file? It must end in .html or .htm
- Make sure you have the "Hide extensions of known file types" turned off
- Otherwise you can't see the file extension actually being used.
- See pg 15 of the book for guidance.
- Vista is a bit different...go to Organize->Folder and Search Options->View tab to find it...
top
Restore the student site homepage
Since you yahoos seem to have a tough time copying your pages to the right place and keep destroying the homepage
for the student site, I've created a tool that will restore the homepage.
Just click this magic link
and all will be as it should be!
top
How to publish your website
- Run Expression Web
- From the menu, select Site -> Manage Sites List
- Click the Add button
- Find your student folder on the Q: drive
- Click the Add button
- In the Managed Sites List window, double-click on your name
- Click the Publishing tab at the bottom of the page
- Click the Add a publishing destination link
- Name: King's Student Site
- Location: ftp://ftp.mhthompson.com
- Directory: enter the name of your student folder (on the Q: drive) spelled *** EXACTLY *** the same (including capitalization) ... to be clear, this is your name ...
- User Name: students@mhthompson.com
- Password: see Mr. T...do NOT share this password with others!
- Click the Add button
- In the left hand panel of the main view you will see the files on your computer.
- In the right hand panel of the main view you will see the files on the web site.
-
To publish a file or folder:
- Select the file/folder(s) in the left hand panel
- Click the little arrow pointing to the right in the center bar between the two main panels
- You are done!
- To view your published web site, browse to students.mhthompson.com/YourFolderName
Example:
students.mhthompson.com/Christian
top
How to resize a picture
You don't need Photoshop do resize a picture. There are many free options:
- Microsoft Office Picture Manager (well...free if you Microsoft Office...)
- Picasa from Google
- GIMP
Here is how you resize a picture using
Microsoft Office Picture Manager:
- Add your image folder to Picture Manager's list:
- File > Add Picture Shortcut and browse to the folder holding the picture you want to work with.
- Load your picture:
- Locate your picture in the main window and double-click on it.
- Click the Edit Pictures button at the top of the window.
- Click the Resize link in the right-hand side panel of options.
- At the bottom of the right-hand side panel, it shows the Original size.
- To resize to a specified size:
- Select Custom width x height
- Enter the new width in the left box.
- Enter the new height in the right box.
- Verify proper New size at the bottom of the right-hand side panel.
- Click the OK button at the bottom of the right-hand side panel.
- You can also select one of the Predefined width x height sizes instead of a specific size.
- Save the resized picture with a new file name so you don't lose the original picture:
- Discard the changes made to the original picture:
top
How to set matte color using GIMP
- Open the image in GIMP
-
Set background color to desired matte color:
-
GIMP calls the process "Semi-Flatten" not "Matte":
-
Save as a GIF:
top
XHTML & CSS Validators
top
How to embed Flash videos *AND* get it to still validate!
YouTube will give you an <object> <param> <embed> set of code to copy-n-past.
Replace it with the following.
<object data="XXX" type="application/x-shockwave-flash" class="YYY">
<param name="movie" value="XXX" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="best" />
<param name="bgcolor" value="#FFFFFF" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
</object>
Also substitute:
- The URL of the video for the XXXs above.
- Your CSS movie class name for the YYY (so you can style). Minimally you need to style the width and height.
For an example, see the Pix & Movies page in the Robotics class section.
top