Birkhimer: Why the div was empty*
Preissner: Not why it had an empty height
Mettlen: Frenchiie: actually reading up in my buffer i don’t see that reason
Pezley: Tinytoast: 05:54 Frenchiie because for showing off my example i previously had things in my div “search” and the height was still auto
Krawiec: I said the div HAD things in there but i simplified it to nothing.
Mana: Then that doesn’t make sense either. why not have a basic testcase and not something completely stripped down that makes no sense?
Marke: I didn’t think it was strange to ask how to make an empty div have a certain % height
Abby: Add a height to the parent element
Roberton: I can give it a % width fine but not % height
Conary: Percentage of nothing is nothing
Giove: Okay so by default div “one” has a height and width of 100%
Zipperer: 100% of its parent container which is body and then html
Stelman: Those are both 100% width and height
Sherburn: And don’t they derive those heights based off of the viewport?
Martowski: Yes so if you have a string of 100% heights going down to the element you want to have a percentage height set will then work
Zausch: Wait explain that again i dont understand
Wibeto: My div “search” does have a percent height and percent width. The percent width works but not the percent height.
Godina: And div “one” has a percent heightmin-height %, and body and html have a percent width and height as well
Smillie: What is the height of the parent element of #one?
Martirano: Why is min-height set on #one?
Yandow: And not simply height?
Liv: Frenchiie: also don’t do this div#one
Rightmyer: There’s only one thing that can ever have an id so putting an element in front of that will ***** things up http://www.webdevout.net/test?04AH
Heinsohn: Tinytoast: can you explain more what you mean by having only one id
Sharar: I cant give the parent an id and then the inner content an id?
Shan: Hi all, I have an element unicode character which is inserted a:after some text on a table th, unfortunatly when i shrink the table the “icon” gets underneath the text. How can i fixe this?
Tongue: Frenchiie: you can only use an id once right? there’s no need to specify what kind of element it goes on eg div#one. just #one will do because div#one is *****y and redundant.
Ramy: Inherit, Always provide a link to a *live* page or pared-down testcase so we can see the problem in action. Looking at code or images alone usually isn’t very effective. Also see paste and testcase.
Jedrey: Tinytoast: it looks like the culprit was the min-height part. The reason i had that was because i was using vmax before and i needed the div “one”‘s height to expand if need be.
Boutte: Vmax on the div “search”
Banker: Osaki I’m on a intranet I’m afraid that is not possible although i can take a print screen and pastbin the css rules
Habegger: Frenchiie: sure thing
Zehr: Inherit, Sorry, I am a bot, not a person. You want to speak to the person who spoke to me.
Boyenga: Inherit, a pared-down testcase is a page that isolates the problem with the minimum required markup, styling and scripting. See paste for services that easily let you create such testcases for others to see.
Giovino: Inherit, Preferred live pastebins: http://jsfiddle.net/ • http://codepen.io/ • http://paste.asmcbain.net/
Chinen: Tinytoast: there, the layout is not correct but you still can see the effect I’ve reported. as soon as you stretch the icon or in this case the place will get under the text at the theader
Filip: Tinytoast: I meant shrink the table sorry
Basha: How do i make this small arrow button on the bottomside using only css? http://imgur.com/ygK8eer