Solved

html code error

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

730 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