color

windows

Guest
ok the i frame i have i want to add background colour to istead of it being white, i have tried a few things, here is the code. <br />
<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br />
<html><br />
<head><br />
<title>Untitled Document</title><br />
<style type="text/css"><br />
iframe.one<br />
{<br />
position:absolute;<br />
left: 5%;<br />
top: 49.2%;<br />
width: 124px;<br />
height: 228px;<br />
border-style:ridge;<br />
border-width:0px;<br />
border-color:#6f7acc;<br />
<br />
}<br />
div{text-align:center;font-size:28px;}<br />
</style><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
</head><br />
<br />
<body><br />
<body bgcolor="#D3CDCE"><br />
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><br />
<div align="left"> <img src=http://www.htmlforums.com/archive/index.php/"navbar.png" border="0" usemap="#Map"> <br />
<map name="Map"><br />
<area shape="rect" coords="15,44,102,66" href=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/members.htm" target="mainFrame"><br />
<area shape="rect" coords="15,66,102,89" href=http://www.htmlforums.com/archive/index.php/"http://www.clanbase.com" target="mainFrame"><br />
<area shape="rect" coords="29,92,92,114" href=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/match%20results.htm" target="mainFrame"><br />
<area shape="rect" coords="14,114,105,135" href=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/Download <!--more-->.htm" target="mainFrame"><br />
<area shape="rect" coords="14,138,107,159" href=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/radio.htm" target="mainFrame"><br />
<area shape="rect" coords="31,165,91,183" href=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/forum/index.php" target="_new"><br />
<area shape="rect" coords="37,21,85,40" href=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/main.htm" target="mainFrame"><br />
</map><br />
</div><br />
<br />
<iframe class="one" frameborder="0" src=http://www.htmlforums.com/archive/index.php/"http://scottydog.qc1.net/poll/vote.php"<br />
marginwidth="0"marginheight="0"scrolling="no"><br />
</iframe><br />
</html><br />
<br />
<br />
i want it so the background colour in the frame = #D3CDCE <br />
<br />
the results are here, <!-- m --><a class="postlink" href="http://scottydog.qc1.net">http://scottydog.qc1.net</a><!-- m -->, but i want it so that white space isnt at the bottom of the poll any help thanks<!--content-->add this in your <body> tag<br />
<br />
<body bgcolor="#D3CDCE"> or whateva hex code you want<br />
<br />
ok just relised you already had that so i am looking into another way of doing it<br />
<br />
another thing, in your link you have a ',' <!-- m --><a class="postlink" href="http://scottydog.qc1.net,/">http://scottydog.qc1.net,/</a><!-- m --> that comes up when you click ur link<br />
<br />
Joe<!--content-->one thing i notice right off the bat is that you've got 2 open body tags and no closing body tags.<!--content-->bgcolor is deprecated in favour of css:<br />
<br />
<style type="text/css"><br />
body {background:#ff9900;}<br />
</style><br />
<br />
that goes inbetween your head tags, or put it in your stylesheet ofcourse<!--content-->thanks, but it hassent resolved the bit i want, underneather the poll. inside the polls frame<!--content-->Well, the background color of the iframe comes from the document INSIDE the iframe, the the doncument that contains the iframe. Just put this:<br />
<br />
<style type="text/css"><br />
body {background:#D3CDCE;}<br />
</style><br />
<br />
into the <!-- m --><a class="postlink" href="http://scottydog.qc1.net/poll/vote.php">http://scottydog.qc1.net/poll/vote.php</a><!-- m --> file<br />
<br />
Giving it a closer look, it looks like this is generated from somewhere else, and has no body, OR head tags. I suggest you change that :)<!--content-->
 
Back
Top