Questions tagged [spacing]

Refers to the blank space (page or screen) between two objects or entities.

Refers to the blank space (page or screen) between two objects or entities.

1104 questions
-2
votes
1 answer

why an odd fix for spacing on an f-string

Went on a break and decided to tweak my 2 second decorator, in anticipation of an early early Spring (cross your fingers). Twenty minutes after adding umbrellas (you might have to replace them with another UTF-8 character), the first line was…
Tim Pozza
  • 498
  • 6
  • 9
-2
votes
2 answers

\n not working in the output

Hi I currently have an output…
Star
  • 1
  • 1
-2
votes
1 answer

I would like to add space between buttons (maybe it is called margin) for a website

My code is made of mainly php and javascript. It also contains slight html and css. I have tried using css style margin attribute to create the space but it did not work - maybe i have done it wrong . I have also tried using javascript to do it but…
-2
votes
2 answers

Add spaces to string with loop

I want to get this output via loops. However user needs to define the value when it runs. So, when the user inputs 6, the result should be this(notice 6 rows are created! with incrementing spaces between the characters): ## # # # # # # # # #…
BTurk7575
  • 25
  • 1
  • 1
  • 6
-2
votes
2 answers

Indenting text in HTML

I'm trying to figure out spacing in CSS and a way to move text relative to the center of a page. if you know a way in CSS to do this, please let me know!
-2
votes
2 answers

html/css How to aling all pictures with same spaces.

I want to make same spacing between all pictures. Their width would be the same only height differs. It should look like in the picture. example: http://prntscr.com/2ugt3z
-2
votes
1 answer

make space viewable in print stars on ahead of random entered numbers in android

i am having problem in adjusting with program spacing. as i am taking numbers from user like random numbers 2 4 7 1 9.. as the space size of space character and star characters are different. the view of my result is not as i want. like in 2 4.. the…
-2
votes
1 answer

How to fix preprocessor statements having no spacing in Xcode?

When you type in most kinds of lines of codes into Xcode, it spaces automatically as it is supposed to: it inserts as many spaces as your tab is set to (default four) for every indent. When you press enter, it jumps to this spot. But, when you type…
-2
votes
2 answers

lining up printfs to look nice and line them up

How in the world do you format this for things to line up, ive tried everything, nothing changes?! printf("N Count\n"); printf("---- ------ \n"); for(i = 0 ; i < MAX_ELEMENTS ; i++) { count = getOccur(arr, MAX_ELEMENTS, arr[i]); printf("%1d…
Sherifftwinkie
  • 391
  • 1
  • 13
  • 21
-3
votes
1 answer

JavaFX label text Underline Spacing with Css

I have Forget password label in JavaFX application that I applied underline on it. UI I know this isn't possible to do with a basic property, but instead I have applied the following CSS to the label and I don't know how to set Spacing between the…
Hassen
  • 11
  • 3
-3
votes
1 answer

Spacing and pattern replacement

It is two part question: Part 1 To remove multiple white spaces, paragraph breaks to just one. current code: import re # Read inputfile with open('input.txt', 'r') as file : inputfile = file.read() # Replace extras spaces with single…
Programmer_nltk
  • 863
  • 16
  • 38
-3
votes
2 answers

Add padding to table (Maintain cell collapsed)

I'm making a table with a border between each row, I've been trying to edit the table so the row borders don't touch the outer border of the table and I can't figure it out for the life of me. I feel like there's probably a solution that I have…
Wren
  • 3
  • 1
-3
votes
2 answers

Ruby: Why do I need an extra "a + b"

def add(a, b) puts "ADDING #{a} + #{b}" a + b end def subtract(a, b) puts "SUBTRACTING #{a} - #{b}" a - b Here is my code and my question is, why do I need the extra (a + b) and (a - b) at the end? I understand that "def" is…
mongobongo
  • 171
  • 12
-4
votes
1 answer

Spacing in web scraping

I have the following html code from where I extract the text "Classification of protein families" with BS in python.

Classification of protein families However, when I export the data to a excel…

-4
votes
1 answer

Distribute points in a row using as little space as possible

I have a row that can contain up to N points. I want to distribute x points inside that row from the center outwards, using as little space. I have managed to distribute points evenly within the row, but it uses all of the available space. Using the…
driima
  • 623
  • 1
  • 11
  • 28
1 2 3
73
74