![]() ![]() You can give it a 100% height as in my example (assuming html element is also 100%) but apart from that never ever give it a pixel height or any other percentage height. Never ever give the body a pixel height as that is never going to be an answer to anything. It’s good that you are soldiering on your own but you have made some ultimately destructive css errors in your page. #MOVE TEXT BLOCKS OVER IMAGE HOW TO#Technobear has given you some hints on how to make 3 across but I will address some very basic (and extremely critical) css errors that have crept into your code despite my giving you the perfect template to start with Generally speaking, if you’re trying to use position:absolute to control page layout, you’re doing something wrong. That gives you a start to work from, and you can add back in those rules from the commented-out section which are still required - colours, fonts, etc.Ī better solution might be to look into display:table. (You have it set to 40%, which is clearly not going to work. containertext so that three blocks will fit on the same line. ![]() Using position:absolute like this is not appropriate, and (as you’ve found) can cause all kinds of issues.Īnd then change the rules for. Thank you for taking a look on the code guys. Illo maiores, nisi nostrum nulla, numquam officiis optio.ĬopyRight 2013 - All Rights Reserved - Domain Name Accusamus animi at distinctio dolores harum id Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsum laboris adipisicing anim aliquip occaecat qui amet exercitation dolor culpa. VoluptateĮxcepteur pariatur adipisicing cupidatat exercitation occaecat do consequat culpa ea duis proident. Veniam ipsum laboris adipisicing anim aliquip occaecat qui amet exercitation dolor culpa. * can't center text verticaly, this is whhy i use padding */īackground-image: url("./img/arrow.png") īackground-image: url("./img/arrowhovered.png") * is not the same quote in the template. Src : url("./fonts/Plantagenet Cherokee.ttf") format("truetype") īackground-image : url("./img/searchIcon.png") įont-family: 'PlantagenetCherokee', serif įont-family: Arial, Helvetica, sans-serif This what i try to do but no effect : 'PlantagenetCherokee'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |