August 31, 2009 (Updated September 30, 2009)
Touching up the Navigation Menu
NOTE
The links in the navigation menu will NOT take you anywhere. They are meant for design purposes only. The Close [X] button in the upper righthand corner, however, will close this window/tab.
ul {display: inline;}
Now the menu looks the way I want it to look. I also set the minimum width of the site to be 600 pixels, which I think should work in any monitor window without distorting the site’s appearance. I’m moving on to dropdown menus which will include some JavaScript.
August 25, 2009
Figuring out Internet Explorer 6, Part 2
padding: 2px 2px 2px 2px;
You’re probably thinking, “What’s so easy about this? A buncha ‘2px’ in a row doesn’t tell me anything.” And you know what, you’re right. The padding effect sequence you see works in this order: top ↑, right →, bottom ↓, left ←. This sequence works with margins, too, and not just with pixels but with EMs and other computer-based measurements, as well.
August 24, 2009
Figuring out Internet Explorer 6
So far, I have tested this site in Safari, Firefox, and Opera on my Mac OS X; Firefox and IE 8 on Windows Vista; and Firefox and IE 6 on Windows XP. The browsers on Mac OS X and Vista didn’t show any consequences and neither did Firefox on Windows XP. The site didn’t turn out too badly in IE 6, either, with the text size set to medium. I had to go back and fix some background issues by typing the following with them:
position: relative;
August 23, 2009
“Look, Ma, no tables!”
Now I’m trying a second paragraph with a comment set up on the left side. I’m hoping it will be successful and look neat. Doing something like this will help me with future Web design projects, including the redesign of my Web site. The tricky part so far has been distinguishing margins from padding in the CSS. Margins seem to keep things tucked in within the boundaries the designer sets up, while padding pushes out around any content it is assigned to. But like anything else in design, Web design requires a lot of guess-and-check work and trial-and-error experiments with the results.
From what I can tell, the site looks noticeably different in Safari from Firefox on a Mac but the CSS doesn’t suffer any. I’m discovering that designing with percentages (%) and EMs makes the site very flexible, which is good for monitors of different sizes and for window scaling. These units of measurement are definitely something to consider for future work.
“We keep moving forward, opening new doors, and doing new things, because we’re curious and curiosity keeps leading us down new paths.”
Along with CSS for the screen, I’m also writing CSS for print so that this site will have a certain, familiar look on paper. Background colors and images will not print out simply because the browser recognizes them as backgrounds. I also changed a lot of the color content to black and grey for easier printing and not a lot of wasted color ink. I also told the browser through the CSS code to not print the navigation menus. What good does a Web link do on paper?
It’s hard to believe I’ve used only one image that’s only a few kilobytes in size. The whole thing turned out well, and I am looking forward to expanding on what I have learned. I will gradually add more to this site to see how far I can go with it, but for now I’m glad I got this far.