# Adjust the height

**URL:** <https://forum.freecodecamp.org/t/adjust-the-height/434276>\
**Category:** freeCodeCamp Contributors\
**Tags:** contributing\
**Created:** [December 8, 2020, 1:49am UTC](https://forum.freecodecamp.org/t/adjust-the-height/434276 "2020-12-08T01:49:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilmargerson38](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/gilmargerson38/32/182540_2.png) [@gilmargerson38](https://forum.freecodecamp.org/u/gilmargerson38)\
**Post date:** [December 8, 2020, 1:49am UTC](https://forum.freecodecamp.org/t/adjust-the-height/434276/1 "2020-12-08T01:49:14Z")

</div>

**Challenge** : Applied Visual Design: Adjust the Height of an Element Using the height Property

**Solution**

> ****
>
> ```auto
> <style>
> h4 { 
> height: 25px;
> text-align: center; 
> } 
> 
> p {
> text-align: justify;
> }
> .links {
> margin-right: 20px;
> text-align: left;
> }
> .fullCard {
> width: 245px;
> border: 1px solid #ccc;
> border-radius: 5px;
> margin: 10px 5px;
> padding: 4px;
> }
> .cardContent {
> padding: 10px;
> }
> </style>
> <div class="fullCard">
> <div class="cardContent">
> <div class="cardText">
> <h4>Google</h4>
> <p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
> </div>
> <div class="cardLinks">
> <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a>
> <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
> </div>
> </div>
> </div>
> 
> ```

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [December 9, 2020, 2:46am UTC](https://forum.freecodecamp.org/t/adjust-the-height/434276/2 "2020-12-09T02:46:46Z")

</div>

Hello there.

Thank you, for your contribution. For future contributions, please wrap your solution within :

````nohighlight
[details]
```
code goes here...
```
[/details]

````

Also, provide **all** of the necessary code to pass the challenge.

Also, when you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( `</>` ) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](http://www.freecodecamp.com/forum/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

I have edited your post to fit the requirements mentioned above.  
Thanks!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:32pm UTC](https://forum.freecodecamp.org/t/adjust-the-height/434276/3 "2021-06-01T18:32:06Z")

</div>

Closed on June 1, 2021, 6:32pm UTC


