Felipe Ramalho Posted July 11, 2013 Share Posted July 11, 2013 Next I have doubts! I'm trying to make the Rectangle MID Left HALF of the Page in the left corner. But I wish that this square is the Adjustable Screen Size. #midleft{background-color: #cccccc; position: relative; width: 12%;height: 50px; % Percentage does not work here?border-color: #666; border-width: 2px; border-style: ridge; clear: left} Toward He Width12% Increase Agreement with Screen Size. But height does not fit with% How to Adjust the Height is the Screen Size? Link to comment Share on other sites More sharing options...
Ingolme Posted July 11, 2013 Share Posted July 11, 2013 Set the height of the <body> and <html> elements to 100% Link to comment Share on other sites More sharing options...
Felipe Ramalho Posted July 11, 2013 Author Share Posted July 11, 2013 body {font-family: Verdana, Geneva, Arial, sans-serif; height: 100%;} Want to do this! A Side Menu with 4 Items Inside. Each item would <a> and <img src=""> The 4 Items Inside should self adjust. I do not understand your explanation. Link to comment Share on other sites More sharing options...
Felipe Ramalho Posted July 11, 2013 Author Share Posted July 11, 2013 UAHuahu, Got it! So correct and always declare my CSS. html, body {margin: 0, height: 100%;} Correct and Ever Start CSS that way? To Design Responsive? Link to comment Share on other sites More sharing options...
MarkT Posted July 18, 2013 Share Posted July 18, 2013 UAHuahu, Got it! So correct and always declare my CSS. html, body {margin: 0, height: 100%;} Correct and Ever Start CSS that way? To Design Responsive? I always correct that when I start coding a new stylesheet in CSS. Especially, if it's a responsive design... Good Luck with your CSS. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now