View Full Version : a few misc. questions


JCzShiningAngel
03-17-2004, 04:06 PM
k lol i have a couple questions.
erm..
1.how do you post a picture in CSS? like just a simple image code?

2.on my site (http://bcbloody.virtue.nu/main.html#), i extended the column widths (500px) so they look like columns more. so when i type stuff in them will they expand accordingly if my text needs more than 500px worth of space?

3. if i post a link in the left or right column, how do i make sure that it shows up in the center column? is there a targeting link, like the you use for frames?

please and thank you :)

Rosey
03-17-2004, 04:27 PM
1. you can't , css is the look and feel of the site.

2. you should use % or it won't extend automatically

3. you would need to use frames. you can't target anything but frames. You could put an iframe in there.

JCzShiningAngel
03-17-2004, 04:49 PM
ahh so if i make the center column an iframe then i can target to it, correct? okay that makes sense. umm so yeah how do i add one/where do i add it?

and i cant add pictures? well what about backgrounds? cuz i wanted to put a background picture for the header, left and right columns.

and what do you mean by percents?

thanks

kittycat
03-17-2004, 05:39 PM
Just add the iframe inside of the centre div. Or you can replace the centre div with the iframe.

You can add backgrounds to anything you want, just use the background-image: url() attribute.

If you use percents then your text won't take up just a single amount of the page, it will change with each resolution. So if you set a width to 20% it might take up something like 150px in 800*600 but approx. 200px in 1024*768 (those may not be exact numbers, just guesses). Percents are useful for making layouts that will expand to fit the same amount of the screen in every resolution.