I tested my site on a mobile device and it loaded pretty quickly. However i had to scroll right to see all of the text. The text was pretty big as well.
How can i redesign my site so i dont need to do any scrolling and have smaller text? I know i I seen this before but i cant remember what site did it.
i removed my css and the device s...
I'm rendering text onto an image using the System.Drawing.Graphics class, and the DrawString() method.
I need to generate the text for this image in a very specific way so that it exactly - pixel for pixel - matches an existing image.
The problem is that the text generated by DrawString() has a different kerning to the text in the exis...
The following unstructured text has three distinct themes -- Stallone, Philadelphia and the American Revolution. But which algorithm or technique would you use to separate this content into distinct paragraphs?
Classifiers won't work in this situation. I also tried to use Jaccard Similarity analyzer to find distance between successive ...
I'm doing something like:
<p>SQL</p>
<p>sql</p>
<p>sQl</p>
<p>SqL</p>
<script type="text/javascript">
var ps = document.getElementsByTagName('p');
for(var i = 0; i < ps.length; i++) {
var p = ps[i];
p.childNodes[0].nodeValue.replace(/sql/gi, 'VB.NET');
p = null;
}
</script>
But it's not replacing the text. What's wrong?
Thank you....
Is there something like automatic writing or surrealist automatism in programming?
...
Hi guys, once again I've run into a problem with mysql stored procedures.
It's a tricky one and I'll stupply some teest data.
Basically I have this load of text
Operation Manna - Lancaster Series (7)
The 29th April sees the anniversary of one of the most unusual RAF Lancaster operations in WW2. The Netherlands was deep in what became...
I'm using the Java2D TextLayout class together with a LineBreakMeasurer and an AttributedCharacterIterator to draw a piece of text into a box. The text is wrapped.
Profiling shows me that the code is very slow. Most of the time is lost in the method TextLayout.draw(..).
Does anyone have a suggestion for speed improvement?
// Get i...
Why would a DropDownList switch from Spanish into English when one selects a new item in it? And how does one prevent that from happening?
<asp:DropDownList ID="ddl_r1pc" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlRelationship_SelectedIndexChanged">
<asp:ListItem></asp:ListItem>
<asp:ListItem ...
Converting a database of people and addresses from ALL CAPS to Title Case will create a number of improperly capitalized words/names, some examples follow:
MacDonald, PhD, CPA, III
Does anyone know of an existing script that will cleanup all the common problem words? Certainly, it will still leave some mistakes behind (less common name...
Hello all,
There are two columns. One of them contains HTML and another contains plain text. How can I compare them as 2 plain texts? Converting HTML -> plain text should be done the same way as a browser does when copying selected HTML into clipboard and pasting it into notepad.
Regards,
...
I have some text below called (16 Courses). I need to hide only this text, but I can't seem to hide it no matter what I try using jquery. Is there any help someone could provide so I can hide on this text?
<div id="programAttributes">
<div class="left" id="credits">
<h3>Credits</h3>
<h3 class="cost">48</h3>
(16 ...
I have hundreds of .doc files with text that I need put on web pages.
I realize I could convert every .doc file to .txt, then use a server side include to embed the contents of each page into a webpage. This would save a lot of time because I could simply have one .php?txt=... page which will display a different .txt include depending o...
Hi All, Im creating a tableview that displays a feed similar to the facebook iphone app news feed. Im just wondering what control i should use in my custom table cell that will allow me to show a mixture of text and hyperlinks. e.g. UserA has just sent you a message. Where "UserA" is a hyperlink and when the user clicks on it I need to b...
I have an input field, a user will write text inside but when the text is to long it just extends horizontally instead of dropping down vertically.
I tried:
overflow: hidden;
word-wrap: break-word;
and I had no luck. Any other suggestions on how to accomplish this?
...
Hi My Dear Friends:
I Have A TextBox That i want do somthing(i am using it's text) with it's Text Change...
onkeyup - onkeypress - onkeydown not help because at first these events fire and then entering character applied(i want to use textbox text in changing it)
onchange not help because it is fired on blur...
what event should i us...
Hi Guys, Im going crazy here. Need some help. I have the following code:
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
NSString *currentMessage = [FeedMessages objectAtIndex:indexPath.row];
NSLog(currentMessage);
UIFont *font = [UIFont systemFontOfSize:14];
NSLog([NSString stringWith...
How can I add a string to the end of a .txt file?
...
Hi there,
I am new to openGL and wanted to set the text color tried the glColor3f function but it changes the drawing color as i only want to change the text color what should i do?
...
Hi all!
Is there a method which returns the width ( in pixels ) of a text to be drawn on an Android canvas using the drawText() method according to the Paint used to draw it.
Thx.
...
I have text being passed to a function. That text can contain anything, from a single character all the way to a full book.
I need to extract the first like and use it as a "title" so I can name a file where I am saving that text as a backup. I am using the following:
function GetTitle(var Text:string):string;
var
title: string;
p...