CSS font stacks, media style sheets & web standards

Your banner ad here

In this section

Follow Code Style

Site navigation below

This page is part of a searchable archive of the Code Style site log. Technical implementation notes that shed light on when, why and how the site has evolved since 2000.

RSS news feed Follow the latest entries to the site log.

Reverse chronology

Feed profile loader for ping application, 30th October 2006

Refactored the Channel interface to extract a new super interface Profile to represent the channel title, feed URI and source URI. Created a working draft FeedProfile with Swing interface for the main fields to build into the PingApplication. Replaced the current text input fields in the PingApplication with a single new FeedProfile object and added buttons for New profile, Save and a LabelledSelectList to choose the profile to update. The buttons and select list initially have no action listeners.

Actions: Ask a question about this post, seek clarification or offer a correction.

IE7 media style sheet bug remains, 28th October 2006

Updated the CSS media monitor test pages and browser conformance summaries with results for Internet Explorer 7. In short, the results are un-changed from IE6. A significant bug with media dependent @import rules breaks overall conformance. Deleted many former server side include files for the conformance summaries and created new includes for IE7 un-supported media types.

Compacted text ad padding separately from other side bar types.

.TextAd {
  width:            22%;
  padding:          0.2em 0.5em 0em 0.5em;
}
      

And override smaller font size for form elements in menu box paragraphs, such as the site log archive, with just small.

#Content .MenuBox p label,
#Content .MenuBox p select,
#Content .MenuBox p input {
    font-size:      small;
}
      

Altered the mailing list serviceline table's foreign key constraints to CASCADE when their references are updated or deleted. Also added a UNIQUE constraint to the service table's service_name field.

Actions: Ask a question about this post, seek clarification or offer a correction.

Top questions per section, 23rd October 2006

Created a new SQL script to alter the FAQ section table to add the URL of a "very common questions" server side include. Inserted the top questions include references to each of the main section landing pages. Updated the Section interface, FaqSection class and FaqDataEditor to handle the new top question include references.

Actions: Ask a question about this post, seek clarification or offer a correction.

JDialog alerts for FAQ editor, 21th October 2006

Added basic JDialog alerts to the FaqDataEditor application in the case of SQLException, mainly to notify problems with database constraints. Removed the SQLException catch blocks from the delete() methods of FaqSection, FaqCategory and FaqQuestion classes so any exceptions are thrown to the FaqDataEditor class for alerts. Also removed catch blocks from the AbstractJPanelSQLEntity class store(Connection) method.

JDBC

Java abstract classes

Java objects

Java servlet API

Java servlets

Java threads

Javascript "how to"

Site manager

Drafted an SQL select statement for the top 7 most frequently asked questions in each root section for use in the FaqMenuGenerator.

Refactored the printVeryCommonQuestions(File, Connection) method in the FaqMenuGenerator class to create a separate printTopQuestions(PrintStream, ResultSet) method. Also created a new printSectionCommonQuestions(File, Connection) method to generate server side include (SSI) menus for the most common questions in each main section. Adjusted the draft SQL selection statement for very common questions to exclude URL-only questions.

Reduced spacing between text ads to make the listing more compact:

.TextAd, .Sponsor {
  clear:            right;
  margin-top:       0.3em;
  margin-bottom:    0em;
}
      

Actions: Ask a question about this post, seek clarification or offer a correction.

Unique FAQ field values, 20th October 2006

Created an SQL script to make various name and URL fields in the Code Style FAQ database unique and applied the update.

Actions: Ask a question about this post, seek clarification or offer a correction.

PSFTP script for text ad updates, 19th October 2006

Updated all relevant include files and servlets with a new text ad booking. Also created a PSFTP upload script and Windows batch file for all relevant code.

Actions: Ask a question about this post, seek clarification or offer a correction.

PSFTP upload scripts, 15th October 2006

Created new Windows batch file and PSFTP put scripts to upload the site log and FAQ menus only.

Actions: Ask a question about this post, seek clarification or offer a correction.

Four new FAQ sections, 14th October 2006

Created four new FAQ sections by splitting off questions from other categories for Mac fonts, Java inheritance, Java compiler and Java utility classes answers. Had to re-arrange the main FAQ section menu server side include file to balance the section listings, so created a new column headed Learning Java. Adjusted the cascading style sheets to reduce the font size in the menu and reduced the table padding. Also added 10 new FAQ answers.

Cascading Style Sheets

Document Object Model

Java language

Java objects

Java programming

Java servlets

Java threads

Servlet exceptions

Servlet threads

Created SQL VACUUM scripts for Code Style databases to recover storage with the PostgreSQL ANALYSE option to re-compute statistics for queries.

Actions: Ask a question about this post, seek clarification or offer a correction.

Previously on Code Style

Find technical implementation notes on all aspects of the Code Style site.

Add this page to your chosen social bookmarking service

Style warning - please read

Home · CSS · Java · Javascript · HTML · Help · Log