Double Underline: Simple and in the Code Please
Many approaches to applying the double underline involve editing the stylesheet then applying the style to text or numbers. The following tags can be placed in the HTML directly around the text or numbers you desire to double underline:
<u><span style="border-bottom: 1px double #000;">$14,481
The first tag applies the generic HTML underline. The second assigns a style that results in another underline at a slightly different height than the first.
Need a Dash: Not a Hyphen and Not a Line
When in need of a dash, online writers must often resort to a hyphen, or, for the discriminating writer, two hyphens. Many HTML editing programs offer "em-dash" as a special character. This dash is longer than a hyphen, but ends up looking much too long. A simple change to the HTML code for the em-dash will result in the perfect, sentence-splitting dash.
Inserting the em-dash with an HTML editor produces the following code:
"-"
If you replace the final 2 in the code with a 1, you get an attractive and reasonably sized dash. Thus the final solution is exactly:
-
Create a Picture Link Without a Blue or Colored Outline
Adding a link to an image is a simple procedure in most Web design programs, but the process often results in a blue or colored line around the image. The result can be unattractive or unwanted, with no obvious means of getting rid of the border. Adding the following after the image name in the HTML code will eliminate the default link border: border="0". Here is how the full image name would look in the code:
<img src="images/your_image_name.jpg" border="0">
Web Page Minimizes Until Contents Are Squished Like a Stringed Bean
There are certain browsers that do not handle a minimum page width well. Though you can use CSS to specify a minimum size, when you test your site you notice the content can still be minimized until everything is squished into a narrow column. Placing the following code in the HTML header section of your Web page will help ensure that browsers respect your minimum page width. The HTML header section comes first in the code and consists of all the information between the following tags:
<head> and
I usually place the code right before the closing tag for easy reference. You can use the two numbers in the code (970 in this example) to specify your minimum width, and they should always be the same value. Often it is best to experiment with different values until you get it just right. Also, and very important, the entire body of the Web page must be placed between the following tags:
<div id="wrapper1"> and
Here is the code:
These few HTML tricks have saved me a lot of searching and I use them with great frequency. When you are in a bind or have limited options, they just might save the day.
Published by Robert Mann
Corporate trainer and Website developer who has been published across diverse genres of writing. Early published works include poetry and college-level grammar workbooks. Additional articles published includ... View profile
- Designing Web Page for PrintingIn this article, I show you how to design a web page for printing.
- Choose Photoshop Elements for Your Web Site DesignPhotoshop Elements will give you the effects you need to jazz up your web site and make it graphically appealing.
- Covering a Web Page with a Semi-Transparent PaneIn this article you learn how to cover a web page with a semi-transparent pane.
Don't Design a Web Page like Digging into DeepAlongside the growth of IT industry, it is sub-structuring every single aspect of it in a separate full fledge industry. Take an example of " Logo Design Company",- The Top 10 Web Site Design MistakesHow to avoid web site design mistakes that turn your web visitors away.
- Build Your Own Website - Part 3: HTML Code
- 28 Ways to Make Money Online
- Comparing Two Projections and Why "Value" is Flawed
- ThinkFree Online Software: Web-based Java Applications Come of Age
- Using Flash in Web Page Design
- Web Page Design for All Resolutions
- Making a High Resolution Web Page Print on a Normal Paper
