tags:

views:

35

answers:

1

0

Hi - I tried out the Background Image Scaling script and with Cybr's update it works like magic. It SCALES the image perfectly. No distortion.

BUT, my image isn't "computer friendly". I.e.: Not 1024 X 768 or even close to that. (Heck, my monitor has a wide screen, so it isn't 1024 X 768 either! Is anybody's anymore?)

Anyhow, this creates a problem inasmuch as, unless I size the window from the bottom up it ends up with a white "stripe" beneath it.

What I would REALLY like for it to do is have that white to be BLACK.

My "usual" BG color/text etc. code is like:

<body bgcolor="#000000" text="#fcba1e" link="#0000ff" vlink="#800080" alink="#ff0000">

(Site won't let me add the arrows here.)

I've tried inserting this in various places with no success. Any ideas for a workaround would surely be appreciated !

Thanks ! Bill

+2  A: 

Before trying anything, I recommend you replace your

<body bgcolor="#000000" text="#fcba1e" link="#0000ff" vlink="#800080" alink="#ff0000">

with css.

Neb
+1. Separating your styling from your markup will make your HTML documents much easier to parse/manipulate with javascript.
Damien Wilson
Thanks for the comebacks. I've "learned" html by trial and error. (A lot of both.) My web page (p-b-l.com) could probably be streamlined a bunch by utilizing css, but it seems a lot more complicated than html. At least for an old guy like me. (Remember: It's hard to teach an old dog new tricks! ) Now if I had a line of code I could simply copy and insert.... ( Sigh. ) Thanks again - Bill
OldGuy