Questions tagged [text-styling]

139 questions
0
votes
1 answer

why underline is removed by changing the style of font?

I'm a beginner in android ,so please do excuse me if my question is foolish.Basically I'm trying to make a text editor so after a lot of try I'm able to add the bold,italic,bold-italic styles to text without any problem. But now when I'm trying to…
Srinivas Nahak
  • 1,846
  • 4
  • 20
  • 45
0
votes
0 answers

FontWeight does not stay the same in published project

I have a WPF application. My project has compiled and I published the project without any error. In debug mode I set text's FontWeight to bold, but when I published my project, each text's FontWeight is not set to bold. How can I solve this…
tpbafk
  • 501
  • 5
  • 26
0
votes
3 answers

Javascript .css not working nor jquery .blue

I'm having all sorts of trouble styling simple html in js and jQuery It seems a jsfiddle is used here to illustrate. I am new to it and don't see console output or the desired results so I ask this question to learn more about how so can help; I did…
0
votes
1 answer

Set text margin in the

and excluding the image

I am a beginner and I trying to style a webpage with css. I am now using a Wordpress template (activello). I would like the text in the page to have more margin than the image (see picture) but when I am editing the css with this code p { margin:…
Guy Debord
  • 13
  • 3
0
votes
0 answers

Is there any way to change style properties of an input value in javascript?

I have a form with a input. When the user submits the form, i want the input value to change to be their input, but with some of it marked up. the want to differentiate part of an input value. The charAt values of what i want to be…
azerty
  • 33
  • 6
0
votes
0 answers

styling the dropdown menu according to mysqli_fetch_array results

My purpose is to styling the each dropdown menu row with different background color but I do not understand why my code is not working. I get the sub-category names from table and match these names with the texts in the switch statement.
0
votes
2 answers

Can I replace an image with a custom font?

On my website I'm currently using image files to represent custom fonts. I'm wondering if I can replace this with actual text but with a font that may not be installed on the viewer's system. How can I achieve this? Thanks
Jake
  • 1,137
  • 3
  • 11
  • 14
0
votes
1 answer

Control white space of section locally on latex

is there a way to control the white space above just one specific section in latex? Most solutions I've found rely on the titlesec package, but as far as I know that would change every section. Thanks for the help!
DCrown
  • 57
  • 7
0
votes
3 answers

Putting an

with my text

while having it styled with "text-align:center;" don't work

This is for a drop down menu of 4 columns. On the first column with is the "HOME" within a div, I have the text "HOME" in a tag. ex.

HOME

now if I try an add in

between HOME, it cancels out the…

0
votes
5 answers

Style php text which uses variables using css

I'm working on a website for TeamsSpeak server and I want to style a text that is displayed using php: echo "Welcome: ".ucwords($name).". IP of our server is: ".ucwords($ip)." , and port is: ".ucwords($port)."
"; I want to style the whole text.…
user4245135
0
votes
1 answer

naming division id anything I want

Sorry for such a basic question. when writing different div elements to later ID and style in css, can I name them whatever I want?
0
votes
1 answer

ActionBar MenuItems not visible in LowerCase Latters

I am working with ActionBar menuitem action-help, it is visible always in UPPERCASE latters but I needs to show in LOWERCASE latters. There's been many questions on styling on action bars, but the ones I've found either are relating to styling…
Dinesh
  • 482
  • 9
  • 20
0
votes
1 answer

Tags Incorporated in String in Tkinter Text Widget

Tkinter Text widget allows to style text using tags. text.tag_config('red', foreground='red') text.insert(END, 'Red text', 'red') Is it possible to include the tag in the string literal? Pseudocode: text.insert(END, 'This sentence has red…
mcu
  • 3,302
  • 8
  • 38
  • 64
0
votes
2 answers

Set part of a UILabel's text bold and another part italic

Is there a way to set part of a UILabel to be bold and another part italic? As in The quick brown fox jumps over the lazy dog. It doesn't seem I can do this using TTTAttributedLabel
abinop
  • 3,153
  • 5
  • 32
  • 46
0
votes
1 answer

Two different colors in one word in an NSAttributedString

Can I somehow add multiple colors to a single word in an NSAttributedString? In other words, I want to add colors to specific words, with or without a space between colors, such as appple. That way apple has two colors. I…