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 have a client requirement to set line space to 1 1/2 (1.5). It's for setting line-height while creating PDF through PHP, and the PDF is a court document (US).
I am not a designer guy, and I am unable to understand the requirement. If some could help me to understand the requirement it will be really helpful for me.
I believe the 1.5 is 1.5x line-height.
Refer to the line-height property in CSS.
This is probably a document requirement ... that there be space between lines, like setting line spacing in MS Word.
The comparable in HTML/css would be CSS setting: line-height.
See https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
Related
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 25 days ago.
Improve this question
I can't build accordion on clear css
I have tried a lot of things, but I still can't do it
You can't.
In fact you cant make pretty much anything without HTML (As for Bootstrap is 'just' a wrapper for HTML, CSS and JS.). HTML says where what element is, aka. places the content. CSS defines how it looks and behaves (for the later, you also may need JavaScript).
An accordion in fact needs all three (See this question/answer.)
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 8 years ago.
Improve this question
I need to make a really complicated diagram for a website, in which the hierarchy will be a bit messy: arrows will go up and down, sometimes an element will point to several others, and sometimes there will be several elements pointing to the same one. I have found this method, but it doesn't allow more than one parent for an element and therefore won't do the trick in this case.
It has to be done in HTML/CSS, because my intention is to add some Javascript to change the content of the blocks dinamically.
This is an example of the level of complexity I need to achieve:
You might want to take a look at this
http://thecodeplayer.com/walkthrough/css3-family-tree
Another to look for is SpaceTree example by "Nicolas Garcia Belmonte" but not a pure CSS solution. It is compatible with IE and most of browsers. Definitely worth a try.
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 6 years ago.
Improve this question
This site is pretty cool, http://pharrellwilliams.com/, and I'm wondering what function makes the users can scroll in any direction and the size of page is endless.
This is the library that the website uses:
http://www.pixijs.com/
https://github.com/pixijs/pixi.js
It shows you when you open up the inspector and take a look at the console.
No problem, make a div that's HUGE, like 10,000px (hardcoded!) in width or something that's way bigger than any possible screen size, and however high you need it to be. Then, fill with content. Boom! Your done.
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 7 years ago.
Improve this question
I have a technical question. I'm a front-end developer and always get requests about changing
"awkward line breaks"
or
"too much white space"
or other stuff related to how text of varying lengths wraps onto lines. I'm wondering what CSS and JavaScript I need to prevent text awkwardness. The persons who manage the content want to be able to type any content into the content management system and have it come out non-awkward at every screen size.
Is there a CSS property like
text-awardness: non-awkward
or
line-break: always-look-perfect
If not, is there a JavaScript library named something like awkfixer.js whereby I can apply a class like
<p class="fix-awkardness">Thiiiiiiiiiiiiiisssssssssss word is long and so it might cause a visible space if we're not applying word-break</p>
??
It depends what you mean by awkwardness, but hyphenation and line-breaks might help here.
CSS3 supports a property called hyphens.
hyphens: auto;
handling awkward line breaks is a little trickier than a one line fix, but some combination of pseudo elements and margins in your css might do the trick for you.
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 7 years ago.
Improve this question
I came accoss this webpage: http://www.concerthotels.com/100-years-of-rock and it is very cool. I would like to build some content with similar looking.
Is it possible that someone could give me a direction how this page is built? Thanks a lot for that.
this is made with javascript , css , html5
there are many jquery plugin like scroll magic who can give you the same effect as scrolling content automatically or made you own timeline : (http://janpaepke.github.io/ScrollMagic/)
also drawing and animating lines can made with SVG (Scalable Vector Graphics ), visit for more information (http://www.w3schools.com/svg/) .
hope this can give you a small view of how you can do the same effect :)