[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

html code error

This does not seem to affect the rendering of my page, but can't make the error generated from this line of code go away

                                          style="font-family: 'times new roman; font-size: 12px; font-weight: bold; text-align: -webkit-left; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">

The error is: Missing a closing quote ('"') for the string value.
0
vbnetcoder
Asked:
vbnetcoder
1 Solution
 
Roman GhermanCommented:
style="font-family: 'times new roman;

put

 style="font-family: 'times new roman';
instead
0
 
sammySeltzerCommented:
You didn't close the single quote:

style="font-family: 'times new roman; font-size: 12px; font-weight: bold; text-align: -webkit-left; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">


Try this:

style="font-family: times new roman; font-size: 12px; font-weight: bold; text-align: -webkit-left; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">

Open in new window

0
 
Scott MadeiraCommented:
tyle="font-family: 'times new roman; font-size: 12px; font-weight: bold; text-align: -webkit-left; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">

You start times new roman withe a single quote but you never close the times new roman with a single quote.


should be: 'times new roman'  
0
 
vbnetcoderAuthor Commented:
ty
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now