display <p> sentence without unnormal space [closed] - html

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
http://goo.gl/MNdDs
I have a question about the <p> sentence.
I used text-align:justify in my <p> tag, because I want my sentence cut fine in the right/left side.
But after using text-align:justify , there are too many space appeared in my sentence.
do you know how to fix it ? thank you

text-align: justify will make sure that a letter lines up with the left side and the right side. It does this by putting extra spacing between words. Perhaps you'd like text-align: left? You could also play with the sizing/margin/padding on those tags.

Related

Floating an image to the left with text to its bottom right [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 months ago.
Improve this question
I'd like to make my text align from the bottom of the img.
Like below :
Do somebody knows how to make that trick ?
Use flexblox on the wrapping element, and you can then justify/align the items as needed.
<div style="display:flex;align-items:end;">
<div style="width:100px;height:100px;background-color:gray">Replace this div with image tag</div>
<span>Text text text</span>
</div>
Click here to see codepen example.

How to make the text in a text area begin slightly lower? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
My current code is simply:
<textarea
class="form-field-textarea"
id="contact_message"
name="contact[message]"
value=""></textarea>
Basically I am looking to move the text inside the container downwards. Right now it's too high and it interferes with my label. How can I do this?
It sounds like you might have some other CSS and HTML that are affecting your textarea. Without seeing more, this is usually how I manipulate the spacing of a textarea.
This answer may change once more is revealed about the structure regarding the label.
textarea{
padding-top: 2em;
}
<textarea
class="form-field-textarea"
id="contact_message"
name="contact[message]">Hello I am some content.</textarea>

How to remove white spaces which is visible in inspect element [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
When I inspect element of any webpage text it appears white spaces in its left and right sides. Can somebody tell me how to remove that white spaces around the text. It will help me in automation testing.
do not change the line when you print or type your text
for example
<p>Some text</p>
do not write/Print like this
<p>
some text
</p>
this will make space on your code
other solution is, Use Jquery Trim but its works Only in i8+
In javascript you can use .trim() method. Please see link below for reference
http://www.w3schools.com/jsref/jsref_trim_string.asp

Responsive table with image on left and Text on right [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to create a html page (blog post style) with Responsive table with images on left and Text on right . I want a blue background. and text will have links to the post page. I want to have the css inside the html head.
Any ideas how I can achieve it?
I wanna create something like this
http://www.bucaillelegacy.com/light/blog.html
Just place the image at the beginning of the text, align it to the left and the text after it will wrap around the image, give it a slight margin-right to increase the space between image and text, resulting in:
<img src="image.png" align="left" style="margin-right:10px;">Text here.

Align images properly [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
This is probably easy to you guys but I am having some trouble with the aligning my images so they're even and not one higher than the other. Please see screenshot..
http://puu.sh/3Sgy7.png
Code (I don't use CSS):
<img src="images/paypal.png" title="We accept PayPal!"/>
<img src="images/windows.png" title="Windows Server 2008 R2" />
I want them to be on the same line and even.
Thanks.
Float both images left and make sure there is enough width to fit them side by side.