<td>DESCRIPTION<i><div class="font-family: arial; font-size: 6px;">description of a category</div></i></td>

Member Avatar
Member Avatar
-1 forum 1

Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; }elseif ($user_choice == "font_style_3"){ $font = 'thiredfont'; }elseif ($user_choice == "font_style_4"){ $font = 'forthfont'; } ?> <html> <head> <style> h1 { font-family = $font; } </style> </head> <body> <form method='post'> <select name="font_styles"> <option value="font_style_1">font_style_1</option> <option value="font_style_2">font_style_2</option> <option value="font_style_3">font_style_3</option> <option value="font_style_4">font_style_4</option> </select> <input type="submit"> </form> <h1>username</h1> </body> </html> I want when a user opens the drop-down menu and chooses an option, the font of the <h1> tag changes and the user …

Member Avatar
Member Avatar
+0 forum 7

Hello everyone, was looking to see what was availble in listview1.columns.add.... and found this ListView1.Columns.Add("ID", FontDialog, HorizontalAlignment.Center) how would i use this to change the font in listview columns.? the rest of the code... ListView1.Columns.Add("Weekday", 100, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Date", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Time", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Location", 60, HorizontalAlignment.Left) ListView1.Columns.Add("Pump", 50, HorizontalAlignment.Center) ListView1.Columns.Add("Total Liters", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Total Dollars", 80, HorizontalAlignment.Left) Thanks for reading. :-)

Member Avatar
Member Avatar
+0 forum 1

Public Function setEmailSend(ByVal sSubject As String, ByVal sBody As String, _ ByVal sTo As String) As Boolean Dim oApp As Outlook._Application Dim oMsg As Outlook._MailItem setEmailSend = False oApp = New Outlook.Application oMsg = CType(oApp.CreateItem(Outlook.OlItemType.olMailItem), Outlook._MailItem) oMsg.BodyFormat = Outlook.OlBodyFormat.olFormatRichText oMsg.Subject = sSubject oMsg.To = sTo 'here I need the current font 'then change it to Courier, 10 oMsg.Body = sBody ' then change back to originally set font End function

Member Avatar
Member Avatar
+0 forum 2

please help me to install fonts in my website. can i put fontfile in my server and use in webpage. thanks in advance. jack

Member Avatar
Member Avatar
+0 forum 6

There's trouble in using font awesome icons as they suggest, so I am using them as below - <i class="nimg nicon-ico_help_rnd_lg" style='color: #FFFFFF !important;' alt="Info" title="Color code information" onclick="info()"></i> and style below - .nimg { height: 37px; width: 37px; float: left; /*display: table-cell;*/ display: block; text-indent: -9999px; vertical-align: middle; /*border:1px solid #FFFFFF;*/ position: relative; color: #FFFFFF !important; /*background-color: #FFFFFF !important;*/ } .nicon-ico_add_rnd_sm{ background: url("/img/plus27.svg") no-repeat scroll 0 50% / 37px 37px transparent; } since I am trying to output the icons on black background, I want them to be in white color. which I am not able to change despite …

Member Avatar
Member Avatar
+0 forum 8

Hello, I am struggling at trying to get custom fonts working in my application. I have added the font file to the project's resources via the 'Add Existing File...' option, and setup the following code... > FontFamily standard; Font wt; > [DllImport("gdi32.dll", ExactSpelling = true)] private static extern IntPtr AddFontMemResourceEx(IntPtr pbFont, uint cbFont, IntPtr pdv, [In] ref uint pcFonts); private Font getWetDreamsFont() { byte[] theFont = Properties.Resources.Wet_Dreamz_Medium; int length = Properties.Resources.Wet_Dreamz_Medium.Length; IntPtr ptrData = Marshal.AllocCoTaskMem(length); Marshal.Copy(theFont, 0, ptrData, length); uint cFonts = 0; AddFontMemResourceEx(ptrData, (uint)theFont.Length, IntPtr.Zero, ref cFonts); PrivateFontCollection pfc = new PrivateFontCollection(); pfc.AddMemoryFont(ptrData, length); Marshal.FreeCoTaskMem(ptrData); standard = pfc.Families[0]; wt …

Member Avatar
Member Avatar
+0 forum 1

This simple code shows how to write text with a given font, font size and color using the module pygame ...

Member Avatar
Member Avatar
+4 forum 8

Right now I'm typing in consolas, a favorite font among programmers but as soon as I submit this post, all that I've written will be in Arial. I'm sorry but, I hate Arial. I can't stand the narrow words. I almost always have to stop and examine each word individually and code doesn't look good in Arial. I don't want the storm dissonance to rage within me whenever my "consolas" goes Arial. I can stand Courier New, Comic Sans, Droid Sans, Monaco and even Times New Roman but I can't, I can't stand Arial. It's time for change.

