Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

I have divided frame into two and want to set background image. Please assist.

html><body><framesetrows="10%,*"><framesrc="OK2.jpg"><framesrc="OK3.jpg"></frameset></body></html>

user-image
Question ajoutée par Rana Alnajjar , Web developer , Lebcards
Date de publication: 2015/05/26

First of all, you shouldn't use Frames at all. They're old and depreciated, you ought to use < divs >

But anyway, if you are using frames on html, you can't add a background image to it since each frame is a separate document.

But you can sorta make it work, like so, In CSS for your page :

body { background-image: url('path/to/image.jpg'); background-attachment:fixed; background-repeat:no-repeat;}

mahboob khan
par mahboob khan , Project Student Information System , TekNords Inc Swat.K.P.K

<html><body><framesetrows="10%,*"><framesrc="OK2.jpg"><framesrc="OK3.jpg"></frameset></body></html>

More Questions Like This