Jump to content

[Resolved] Italics on confirm page - Foundation


bondimedical

Recommended Posts

The reason is really out in left-field ---

Every web browser has built-in styles for tags. That is, <italic> will have the browser apply its internal style sheet of using the italic sub-set of a font (if it exists), or somehow affect the appearance of the font by slanting it. The same for <bold>, <h1>, etc.

The interesting portion of the form is nested within <address> tags.

In my Firefox, its internal stylesheet has for <address> to use an italic font. (And maybe other stylings.)

I would say that every browser applies the suggested styles (according to some authority) to tags in various degrees of completeness. Thus, the development of "normalize.css" stylesheets that make an effort to correct and enhance (aka normalize) these disparities.

CubeCart uses http://github.com/necolas/ set of CSS rules. However, a normalizing style ruleset is not included for <address>.

You can check if there is an updated normalize.css, but then, if <address> is supposed to be italicized, maybe not a solution.

You can add it to the existing normalize.css:

address { font-style: normal; }

The next question is, why is there a block of HTML within <address> tags if there is no other specific CSS markup for it, or any javascript to manipulate it?

Good question.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...