Member Avatar
Member Avatar
+0 forum 3

# What I am using: # I am using java & libgdx to create a game in desktop & android. # Error: # Could not find class 'com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator', referenced from method com.aa.GameStates.MainMenu.init so on desktop version, everthing work fine and no errors. Problem is when I run it on android. # What I am thinking: # So I am guess android cant use this "freeTypeFontGenerator" libary but desktop version can. Is there different font libary I can use, which is for android and desktop? Bc I really wan tto use hyperspace_bold.ttf # Code: # public void init() { FreeTypeFontGenerator gen …

Member Avatar
+1 forum 0

I got a bug that is driving me crazy. The bug is the heading of this post. I can hardly surf the web. Just keep on getting that same message. What to do, oh what to do....please HELP!!!

Member Avatar
+0 forum 0

I'm wondering if there is a way to change the color of the text so that it looks like this when output Name: Joe Blow City: Denver Score: 80 But I would like the text to be Yellow and the numbers to be White. Console.WriteLine("Name: {0}", studentName); Console.WriteLine("City: {0}", studentCity); Console.WriteLine("Score: {0}",finalScore); I know I could do it like the below code but I was hoping there might be a quicker way. Console.ForegroundColor = ConsoleColor.Yellow; Console.Write("Name: "); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine(studentName); Console.ForegroundColor = ConsoleColor.Yellow; Console.Write("City: "); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine(studentCity); Console.ForegroundColor = ConsoleColor.Yellow; Console.Write("Score: "); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine(finalScore); Thank …

Member Avatar
Member Avatar
+0 forum 4

I want to know how I can have an array of strings for example: a[] = {A,B,C,...,Z} and then randomly choose one character from the array (for instance 'F') and apply a font format from windows on it and then render that particular letter in the form of Bitmap image with specific width and heights pixels and display the image to the user (for example in the image box in my form).

Member Avatar
Member Avatar
+0 forum 1

I know with linux when I want to change the color code I can type in echo -e \033[COLORm] Is there an easy way like this to change the color in windows scripting. I tried @echo off REM This program will list all the colors REM Selected by user input set /p color=Enter the color you would like to use to display the sentence Hello World: if %color% == [Blue] color 01 Echo "Hello World" Pause Exit 0 Why can't I simply type in color followed by the code But I had no luck, I'm still new at this. Any …

Member Avatar
Member Avatar
+0 forum 3

Hi I am a beginner programmer and I am really interested about learning new skills. So I need your help. I have a question regarding designing. I want to design a website where the user will be first shown couple of example page designs/template and then the user chooses one of it. Then the user will be asked to give his inputs in a form. After this, when the user presses the Submit button, the details of the form will be automatically written in that chosen example page using the user details. How can this be done? Which languages should …

Member Avatar
Member Avatar
+0 forum 6

I'm struggling with acquiring the same consistent table size across all three primary browsers as shown below. http://i41.tinypic.com/izxrtu.jpg - Chrome http://i43.tinypic.com/24yctw6.jpg - Firefox http://i39.tinypic.com/2ceg3lj.jpg - IE I'm not sure if it's a coding issue or a table issue, but here's the primary CSS: body{ background-image: url(../DefaultBackground.png); background-repeat:repeat-x; background-color: #FFFFFF; border: 0; margin: 0; } #maincontainer{ width: 980px; margin: 0 auto; } #topbar{ height: 54px; font-family: Verdana; font-size: 12px; color: #FFFFFF; } #topbar table{ border-collapse: collapse; } #firstdivleft{ float: left; width: 430px; } #firstdivright{ float: right; width: 550px; } #seconddivleft{ float: left; height: 83px; width: 430px; position: relative; } .floatbottomleft{ position: …

Member Avatar
Member Avatar
+0 forum 2

hi to master :) pls help, how can i use and fix all fonts thats not in safe font in web.

Member Avatar
Member Avatar
+0 forum 5

Does anybody know of a reason why a custom font would not load directly when a web page is loaded? When I visit the main page of my website, it uses a standard font instead of the custom font I selected, but if I then go to another page, that page *does* use the custom font, and when I then go back to the main page, the custom font is working all of a sudden. Anyone know how to fix this?

Member Avatar
Member Avatar
+0 forum 8

My platform is Ubuntu 12.10 with wx.Python 2.8.12.1 (gtk2-unicode). My application uses wxPython to print text to a printer. I want to use Ubuntu Condensed font face for some of the text. The problem is that when the text is printed the text that should be in Ubuntu Condensed face prints in the same font as all the other text. I am quite certain I have it coded properly since the correct face is used in the print preview. I am quite certain the Ubuntu Condensed face is installed correctly since it shows up correctly in a wxPython app I …

