Click here to Skip to main content
15,887,417 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: hi everybody, i have a problem css display, please help me Pin
Shameel14-Jul-11 2:56
professionalShameel14-Jul-11 2:56 
GeneralRe: hi everybody, i have a problem css display, please help me Pin
phannhatthanh151014-Jul-11 16:00
phannhatthanh151014-Jul-11 16:00 
GeneralRe: hi everybody, i have a problem css display, please help me Pin
Shameel14-Jul-11 18:37
professionalShameel14-Jul-11 18:37 
AnswerRe: hi everybody, i have a problem css display, please help me Pin
mgblackwater29-Aug-11 18:08
mgblackwater29-Aug-11 18:08 
QuestionAd Timings Pin
Richard Andrew x6410-Jul-11 16:44
professionalRichard Andrew x6410-Jul-11 16:44 
QuestionTheme for ASP.Net MVC 3 Pin
Rahul.RK6-Jul-11 7:51
Rahul.RK6-Jul-11 7:51 
AnswerRe: Theme for ASP.Net MVC 3 Pin
Shahriar Iqbal Chowdhury/Galib8-Jul-11 10:55
professionalShahriar Iqbal Chowdhury/Galib8-Jul-11 10:55 
QuestionFill the Whole page background from an image Pin
Vimalsoft(Pty) Ltd6-Jul-11 2:04
professionalVimalsoft(Pty) Ltd6-Jul-11 2:04 
Good Day All

i have a page, i am it is getting the background from an image.

 <html>
<head>
<style>
 
 img.bg {
        /* Set rules to fill background */
        min-height: 100%;
        min-width: 1024px;

        /* Set up proportionate scaling */
        width: 100%;
        height: auto;

        /* Set up positioning */
        position: fixed;
        top: 0;
        left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
        img.bg {
                left: 50%;
                margin-left: -512px;   /* 50% */
        }
}
		#page-wrap  
		{
		    position: relative;
		     width: 400px; 
		     margin: 50px auto;
		      padding: 20px;
		       background: white;
		        -moz-box-shadow: 0 0 20px black;
		         -webkit-box-shadow: 0 0 20px black;
		          box-shadow: 0 0 20px black; 
		          }
		p  
		{
		    font: 15px/2 Georgia, Serif;
		     margin: 0 0 30px 0; 
		     text-indent: 40px;
		      }
</style>
</head>
<body>
<img src="http://196.41.221.20:8095/EcashPos/images/MainBackground.jpg" class="bg">
</body>
</html> 

in Firefox this is fine, but in IE it only fills a portion of the page. i have attached the example document, or you can use this one.

i am using IE9

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

AnswerRe: Fill the Whole page background from an image Pin
Dalek Dave6-Jul-11 3:12
professionalDalek Dave6-Jul-11 3:12 
QuestionXAMPP or EasyPHP? Pin
Joan M29-Jun-11 0:47
professionalJoan M29-Jun-11 0:47 
AnswerRe: XAMPP or EasyPHP? Pin
enhzflep29-Jun-11 1:56
enhzflep29-Jun-11 1:56 
QuestionIFrame with javascript [modified] Pin
Mugdha_Aditya26-Jun-11 20:33
Mugdha_Aditya26-Jun-11 20:33 
AnswerRe: IFrame with javascript Pin
Not Active27-Jun-11 2:37
mentorNot Active27-Jun-11 2:37 
GeneralRe: IFrame with javascript Pin
Mugdha_Aditya27-Jun-11 3:46
Mugdha_Aditya27-Jun-11 3:46 
GeneralRe: IFrame with javascript Pin
Shameel13-Jul-11 2:33
professionalShameel13-Jul-11 2:33 
QuestionAdding Text To An Image [modified] Pin
Hetelek24-Jun-11 7:19
Hetelek24-Jun-11 7:19 
AnswerRe: Adding Text To An Image Pin
thatraja24-Jun-11 7:56
professionalthatraja24-Jun-11 7:56 
GeneralRe: Adding Text To An Image Pin
Hetelek24-Jun-11 8:32
Hetelek24-Jun-11 8:32 
AnswerMessage Removed Pin
24-Jun-11 8:42
professionalthatraja24-Jun-11 8:42 
GeneralRe: Adding Text To An Image Pin
Hetelek24-Jun-11 8:43
Hetelek24-Jun-11 8:43 
GeneralRe: Adding Text To An Image Pin
thatraja24-Jun-11 8:47
professionalthatraja24-Jun-11 8:47 
GeneralRe: Adding Text To An Image Pin
Hetelek24-Jun-11 9:00
Hetelek24-Jun-11 9:00 
GeneralRe: Adding Text To An Image Pin
thatraja24-Jun-11 9:42
professionalthatraja24-Jun-11 9:42 
GeneralRe: Adding Text To An Image Pin
enhzflep26-Jun-11 16:23
enhzflep26-Jun-11 16:23 
AnswerRe: Adding Text To An Image Pin
thatraja24-Jun-11 8:45
professionalthatraja24-Jun-11 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.