Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Aurelian Spodarec
7,369 PointsHTML/CSS
Does anyone know how can i make an background that goes on the lenght of the page when somebody post something ? I mean i wan a background that is flexibile and cover the space as it changes . I want to set a e.g red background on my right side bar and when the length of the website change i want it to go down but im not sure how , i tried alot of different ways .
12 Answers
Joel Encinas
9,683 PointsIf i understand correctly, and if you want to do it very simple, just wrap the content in a main div, and set the background color for that div.
Joel Encinas
9,683 PointsMmmm i dont know much about JS, but if you want to build a PHP dynamic website, yes you need to at least finish the CSS Foundation, despite i've made some dynamic websites with php, css & html, i still learn things from that course, so don't think about it as wasted time, we learn something new everyday, and if i remember correctly there're a couple of modules in CSS Foundations of different methods to layout, also you can see the course of CSS Layout Techniques.
PD: But is always good if you made little snippets and stuff like that to apply and practice the new knowledge acquired.
And just remember that learning a language like PHP is far more hard than learning css or html, so it requires more time and effort.
Hope it helps
Joel Encinas
9,683 PointsiOS development language is C-, and is very different from any other language, sure is a C based language and object oriented but is completely different, i recommend that you first center 110% of your attention either in one or another, but don't try to be a master in everything at the same time, 'cause you're gonna end with nothing at all, make priorities, think what do you like most, and focus on that.
FYI: yes, with PHP you can make shops, things like facebook and stuff like that
Joel Encinas
9,683 PointsIn the website course the aesthetics, ux basics and design foundations courses will help a lot, but if you want to yo further with design for website you should read Psychology of web design book by smashing magazine.
Just have in mind that designing is a whole different world, so at least you'll have to learn some of its basics and some software like Photoshop, etc.
Aurelian Spodarec
7,369 PointsYes but i need to put an image there that will repeat but it never does even when i put it on auto i tried alot of stuff but i just cant do it.
Aurelian Spodarec
7,369 PointsYes but i need to put an image there that will repeat but it never does even when i put it on auto i tried alot of stuff but i just cant do it.
Joel Encinas
9,683 Pointscould you explain better?, the image you need to repeat is for the background for the right sidebar?
Aurelian Spodarec
7,369 PointsWhat im trying to do is to put an background-image in side bar that will repeat till the end when the website lenght change , so what i want to do is if somebody post a big article , the sidebar will expand in middle and will fill out till bottom with the image.
Joel Encinas
9,683 PointsWell, if the sidebar image is gonna be the same always and repeat, you can set it as a background-image with repeat to the right sidebar. and for the automatic size, you can set a main div that wraps both the main content area and the sidebar, and set the sidebar height to 100%, so it re-sizes with the main content area.
Hope i understood what you need
Aurelian Spodarec
7,369 PointsOh yes ! Thank you very much! Im just learning about fluid layout / flexibile layout because i did some html but it was more likeli everything position absolute and well now im new to HTML5 and flexibile layout :) Thank you very much! I searched it for ages .
Joel Encinas
9,683 PointsYou're welcome :), i recommend you the CSS Foundations course it is very complete and explains everything very well, with that course you're gonna be able to make fluid layouts, cheers!
Aurelian Spodarec
7,369 PointsI have a question about layouts. Since you can layout all the page , are you ready for JS and PHP? i want to create a website in the shortest time by learning and im just geting to much of it but i wanted to ask if after CSS foundation , should i be ready to make any website i like in fluid layout and then dive straight away in JS? I want to learn new things but im not sure how could i master them? because making a whole website again for one thing is kind of well you know ..
Or is it , can i just go throw all the Website Course , the big one and without practicing on notepad++ or other text editor will i still learn that i will know it ? I dont want to waste time by watching videos , making quizez and challenges if im not gonna remember it after all if you know what i mean . Iusualy spend from 3h to 5h per day learning in this site thought im not sure how much i did learn , like the website with Nick where he put everything in center im not sure how i would do it with images or will he explain everything in css and in futher videos ? Is CSS the only layout technique?
bdw sorry for my English , im not wery good ad grammar and some spellings like dont or do not .
Oh i think i messed up somethingin this forum : P im new to this not sire how everything still work here.
Aurelian Spodarec
7,369 PointsOh, by wasted time i mean by going throw the entire training course and not learning anything or enought because of lack of practice. So with PHP could i make a website with different users ? or shop website? SO when somebody logs in , he will have his account like FB does and he than could upload pictures and all that stuff. My Goal is to make a dynamic website with JS by September but my owerall goal is to be able to make a dynamic website with HTML/CSS , JS and PHP but i want to know if its reall because i dont want to put me off and well, i promessed to my mum what i will achive but as hearing JS and PHP is different than HTML and CSS ill would like to know how much time ill need to spend. What i want to do is to be able to make any kind of websites , kind of medium complicated i guess maybe saying that FB is complicated and then i want to move to App developement . , im going to college and they dont learn anything there and i want to go to University for programming but since i can learn here by paing 250pound per year , ill use this and i have two years so im very limited , i know 2 years is short for apps but at least to make good websites and get started witha good , solid understand and malipulate code in APP , im just in very hard situation of choosing what to do and i dont have time aswell to think about it , i just want to learn and then put my ideas out there , well not only because of money but i started it because i like it , the creativity and the code its self is nice thoughtit get boring in css sometimes and well , do you think is it a good idea to learn Websites and then IOS or could i learn both at the same time ? or will it get messed up ?
sorry for this long paragraph , i need to get some in straight line and i really appriciate your time for helping me . Ill start with css foundations and ill tell you the resoult when i finish it .
Aurelian Spodarec
7,369 PointsOh well i really wanted to do iOS but since i spend quiet a bit in websites HTML and CSS i want to finish it so i can do website i want and then move straight away to apps but thank you for advice , i think ill learn PHP first since im more intrested in that if thats a good idea . BDW do you have any websites online i could see? and do you know any good design course that will help me actualy develop my skill with colors etc..? im really bad with it design . You know, iwant to make a website and then make it also related with and app like facebook does or you know something like that so ill need to learn this and this anyways but well i really like it but cant wait to start with iOS ,i hope 2 months are enought for PHP? Can i ask how long did it take you to learn how to manage PHP and PHP Admin and all that stuff?
Joel Encinas
9,683 Points-answer repeated- // Please delete this
Aurelian Spodarec
7,369 PointsI just need a pretty straight forward graphics for my webistes making like icons and matching colors as my friends says that i match colors like uhh even my mum , im just the worst designer ever and with colors uhh.. So Assuming it all , ill need to go throw CSS Foundationto make flexibile layouts and ill be okay, Learn basics of design and learn photoshop and for fast moving i should learn PHP for database etc , sounds quite alot counting in months : P step by step uh , Do you recomend to study design and Developer together ?
Joel Encinas
9,683 Pointsyep, that way you'll think from both perspectives, imagine it like this, the developer makes the skeleton, muscles, etc and the designer the skin, hair, clothes, etc. the main functionality is made by the developer but the things made by the designer are based on the work of the developer but also they add functions and features to the dev's work so they can work with synergy on one main goal.
Aurelian Spodarec
7,369 PointsI have now a much better idea/vision about it , thank you very much for help and for you time , i really appricate it . Now i know what i need to do and how things looks :) thank you very much!
Joel Encinas
9,683 PointsYou are welcome, i look forward to see what awesome things you're gonna create!