Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

missing background 1

Status
Not open for further replies.
Hi

This is usually a problem because of a conflict between the cascading style sheet and the page properties. Post the top half of your code up to and including the "body" tag (but please remove the MM function if they are in there as they will just pad out the text. Then we can all pass judgement on your code -not really, we'll take a peek. Derren
[Mediocre talent - spread really thin]
 
thanks derren
not sure what you mean about MM
but here is the code:

<html>
<head>
<title>welcome </title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>
<!--Begin JavaScript roadmap code. If editing downloaded HTML source, delete
this portion.-->

<script language=&quot;JavaScript&quot;>
<!--

function TripodShowPopup()
{
var bName=navigator.appName;
var bVer=parseInt(navigator.appVersion);
var now = new Date();
var popupURL = &quot;/adm/popup/roadmap.shtml?&quot;+&quot;member_name=maggiehollins&path=frameset.htm&client_ip=159.134.206.222&ts=1016740300&ad_type=POPUP&id=2ac52c9a63fb495288d6b273c53f9aac&quot;;
var popupName = &quot;TripodPopup&quot;;

if (bName==&quot;Netscape&quot; && bVer<=3)
{
var popup = window.open(&quot;&quot;, popupName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=614,height=150');
}
else
{
var popup = window.open(&quot;&quot;, popupName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=604,height=135');
}
popup.location = popupURL;
}

if(window.parent==window)
{
TripodShowPopup();
}

// -->
</script>

<script language=&quot;JavaScript1.2&quot;>
<!--

function changeOpenFunction()
{
var original_window_open = window.open;
function new_open_function(url, name, features, replace)
{
if(name != &quot;TripodPopup&quot;)
return original_window_open(url, name, features, replace);
}
window.open = new_open_function;
}
var bName = navigator.appName;

if(bName != &quot;Netscape&quot;)
changeOpenFunction();

// -->
</script>
<!-- TEMPORARY POP UNDER -->
<script language=&quot;JavaScript&quot;>
<!--
function showNow(scale)
{
var expdate = new Date ();
var surveyCookieName = &quot;031802TRAVEL&quot;;
var percentOfferedSurvey = 100;
var surveyLocation = &quot;/adm/redirect/ var popupNewWindow = true;

expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000));
var stored_value = GetCookie(surveyCookieName);
if (stored_value == null)
{
SetCookie(surveyCookieName, &quot;alreadyOffered&quot;, expdate, &quot;&quot;, &quot;&quot;);
nowWin = window.open(surveyLocation,'now','height=388,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
nowWin.blur()
window.focus()
}
}

function SetCookie (name,value,expires,path,domain,secure)
{
document.cookie = name + &quot;=&quot; + escape (value) +
((expires) ? &quot;; expires=&quot; + expires.toGMTString() : &quot;&quot;) +
((path) ? &quot;; path=&quot; + path : &quot;&quot;) +
((domain) ? &quot;; domain=&quot; + domain : &quot;&quot;) +
((secure) ? &quot;; secure&quot; : &quot;&quot;);
}

function getCookieVal (offset)
{
var endstr = document.cookie.indexOf (&quot;;&quot;, offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name)
{
var arg = name + &quot;=&quot;;
var alen = arg.length;
var clen = document.cookie.length;
if( (document.cookie == null) || (document.cookie.length == null))
{
return null;
}
var i = 0;
while (i < clen)
{
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(&quot; &quot;, i) + 1;
if (i == 0) break;
}
return null;
}

showNow();
//-->
</script><FRAMESET rows=&quot;80,*&quot; cols=&quot;*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot; bordercolor=&quot;#CCCCCC&quot;>
<frame name=&quot;top_frame&quot; scrolling=&quot;NO&quot; noresize src=&quot;top_frame.htm&quot; >
<frameset rows=&quot;455,85&quot;>
<frame name=&quot;main_frame&quot; src=&quot;main_frame.htm&quot;>
<frame src=&quot;bottom_frame.htm&quot; name=&quot;bottom_frame&quot; scrolling=&quot;NO&quot;>
</frameset>
</frameset>
<noframes>
<body bgcolor=&quot;#FFFF66&quot; text=&quot;#000000&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>
</BODY>

judgement appreciated
 
Hmmm.

MM is the prefix that dreamweaver puts before all of its created javascript, so it was just a lazy way to say no to worry about posting any javascript. Too late!

Now, without wishing to be too picky, you have posted the frameset page. You cannot set the background image or colour for a frameset! You must set it in each of your individual pages: top_frame, main_frame and bottom_frame.

This may be why you are struggling. Derren
[Mediocre talent - spread really thin]
 
thanks again derren

i changed the main frame [thought i could just set the template properties] and also viewed in netscape explorer and there it was....hmmmm
any ideas about how to view in internet explorer as well?

newtek1
 
Post the head content (minus javascript) for the main frame, the answer will be there Derren
[Mediocre talent - spread really thin]
 

thanks Derren

below is the main frame content. the body bg color is fine.
hope you can find the answer for me. thanks again for your replies

<html>
<head>
<title>main_frame</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#FFFF66&quot; text=&quot;#999999&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>
<div align=&quot;right&quot;></div>
</body>
</html>

newtek1


 
That seems OK, how and where are you trying to add the background image? Derren
[Mediocre talent - spread really thin]
 
thanks for the perseverence derren
the background colour is sorted but is there any thing i can do to get the same visual result on internet explorer and netcsape? one of the problems i had was that i was viewing with internet explorer and not netscape. isn't internet explorer more widely used?
newtek1
 
There are so many little foibles between Netscape and IE, it's just a case of addressing each one as they come up. Netscape, although the oldest, is lagging behind IE in the development terms and IMHO IE is the superior for formatting code and general user friendliness.

IE is the most widely used browser, but as a website developer it is down to us to make sure that we test and design for both browsers (and even on Opera)

Which bit is winding you up? Different font sizes? Inability to set a table border colour consistently? No hover behaviour? Table background images? Derren
[Mediocre talent - spread really thin]
 
I am using IE and the background is canary yellow, as requested. Derren
[Mediocre talent - spread really thin]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top