English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

..I'm writing it in Notepad, viewing it on Outlook express, the background doesn't fill the browser window, therefore repeating itself! Does anyone know the code to change the size of the image? What would be the average size for a background in a browser? Thanks. EC XX

2006-10-30 14:40:54 · 4 answers · asked by Emma 4 in Computers & Internet Programming & Design

4 answers

try :WIDTH=1024 and height=768 or width=738 and height=554

2006-10-30 14:48:08 · answer #1 · answered by ? 4 · 1 0

Are you adding a background colour, or a background image? Also, is this pure HTML, or are you using CSS? In HTML, i'd guess you might be able to do height="100%" width="100%" on the image. Though it'd obviously be stretched with the resulting loss of quality. Generally, though, the better background images are those that tile well, if only because they give a more uniform colour, so the text is easier to read.

Finally, i'd advise against using Outlook to test HTML pages...

2006-10-30 15:01:31 · answer #2 · answered by lordandmaker 3 · 1 1

As extracted from http://www.w3schools.com/html/tryit.asp?filename=tryhtml_bodybgimg



Look: A background image!


Both gif and jpg files can be used as HTML backgrounds.


If the image is smaller than the page, the image will repeat itself.




Or, the above percentage change script is also valid.


dwightl.g... has some of the best references in your other poser.(1)
Personally, strongly, verbosely, sanctimoniously, unequivocally, two guiness, non-codswallopy, recommended reading for beginners. It's lengthy but the goods are there. (Right, that is definitely the coffee talking.)

2006-10-30 15:41:50 · answer #3 · answered by pax veritas 4 · 1 1

i might use css. In an exterior form sheet you bypass like this: physique { historic past-photograph: url('url right here'); } in case you actual need to place the historic past code interior the the physique tag do it like this: ... /physique

2016-12-09 00:08:47 · answer #4 · answered by ? 4 · 0 0

fedest.com, questions and answers