Jump to content

real_illusions

Members
  • Posts

    1,273
  • Joined

  • Last visited

Posts posted by real_illusions

  1. absolute positioning goes from the top left corner of the window, no matter where it is placed in the code. Relative positioning is from the top left corner of whatever that div is contained in. So, in your case, the inner div is in effect 20x20 away from the top left corner of the page, but using relative positioning in your code, you can use 10x10 away from the top left of the container div.Or something to that effect anyway :) :):)

  2. i think the best way is to show you a simple example:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	<meta http-equiv="Content-Language" content="en-gb" /><title>This is a title</title><style>a{color:#FF0000;text-decoration:none;}a:hover{color:#00FFFF;text-decoration:underline;}#div a{color:#66FF00;text-decoration:underline;}#div a:hover{color:#666666;text-decoration:none;}</style></head><body><p>Some text..blah blah blah. <a href="">a link with no class or id. It shows up red, with no underline and when hovered over it is blue.</a></p><div id="div"><p>Some more text...blah blah blah.<a href="">This link is inside a div with id div, and has seperate colours.</a> </p></div></body></html>

    Copy paste that into something, save it as a webpage (with .htm ending), and view on your computer.Hopefully you can work out whats happening. If you use classes, replace the '#' with a '.' in the style. You basically assign styles based on id's and classes's.Hope that helps a bit.

  3. 1 - several ways. Either via ftp, where you upload the updated file to the server and it overwrites the file with the same name (ftp clients always ask you if you want to overwrite the file in question). Or, via a content managment system where you update pages online by going to an admin control panel of some sort.2 - Again, quite a few ways. Most common is Dreamweaver, its not free but is very handy for learning as its a dedicated website building program. Or notepad, which is free but requires everything to be done by hand and isn't a dedicated website building program.3 - there are loads of free hosts. If you know what sort of things your after from a host will help limit the hosts out there. I believe there is a topic somewhere in this forum. Do a search for "free web hosts" or something and you should find a few kazillion posts, most with links to the hosters and some others with advice and experience about some.4 - phpbb is the most commonly used free forum software. But i find it is very limited compared to something like IPB, which this forum uses. It does costs, but in my view is well worth the money.Hope that helps!:)

  4. floating divs are used in mainly coloumn layouts, where you have a left and a right coloumn, which are either in a fluid design and stretch the whole page width no matter what size browser. Or, (the way on my site - see siggie), they float to the left and the right inside an outer div, which is auto margined, so it all stays in the centre of the page.The other type of divs are to do with positioning, and you can choose between:absolute, relative, inherit and static. Although the first 2 are the most commonly used (that i'm aware of).Absoulte positioning is positioned from the top left corner of the browser. Relative is relative to whatever the div is inside, again top left corner.Hope that helps!:)

  5. maybe its just me, but i dont understand what your after.If you want 2 coloumns side by side, that are divs, then your going to have to use floats if you want a fluid design. i.e - it shrinks and grows in accordance of the users browsers dimensions.Your css doesn't make much sense in terms of a design point of view. You have all 3 divs over lapping each other in some way or another.. :)

  6. one extra thing..<img src="rose.gif" width="200" height="500"/>needs to be<img src="rose.gif" width="200" height="500" />There needs to be a space between the slash at the end and any attributes before it in xhtml. :)

  7. you were given the php quiz? which one? theres few kazillion out there :)If you give us some code to look at then we can maybe point you in the right direction. If you have no php knowledge whatsoever, then your probably better off looking for another script with what your after already built in.:)

  8. is this for yourself locally or to be put on a webpage?If its locally, most modern browsers can do those things for you.You could even build a robot to do all your net surfing for you while your at work if you really wanted to, cos thats the way your going by the looks of it :) :):)

  9. boen robot...seems a strange way (for me at least) on going about moving a list inside a list over to the left. Why not asig a class or id and do it my way instead?although i'm not entirely sure on what the guy is asking in the first place anyway..

  10. looks like he wants to have one part of the page keeping at all time, like a menu, that doesn't load each time like it would when you press a link, but another part of the page does.2 options.1 - frames, but discard that immediatly. Frames are ugly and generally completely rubbish. (well..not completely but you get the idea..)2 - Ajax. Not as simple as frames, but more effective, cleaner and more standards compliant (that i'm aware of).:)

  11. theres no real definitive problems...Problems arise when you code websites, and it does strange things. Although this is linked to the way different browsers read different tags to what the browser spits out back at you.Kinda difficult to describe really. You learn what does what through experience, so, get on with making a site and see what problems you run into :)

  12. there isn't really a definitive point.Its a general trend where, the more stuff there is to load, the longer the page will take to load. Different internet speeds will also affect load time, but be it on dial up or super duper mega fast it'll set fire to your underwear broadband speeds, the loading times will always increase the more stuff there is to load.:)

×
×
  • Create New...