bondimedical Posted January 3, 2016 Share Posted January 3, 2016 Is there any reason why the font changes to italics for the headings on the confirm page for the Billing Address. If not how do I change it to normal? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 3, 2016 Share Posted January 3, 2016 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. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted January 3, 2016 Author Share Posted January 3, 2016 Thank you for your help Brian. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.