Solved

html code error

Posted on 2011-03-25
4
224 Views
Last Modified: 2012-05-11
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
Comment
Question by:vbnetcoder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
Roman Gherman earned 500 total points
ID: 35217386
style="font-family: 'times new roman;

put

 style="font-family: 'times new roman';
instead
0
 
LVL 29

Expert Comment

by:sammySeltzer
ID: 35217391
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
 
LVL 14

Expert Comment

by:Scott Madeira
ID: 35217392
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
 

Author Closing Comment

by:vbnetcoder
ID: 35217543
ty
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question