How to Troubleshoot an HTML Aligning Typo
When you have a typo in your HTML classes, the alignment does not take effect in your layout. You can use a global search feature to find the typo and fix the mistake in the HTML code. After you fix the alignment typo, the page returns to your standard template, so images and text align properly.
Instructions
-
-
1
Right-click the HTML page that contains the typo and select "Open With." Click the HTML editor in the list of programs.
-
2
Press the "Ctrl" and "F" keys. A "Find" dialog windows opens. Type the name of the HTML tag that is not aligning properly.
-
-
3
Read the "style" tag. Identify if a misspelling is made in the CSS property name or the alignment specification. For instance, if you want to align text vertically at the top of a div tag, the following code must be typed in the "style" property without typos:
vertical-align:text-top;
-
4
Save the file and open the new changes in a Web browser. Evaluate the alignment to verify the typo was fixed.
-
1