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

4 answers

the background-image repeats itself if its in the background of a html page, if you were looking at stretching it in a img src tag then you will have to set the width and height for it but it may look a bit distorted. so all you have to do for the background is enter

2006-09-18 01:13:17 · answer #1 · answered by dkm2006 3 · 0 0

In the image tag give the height and width properties to strech the image for the size needed like this

2006-09-18 08:10:57 · answer #2 · answered by satya_prakash_8 1 · 0 0

13.2 Including an image: the IMG element



%attrs; -- %coreattrs, %i18n, %events --
src %URI; #REQUIRED -- URI of image to embed --
alt %Text; #REQUIRED -- short description --
longdesc %URI; #IMPLIED -- link to long description
(complements alt) --
name CDATA #IMPLIED -- name of image for scripting --
height %Length; #IMPLIED -- override height --
width %Length; #IMPLIED -- override width --
usemap %URI; #IMPLIED -- use client-side image map --
ismap (ismap) #IMPLIED -- use server-side image map --


height and width properties of the tag, if we provide the details then it overrides the original size of the image

2006-09-18 08:31:55 · answer #3 · answered by Guru 3 · 0 0

You can use 'background-attachment' and 'background-repeat' style in CSS for body tag...

2006-09-18 08:36:57 · answer #4 · answered by Lunatic T 2 · 0 0

fedest.com, questions and answers