Member Avatar
+0 forum 0

I have created a custom control like below. public partial class TextBoxEx : TextBox { public TextBoxEx() { InitializeComponent(); Font = Utility.normalFont; } protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); } } //A utility class to initialize font. class Utility { internal static Font normalFont = new Font("Arial", 18); } I have two forms Form1 and Form2. This TextBoxEx is added to Form2. I am showing Form2 when clicking a button in Form1. Continuously showing and closing Form2 causes GDI leak in my application. After analysing with a GDI detection tool(Bear.exe), it is found that the Font causes GDI leak. …

Member Avatar
Member Avatar
+0 forum 4

Hello, I was wondering if there is a way to display formatting in a richtextbox eg. If i put **test** the word "test" would be i bold (only the word "test" and the rest would stay the normal). or if i put `test` the word "test" would be i size 10 (only the word "test" and the rest would stay the normal size). Please help

Member Avatar
Member Avatar
+0 forum 3

Hi, I want to output [chess symbols](http://en.wikipedia.org/wiki/Chess_symbols_in_Unicode) from unicode to console in c++, please tell me how to do that. Im using Dev c++, windows8 and console. Im just a beginner so please keep it simple for me (also tell me the libraries to include please)

Member Avatar
Member Avatar
+0 forum 16

hello all is there any one out there who could help me with this, maybe it's a easy task to you, but I have have exhausted with no answer. I made several picture in Photoshop with some text, the font size of text is 24pt, which I think is big enough, then I imported these pictures into Flash to make a silde flash, which works very well. but when I upload the flash file into my website, the font looks very odd, and some of the letter becomes bold while others still sharp. I have tried to save the photoshop …

Member Avatar
Member Avatar
+0 forum 1

I get a stackoverflow exception on following commented line. namespace Football_Manager_WFA { public partial class Settings : Form { Color def_bgdColor = SystemColors.Control; Color def_fontColor = Color.Black; // ERROR static FontFamily fontFamily = FontFamily.GenericSansSerif; Font def_fontType = new Font(fontFamily, 8.0f); } }

Member Avatar
Member Avatar
+0 forum 2

I have created a custom font for programming and I wish to use it in code::blocks. The thing is that code::blocks only allows for standard fonts (as far as I can tell) and so I cannot get it to recognise my font (even though it is a ttf). [Here](http://www.4shared.com/file/4avU0Xuh/lucidaprogrammer.html) is the font, does anybody know how to load it into code::blocks?

Member Avatar
Member Avatar
+0 forum 2

Word Files that are generated under win 7 on client are rendered differently on server win 2003, it is because of the font simplified arabic, I searched a little, and found that the version of this font on Win 7 is v5.0, while it is v1.0 in Win 2003 how could this be solved ??

Member Avatar
Member Avatar
+0 forum 1

This code works perfectly fine when I run it as a class file (the font is located in the same directory) - however when I package it into a JAR file it can't find the font and the program crashes. The font is definitely being included in the JAR archive, so I suspect I'm not using the correct syntax to point to it. How would I modify this so that it works in both cases? [CODE] // Text area font try { // Determine the font file path String path = System.getProperty("java.class.path"); String fileseparator = System.getProperty("file.separator"); int pathlength = path.length(); …

Member Avatar
Member Avatar
+0 forum 8

i'm novice to this and can anybody say how to change CSS properties with javascript functions? how can i change font-sizes/font styles using a combobox represented in a textarea? [img]http://i.imgur.com/KH0om.jpg[/img] if you can show me how events working..thank you

Member Avatar
Member Avatar
+0 forum 7

Hi:) I want to change the formatting of a rich text box's selected text with lines of different sizes. For example if I have written " [B]I code in VB[/B] " (any font, size 72, bold) on the first line and " [I]VB is easy[/I] " (any font, size 48, Italic) on the second. I want to change it when I click a button to make both like: " [B][U]I code in VB[/U][/B] " (any font, size 72, bold, underline) on the first line and " [I][U]VB is easy[/U][/I] " (any font, size 48, Italic, underline) on the second. Note …

Member Avatar
Member Avatar
+0 forum 5

Hey guys, Is it possible to change the color of characters in a list if they do/dont meet certain conditions? So here's my code: [CODE]def checkWord(real, guess, remReal, remGuess, wrongSpot): # Format the letters so user knows whats wrong/right fullWord= real # Create copy list of real word realWord= list(fullWord) # Create index start point index= 0 # Iterate for each letter in 'guess' for letter in guess: #print(letter) # Print letter with '[]' if it is in the wrong positon list if letter in wrongSpot: print('[',letter,']',end='') # Convert letter in list to a '*' realWord[index]= '*' # Add to …

Member Avatar
Member Avatar
+0 forum 2

The End.