- This topic is empty.
August 2, 2014 at 12:45 pm #177329
I’m doing a header and is of type flex. I wanted two things happens. The first is to decrease the size of the first div, but I can not. The content is not centered. I wonder if there is some minimum height required, because there comes a point that will not shrink more. And the second div does not focus the content. I may be doing something wrong. if someone can take a look I appreciate.
thank you very much
[MOD EDIT – Code dump removed]August 2, 2014 at 1:46 pm #177337nixnerdParticipant
Wow. Please make a Codepen of this.August 2, 2014 at 4:46 pm #177354August 2, 2014 at 5:41 pm #177358nixnerdParticipant
Dude, how are you even doing that? I’ve never seen a codepen formatted like that. Then again, I’ve never tried. Create a pen, input your HTML, then add your CSS. Then post the link so we can tinker. Look at other threads on the forum to see what i mean.August 2, 2014 at 5:48 pm #177359
Here is the link. I did not know it was possible to record with no account, I get it. sorryAugust 2, 2014 at 6:28 pm #177361
What I want is that the height was lower, but can not reduce the sizeAugust 2, 2014 at 7:11 pm #177368__Participant
The content is not centered.
Right, because you specified
To center the content, use
[I want] to decrease the size of the first div …I want is that the height was lower, but can not reduce the size
Simply changing the
heightvalue (or removing it) is not what you want?August 2, 2014 at 7:25 pm #177369
Thanks for your help. I want to decrease the height of the div hoop, that is with the blue border. But if you do not follow the logo div and always stays the same sizeAugust 2, 2014 at 8:03 pm #177372__Participant
If you remove the
.aro, the blue-bordered div (
.aro) gets quite a bit shorter. Is that what you were trying to do?August 2, 2014 at 8:23 pm #177375
I want to shrink the div .aro with two divs inside ( .logo and .logo2)
See the image:
Thank youAugust 3, 2014 at 12:46 pm #177434
wolfcry911 was really what I need, and the users thank you for the help you have been giving me.
I have another question, which is basically an opinion. I’m building a website and already have what you can see below. I wanted to know which layout is better. Also opinions are always welcome.
- The forum ‘CSS’ is closed to new topics and replies.