Questions tagged [text-styling]
139 questions
0
votes
1 answer
Displaying text vertically (Japanies characters with ruby annotation) in android app
In my android app, I want to display japanies characters verticlaly with ruby annotations. The text and asnnotation comes dynamically from a service. Prestty much something like this…

Sandy K
- 65
- 1
- 1
- 8
0
votes
1 answer
Centering CustomFontTextView programmatically
Somehow I've trouble centering CustomTextView widgets text, which should be one code of line.
LinearLayout.LayoutParams linearLayoutParams = new LinearLayout.LayoutParams(0, height, 1);
LinearLayout linearLayout = new…

MaaAn13
- 264
- 5
- 24
- 54
0
votes
1 answer
How to line-through all links inside a border and bold mark certain text of a paragraph
This is the end product i'm supposed to create and i'm currently during this stage of the process and i'm stuck on how to do a line-through 3/4 links of the bottom border and how to bold mark both borders final paragraph. and also how to create…

Thankyouforhelping
- 13
- 2
0
votes
3 answers
How to change the position of text that appears on hovering on the top of images
I am new to CSS and website development and stuck quite often on formatting. I am used a prebuilt theme and customizing it to suit to my client's requirements and I am unable to change the position of text that appears on hovering on the…

Amanpreet Kaur
- 440
- 6
- 13
0
votes
1 answer
How to make parts of navigation appear using Grav
I'm working with Grav for the first time, so the Twig Sytnax etc. is still very new for me.
I should style the navigation so that first a part of the word or the page name is displayed
and with onhover the rest of the word should appear. (Example:…

Josie.La
- 53
- 1
- 6
0
votes
1 answer
replace specific text with view in reactNative
iam having a text string with characters like "__"(two underscores) in the string whenever i encounter the two underscores i want to replace them with a specific view like box and render it so for example:
str = "iam __ and i want to go to __"
so i…

aravind_reddy
- 5,236
- 4
- 23
- 39
0
votes
1 answer
How to render Date Values on X Axis of LineChart in 2 Lines using JFreeChart?
I am using JFreeChart to render a LineChart using CategoryPlot.
Something like:
JFreeChart chart = ChartFactory.createLineChart("Daily Revenue",
"Days", "Revenue", dataset);
CategoryPlot plot = chart.getCategoryPlot();
So…

KNDheeraj
- 834
- 8
- 23
0
votes
5 answers
How to disable text decoration with CSS?
So, I need to remove a visited link coloring from my navigation bar, as it will look ugly.
I have tried to use text-decoration: none; and color: white; but that does not seem to help it.
CSS for navigation
Actual code
I removed the actual links…

newbNox
- 1,000
- 2
- 15
- 25
0
votes
1 answer
Turn `=` into `<-` using only base R
Problem
Turn assignment equal signs into assignment arrows.
Use base R only (no styler or formatR).
Context
https://github.com/ropensci/drake/issues/562
Example
Input:
f = function(x = 1){}
Desired output:
f <- function(x = 1){}

landau
- 5,636
- 1
- 22
- 50
0
votes
2 answers
Having trouble applying an external font to CSS
I downloaded a free font and have the .ttf file in a folder on my local server. However, I can't seem to be able to get the font to actually work. This is the code that I found online for applying an external font:
@font-face {
font-family:…

Revircs
- 1,312
- 3
- 12
- 23
0
votes
0 answers
d3.js text is not getting styled
My text is not getting styled. I set 'stroke-opacity' to 0.1 both in my javascript:
// NEW add text labels
d3.select("#plot").selectAll(".groupText") //???? ".nodeText"
.data(nodes)
.enter()
.append("text")
.attr("class",…

Jame Stitel
- 15
- 1
- 11
0
votes
0 answers
Python Help : Colouring and Bold
I have tried changing the this " to this ' getting rid of the brackets and much more but it doesn't want to work
This is the code I have:
print("\033[1m" + 'Here are some commands you can do:" + "\033[0m")
this is the output
[1mHere are some…
user9754923
0
votes
2 answers
How can I take lists text in middle?
==Here I need to take my text at the middle of the balls.
this is my output, but i need these text in middle
.items {
padding-top: 50px;
}
.items ul {
list-style: none;
}
.items ul li {
width: 200px;
height: 200px;
background:…

Tareq Monwer
- 185
- 1
- 13
0
votes
1 answer
How to center text within a text area?
.username::placeholder {
padding-top: 14px;
text-align: center;
vertical-align: middle;
color: $grey-blue;
overflow: hidden;
}
.username {
resize: none;
width: 250px;
height: 46px;
text-align: center;
…

justinoreilly23
- 13
- 2
0
votes
4 answers
Need help styling PHP in HTML
This is my PHP coding from which I am grabbing data from my DB with a select where statement and outputting it. I am trying to change the text properties such as font, colour and size on the print statement can anybody assis with how to do this?…

shaminder galla
- 5
- 5