noa Posted December 3, 2005 Share Posted December 3, 2005 hi, As far as I understood the "div" is actually a crier of an elemnet, like text, image, etc'...I saw that in order to use this carier, first you have to define it in the head, and than in he "bottom" body to use it...? The problem is that I manage to understand this theoritically, but not practically, so, I am looking for a simple practical answear actaully to be able to use this <div>; If soimeone can explain this I will be gratefull....Thanks, Noa Link to comment Share on other sites More sharing options...
F-Man Posted December 3, 2005 Share Posted December 3, 2005 A div is well... A division. You have to imagine your page separated into different chuncks, each using a div which you can then use CSS to position the way you want them. Link to comment Share on other sites More sharing options...
~Shinta Posted December 4, 2005 Share Posted December 4, 2005 You don't need to define divs in the head, just in the body. By w3schools.com's definition it is a division of a page. It doesn't need any refrence from the head. Hope that helps. Link to comment Share on other sites More sharing options...
tuffrabit Posted December 7, 2005 Share Posted December 7, 2005 divs are easy to understand using an analogy.think about your page as the space under your bed.think about divs as empty shoe boxes.think about your images, lists, paragraphs, and any other html or javascript.think about your css as... well, you.you put your stuff(html things) into your shoeboxes(divs) and then you(css) arrange them the way you want it under your bed(your page).=) hope that helpsgoogle "liquid websites using divs and css" or "no tables" for really indepth explainations. Link to comment Share on other sites More sharing options...
Skemcin Posted December 7, 2005 Share Posted December 7, 2005 divs are easy to understand using an analogy.think about your page as the space under your bed.think about divs as empty shoe boxes.think about your images, lists, paragraphs, and any other html or javascript.think about your css as... well, you.you put your stuff(html things) into your shoeboxes(divs) and then you(css) arrange them the way you want it under your bed(your page).=)Â hope that helpsgoogle "liquid websites using divs and css" or "no tables" for really indepth explainations. nice analogy, they are always fun. so using that appraoch, once I put all my things in my shoe boxes and I "arrange them ... under my bed" that means that when I go to view my page(bed) I don't see what's in my boxes because they are under my bed! Are you speaking in layers? Is my site(bed) behind a firewall or password protected . . . :)Sorry, I couldn't resist. It is, really, a great analogy. I think it accurately illustrates how things "should" be done. Link to comment Share on other sites More sharing options...
tuffrabit Posted December 7, 2005 Share Posted December 7, 2005 lol... Link to comment Share on other sites More sharing options...
noa Posted December 11, 2005 Author Share Posted December 11, 2005 divs are easy to understand using an analogy.think about your page as the space under your bed.think about divs as empty shoe boxes.think about your images, lists, paragraphs, and any other html or javascript.think about your css as... well, you.you put your stuff(html things) into your shoeboxes(divs) and then you(css) arrange them the way you want it under your bed(your page).=)Â hope that helpsgoogle "liquid websites using divs and css" or "no tables" for really indepth explainations.<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
noa Posted December 11, 2005 Author Share Posted December 11, 2005 sunday, 11/12/2005, 13:33.I cant think, my thoghts are so mixed, so many projects to finish before the final presentations next week. Someone replayed my question in such a natural, honest way, I am touched just from the thought that someone out there, was thinking for me......Sorry, I am not a vitrual person, so I am probably not used to this kind of contacts.Sorry for being so Naeve, Thanks a lot, I will try to use it...Noa Link to comment Share on other sites More sharing options...
aND|e Posted December 13, 2005 Share Posted December 13, 2005 i was just wondering if its possible to have a div inside another div Link to comment Share on other sites More sharing options...
Jonas Posted December 13, 2005 Share Posted December 13, 2005 Yeah, that would be possible, just like you can have a smaller shoebox inside one of your larger shoeboxes... Link to comment Share on other sites More sharing options...
S@m Posted December 13, 2005 Share Posted December 13, 2005 i was just wondering if its possible to have a div inside another div <{POST_SNAPBACK}> Not unless you want to start WWIII! -Just kidding! ( I couldn't resist)Just as Jonas said, of course you can. Also check out the use of span classes. You can use them inside of a div also. Link to comment Share on other sites More sharing options...
aND|e Posted December 14, 2005 Share Posted December 14, 2005 hehehe..thanks guys..you're the best! Link to comment Share on other sites More sharing options...
smiles Posted December 17, 2005 Share Posted December 17, 2005 You are a div live in a div somewhere in a div , and the third div you can see in the last div , it ' s the earth 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