cant get color to right of iframe

3

3rdshiftcoder

i am kind of a novice at html. at my site www.3rdshiftcoder.comi want to
the right of the iframe to be slategray. i cant seem toget it to work. can
someone look at the small code segment belowand offer a suggestion? thank
you, jim.
<html>
<head>


<style type="text/css">



div {


background-color:white;


}
</style>
</head>
<body bgcolor="708090" >

<div >

<iframe src="http://www.3rdshiftcoder.com/index2.php" name="content"
id="content" width="700" height="600"
frameborder="yes" marginwidth="0" marginheight="0" scrolling="yes" />
</iframe>

</div>
</body>
</html>
 
B

Beauregard T. Shagnasty

3rdshiftcoder said:
ok. i figured it out. sorry. have a nice day. jim

<body bgcolor="708090" >

...is incorrect. You forgot the #. Place this in your CSS instead:

body {
background-color: #708090;
color: #000;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top