Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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 added by Rana Alnajjar , Web developer , Lebcards
Date Posted: 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
by 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

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.