Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 need help with adding bg in a page with frame
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
greenapplesodaex




PostPosted: Tue Mar 14, 2006 9:47 pm   Post subject: need help with adding bg in a page with frame

say, i have code
code:
<html>
        <head>
                <title>this is a test</title>
        </head>

        <FRAMESET ROWS = "20%, *" border=0>
                <FRAME SRC="top.html" name = top scrolling = no>
                <FRAMESET COLS="17%,*" border=0>
                        <FRAME SRC="left.html" name = left scrolling = no>
                        <FRAME SRC="right.html" name = right>
                </FRAMESET>

        </FRAMESET>
</html>


to my understanding, i cant add <body></body> otherwise my frames wont work.
now, can i put ONE background in this page so that it goes under all frames as one pic?

thanx in advance
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Mar 14, 2006 9:53 pm   Post subject: (No subject)

apparently the HTML tag could have a background property
code:

<html>
<head>

<style type="text/css">
     html
     {
          background-image: url('compsci.jpg')
     }
     </style>

</head>

   <FRAMESET ROWS = "20%, *" border=0>
      <FRAME SRC="top.html" name = top scrolling = no>
      <FRAMESET COLS="17%,*" border=0>
         <FRAME SRC="left.html" name = left scrolling = no>
         <FRAME SRC="right.html" name = right>
      </FRAMESET>

   </FRAMESET>

</html>
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
greenapplesodaex




PostPosted: Tue Mar 14, 2006 10:02 pm   Post subject: re

thanx mate.
it's showing up... in a way, but i think the frames are covering up the background so i still cant see it
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: