Jump to content

frame src not shown after adding background class


WesleyA

Recommended Posts

My code doesnt work the way I want it.

 

The goal is a gradient background.

 

I made an external style sheet.

 

Like this:

    .grad{
	height: 1020px;
	width: 1900px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#feffff+0,ddf1f9+35,a0d8ef+100;Blue+3D+%2318 */
    background: #feffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #feffff 0%, #ddf1f9 35%, #a0d8ef 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #feffff 0%,#ddf1f9 35%,#a0d8ef 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #feffff 0%,#ddf1f9 35%,#a0d8ef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#a0d8ef',GradientType=0 ); /* IE6-9 */

    }


    .maincell

    { text-align: left; 
    width: 1900px; 


     }

    .topcell {
	
	horizontal-align: left; 
	height: 100px; 
	
     }

     .downcell {
	
	horizontal-align: left; 
	height: 600px;
	
       }

The html code

    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="style3.css">
    </head>

    <body class="grad">

     <FRAMESET ROWS="15%,85%" frameBorder="0" border="0">
     <FRAME SRC="carn_head.php" name="navigatie"   scrolling="no">
     <FRAME SRC="carn_bottom.html" bordercolor="#CBEDF1" name="main">
     </FRAMESET>

    </body>
    </html>

The error is that I get to see a gradient background but not the code put in the pages. It used to when I hadnt add the .grad class.

 

How can I have a gradient background and over it a frame showing the pages intended in the frame src?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...