I was having a hard time centering an image on a page with the ‘margin:auto’ declaration. I learned that you must add the ‘display:block’ declaration.
Printer Friendly Web Pages
Here is a great tutorial about producing printer-friendly versions of web pages.
Updating Favicon in Firefox
Capital University Paralegal Internet Research Class Converted
Finished converting the lab questions and answers from Word to HTML. Implemented auto numbering and added hyperlinks.
Added Favicon
Added favicon for address bar and favorites menu. Got good help from the Widipedia article about favicon.
Capital Paralegal Class Content Conversion
Converted all questions and answers for my Capital University internet legal research paralegal class to php pages from MS Word documents. Used ‘before’ pseudo-element to number each question.
Updated the “Legal Associations” section from the Legal Research page.
Here is a very interesting idea for using the before and after property to display the url of an anchor tag.
WordPress Integration Complete
The classic theme is much easier to modify than the default Kubric theme. To fully integrate into Glen’s World, I needed two layers of wrappers. The classic theme already provides one empty wrapper called rap. I modified that one to create the star background. I created a second wrapper (calling it rap2) to hold the bulk of the posts and the sidebar menu in front of the green background. Bringing it all together requires a good understanding of the “position” style. What helped the most was understanding that “absolute” isn’t! Absolute is relative to the parent container (as long as the parent is not “static”). Also, you need to remember to ‘clear’ the footer. Otherwise, the footer won’t sink to the bottom.
After getting rap centered on the page and the posts sitting next to the sidebar, the rest was pretty easy. Replace the text header with a graphic; replacing the footer with the usual footer, placing the main menu in the left margin, all fell into place.
Posts are formatted by the <p> tag. The classic theme messes with the spacing between lines and letters. This made the text in the main menu look odd. Deleting the modifications to the spacing corrected that problem.
Customize the Meta Side-bar
This page describes how to remove unwanted items from the meta sidebar menu.
Customizing WordPress
Being a novice, I found tweaking the default (Kubric) theme to be difficult. Switched to the classic theme which is much easier to understand. Still need to figure out how to move the side-bar around. But the rest of style.css is pretty straightforward.
Finished update to Lawyer Research Footer
Implemented PHP code to determine which of the Lawyer Research sub-files is the most recent. The date of that file is used in the footer. The experiment page documenting my learning process. Eventually settled on the glob function to put each file into an array.