I'm so used to frames... can I have it so a link changes the content of one of my divs?? (without much/too much java)
Try this tutorial on CSS layouts: http://www.stopdesign.com/present/2004/ddw-seattle/tables/ This tutorial helped me out when I first learned CSS, since I was having a hard time grasping how to structure it since I was so used to tables. You can skip the first couple of slides since all it does is compare CSS vs. table layouts. It's tries to be idiot proof so it doesn't show any coding. One thing that I find very helpful when making a CSS layout is when you're first trying to write it, give them borders with bright, obnoxious colors! Giving all the parts of your CSS a borders helps because you can see if they're overlapping or doing other evil things you don't want them to. Once they start to behave then remove the borders. Overall the best advice I can give you is not to give up and try many different ways of structuring your layout. If using floats drives you mad then try an asolute layout and vice versa. Also I recommend checking your CSS layout in a W3C compliant browser if you're not already, then add hacks to get the layout to work in IE.
G'day Duck. I absolutely love CSS because it gives me heaps of flexibilitly. There used to be many problems with Netscape and such when it came to decoding it. But anyhoo, I used a lot of CSS when building http://geocities.com/yearighto1892/adv.htm and it was the best language for this particular page. If you right click on the page and select "view source," Then you will see that each div starts with < div id="number1" style="position:absolute; left:$px; top:$px;" >, and it, of course must end with < /div >. Remember that they are simply layers and each of the layers need to be placed according to what they should be in front of and what they should be behind. That's where it gets 'fun.' If I get around to it, I will put a quick CSS tutorial on my site, (http://www.geocities.com/roaming_refugee ) so keep checking for the next couple of days. And sign the guestmap
new question: I'm so used to frames... can I have it so a link changes the content of one of my divs?? (without much/too much java)
apparently the answer is yes. http://www.thescripts.com/forum/thread90879.html Code: <html> <head><title>Try</title> <script> function change() { var div = document.getElementById("firstDiv"); var old = div.childNodes[0]; var xxx = document.createElement("form"); var son = document.createElement("input"); div.replaceChild(xxx, old); div.childNodes[0].appendChild(son).setAttribute("type", "text"); } </script> </head> <body> <div id="firstDiv"><img id="whatever" src="fotografie.jpg" /></div> <div id="another"onClick="change();">clickme!</div> </body> also I googled for "link chaging the content of div" and this google page appeared, full of info Google is a very useful site !
so is this forum, for when you are too lazy or busy to be searchign through google thank you for doin the dirty work