Solved

html code error

Posted on 2011-03-25
4
221 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
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 28

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

773 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