text

CSS resizing menu and content background images

Hello, I need to have resizable menu and content background images for my site, so both of them get stretched whenever the menu entries are too many, or the contents go outside the borders of the content background. I need vertical stretching. Could you, please, give me a hint (an actual answer would work as well) or a link to a good e...

Text Invertion Android

Hi Anybody knows how to write upside down text of edit text in Android thanks /minhaz ...

How do I efficiently parse a CSV file in Perl?

I'm working on a project that involves parsing a large csv formatted file in Perl and am looking to make things more efficient. My approach has been to split() the file by lines first, and then split() each line again by commas to get the fields. But this suboptimal since at least two passes on the data are required. (once to split by l...

Text Change in a textbox

I have a text box that the contents change on page reload, but what I was wondering is how to make it change after a specified amount of time. Is this possible without flash? ...

ASP.NET text chat and video chat

Hi, My website is a kind of community site and was developed with ASP.NET. I want to integrate Chat feature to my web site. Can you please suggest me which one is best to handle "text and video" chat? Thanks in advance, Krish ...

Create text files of every combination of specific lines within a base text file.

Ok, so hopefully I can explain this in enough detail for somebody to be able to help me.. I am writing a program in C# that is supposed to take a text file and replace specific text, which happen to be names of files, and print a new text file for every single combination of the given filenames. The specific places to change the text of ...

How to get Japanese text input for a custom text box

I have yet to implement it, however I cannot seem to find any examples on this and I am looking for pointers on the matter before I start. Do I just create a caret and position it where I want the input to occur? Do I need to actually draw the caret via the Win32 API? In general, how does the IME decide where to put text and how to re...

HTML text: do I need specific tags to use text?

What I want to do is <div>some text <span>different text</span> more text </div> I wasn't sure if I needed one of <a><p><h1> tags to use text or if I could simply just write it with just div. Does it affect proper markup or SEO? Also in cases where I am using the header tags <h1><h2>, etc. How many can I go up to? Such as <h7>+? And...

How to draw a translucent rectangle on a static text?

Hello, I draw a tranlucent rectangle on my panel but on the places that have static text's the rectangle is not filled. I've drawn rectangles inside each static text but when I do that, the correspondent text doesn't happear. How can I draw a translucent rectangle inside the statix text without making the text disappear? The code is ...

Capture client side text change event for asp:TextBox

I have a form that contains a TextBox. A pop up window will return a value and put it into the TextBox. when this happens, i need to populate another control. I tried tried "OnChange" but it was not triggered . How this can be achieved? ...

VB.NET How to insert text at cursor position in a different window?

Hi, I have a small application that displays a listbox under the cursor position when the user uses a shortcut key. When the user double clicks a selection from the listbox I want to insert that selected text at the curser position of that opened window. Example: user has microsoft word open. He/she uses a shortcut key that displays a...

Random space between text?

Anyone know why there would be space between the first blog post? It always happens, but just to the first post on the blog homepage... (word press) http://oliveramusic.com/blog/ Not sure if anyone can help... thought I might as well give it a try. EDIT: Sorry, I should have been more specific. Between each word in the first line of t...

Problem getting text field as string from MySQL with PHP

Hello, I'm having this problem that's driving me nuts. I've got a MySQL database in which there is a table that contains a text field. I am querying the table in PHP and trying to put the content of the text field for each row into a var. I am doing something like this: for ($i=0;$i<$nbrows;$i++){ $id = $data[$i]['ID']; $descript...

What is the point of styling hyperlinks to be barely distinguishable from body text?

It seems like there is an increasingly popular trend to style hyperlinks in a color that's barely distinguishable from body text. I noticed this just the other day on an SFGate blog page. Also notice that link just a few words ago. Are my eyes getting worse, or is that hard to spot? I certainly understand styling hyperlinks to look bett...

Does anyone want to send text messages from PHP?

I made a PHP class that dramatically simplifies sending text messages with PHP. I know this isn't really a "help me out!" type question per se, but I would like to share the code because I have found it to be tremendously useful. You're free to do whatever you'd like with the code . You can even go around telling people you made it. Just...

canvas draw text problem

If I execute the following code the text is shown bad (it seems not aliased) and not right aligned why? context.textBaseline = "top"; context.textAlign = "right"; context.fillStyle = "#F00"; context.font = "italic 30tpx sans-serif"; context.fillText("Lorem ipsum dolor sit amet", 50, 50); I'm using FF 3.6... ...

PHP output text before sleep

Hello, I want PHP to output some text, then sleep for a minute and a half, and then output some more text. <?php echo 'Output one.'; usleep(1500000); echo 'Output two.'; ?> My problem is that all text is being put out simultaneously - after having waited those 1.5 seconds. I have read something about a function called flush - but...

How to copy plain text from a website and display it in a widget on android ?

Hi everyone, I need some help to make a widget that basically when clicked it access the internet and copy text from a single website link and display it in the widget? and guidance on how to do that or even better a simple example? I did finalized the widget so I just need the part where I grab the text from the website. Thanks a lot...

What is the paper "Oliver [1993]" describing a PHP algorithm to calculate text similarity?

There is a function similar_text() in the PHP library. The documentation (http://php.net/manual/en/function.similar-text.php) tells me that "This calculates the similarity between two strings as described in Oliver [1993]." Despite extensive searching, I can't find the paper that "Oliver [1993]" is referring to; nor any candidate for w...

Change default text direction in a powerpoint presentation using VBA

I use the Powerpoint Object-Model to programmatically create a presentation in PowerPoint 2007. Some of the computers on which I run my program have PowerPoint set with Hebrew as the Primary Editing Language. (to change the primary language, push the "Office" button, then "Powerpoint options", and go to Popular->Language Settings->Prima...