aspose file tools*
The moose likes Meaningless Drivel and the fly likes Html code related problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Html code related problem" Watch "Html code related problem" New topic
Author

Html code related problem

Rameez Shaik
Greenhorn

Joined: Sep 25, 2010
Posts: 17
Hi,

i have added a background image to my content in html but, the image is small so it does not fit to whole browser screen and
image gets repeated. any one help me out , how to cover the entire image on to the browser.

The code is :



Thank you.

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
Is it a Bonsai tree? Otherwise it's not going to fit on the screen no matter what.


Ping & DNS - my free Android networking tools app
Rameez Shaik
Greenhorn

Joined: Sep 25, 2010
Posts: 17
Its just the name of the Image which has the Dimensions of 840*623 and its gif image, when i apply the this image it get repeated at the right edge. so i want the single image to be displayed on the entire screen. i am attaching the image in the attachment.






[Thumbnail for backimage.JPG]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

I think that I shall never see a web page lovely as a tree!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

P.S. In case you haven't gathered it yet, this is the Meaningless Drivel forum where you will get nothing but nonsense replies. If you are looking for real help, the HTML forum would be the most appropriate place to ask.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Just the facts: CSS background image stretch.

A more detailed explanation: How Do you Stretch a Background Image in a Web Page.

(Nonsense? Me?)


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

who are you and what have you done with marc weber?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

David O'Meara wrote:who are you and what have you done with marc weber?

marc weber had to go write poetry. I am filling in.
 
permaculture playing cards
 
subject: Html code related problem