Solved

html code error

Posted on 2011-03-25
4
220 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
Comment Utility
style="font-family: 'times new roman;

put

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

Expert Comment

by:sammySeltzer
Comment Utility
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
Comment Utility
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
Comment Utility
ty
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now