[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Trying to get text to grow to the left in a webbrowser control.

Posted on 2013-12-25
2
Medium Priority
?
330 Views
Last Modified: 2013-12-25
I am trying to use a web browser like a label to try and display text.  I need this text to be displayed right to left.

The syntax that I am using is webbrowser1.DocumentText="<p dir=""RTL"">" & "Hello world" & "</p>".  

Now this seems to work except the only character in the string that is displayed is "H".  I think that the text is growing to the right (out of view) instead of to the left.  How do I make the text grow to the left?
0
Comment
Question by:NevSoFly
[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
2 Comments
 
LVL 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39739630
You will want to show us the rendered html and not your asp code. You can always back out the answer to asp.  In this case, if we just take your example as html it works. The code is below and working sample at http://jsbin.com/eCiMAgek/1/edit?html,output

Your problem will have to do with other css or possibly js that are manipulating the output.  If you can create a demo page and a link for us to see, we can help.  Just a simple example with the one word as you have but include all of your css and js code.

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <p dir="RTL">Hello world</p>  

</body>
</html>

Open in new window

0
 

Author Closing Comment

by:NevSoFly
ID: 39739686
Thank you for your fast response especially on xmas!  The problem turned out to be coder error due to too much Cabernet.

Merry Holidays!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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)
Suggested Courses

650 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