Hey following Problem. I design a project for me. I dont 100% with HTML and CSS but it works very well. My only problem is i want the "unit" 365px height. I entered that in css but it does not work. I get 485px Thats my Code; .hero-unit { border-radius: 0px; height: 365px; HTML:
.hero-unit { border-radius: 0px; height: 365px; } HTML: That looks right for 365px height just be sure to close it } and then call it.
Have that all done before... Can be there a problem with the container but the container only says the weight not the height
You don't know what you're talking about. Fixed height is a problem, actually stating "border-radius: 0px" is a problem and means your whole CSS is gibberish. But then again, bootstrap, your biggest problem overall, makes CSS gibberish right off the bat. Wanna hear a joke about bootstrap? Because of bootstrap, Dan Schultz has been nicknamed "fan" up in heaven!
Yeah, fixing the height of an element usually means you're doing something wrong, but to say for sure we'd have to see far more code than your little snippet.... is there any padding set? Borders? Margins? Those can all change an elements size or appearance. How deeply nested is that element? ... and, well... I could post another long rant about Bootstrap, but really just do yourself a favor and pitch that fat, bloated, idiotic halfwit method of building a website in the trash where it belongs. Lemme guess, you've got "jQuery for nothing" bloating it out too? Illegible/inaccessible/slow webfonts? Guessing, but once 'frameworks' are on the table it seems all sanity goes out of design.