Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Html code related problem

 
Rameez Shaik
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a Bonsai tree? Otherwise it's not going to fit on the screen no matter what.
 
Rameez Shaik
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



backimage.JPG
[Thumbnail for backimage.JPG]
This is how it looks in the browser
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that I shall never see a web page lovely as a tree!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just the facts: CSS background image stretch.

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

(Nonsense? Me?)
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
who are you and what have you done with marc weber?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic