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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CODE FULL, BUT DESIGN VIEW EMPTY! 1

Status
Not open for further replies.

zetpap

Technical User
Oct 3, 2001
28
GR
I am posting bellow the code from a template page I got. The code is full in code view an displays properly in internet explorer but I can't make any changes because I can't see anything in design view. Somebody help me please!

Here's the code:


<HTML>
<HEAD>
<TITLE></TITLE>


<script language="JavaScript"><!--

browserName = navigator.appName;

browserVer = parseInt ( navigator.appVersion );



version = "n2";

if ( browserName == "Netscape" && browserVer >= 3 ) version = "n3";

if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) version = "e4";



if ( version == "n3" || version == "e4" )

{



about_on = new Image ( );

about_on.src = "images/about_on.gif";

news_on = new Image ( );

news_on.src = "images/news_on.gif";

downloads_on = new Image ( );

downloads_on.src = "images/downloads_on.gif";

blog_on = new Image ( );

blog_on.src = "images/blog_on.gif";

contact_on = new Image ( );

contact_on.src = "images/contact_on.gif";


homepage_on = new Image ( );

homepage_on.src = "images/homepage_on.gif";








about_off = new Image ( );

about_off.src = "images/about_off.gif";

news_off = new Image ( );

news_off.src = "images/news_off.gif";

downloads_off = new Image ( );

downloads_off.src = "images/downloads_off.gif";

blog_off = new Image ( );

blog_off.src = "images/blog_off.gif";

contact_off = new Image ( );

contact_off.src = "images/contact_off.gif";


homepage_off = new Image ( );

homepage_off.src = "images/homepage_off.gif";








}



function button_on ( imgName )

{

if ( version == "n3" || version == "e4" )

{

butOn = eval ( imgName + "_on.src" );

document
.src = butOn;

}

}



function button_off ( imgName )

{

if ( version == "n3" || version == "e4" )

{

butOff = eval ( imgName + "_off.src" );

document
.src = butOff;

}

}

// --></script>






<link rel="stylesheet" type="text/css" href="style.css">


</HEAD>


<BODY BGCOLOR="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">


<table border="0" cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr><td align="center" valign="middle" bgcolor="D8D5C6">


<table border="0" cellpadding=0 cellspacing=0 width="750" height="100%" bgcolor="ffffff">



<TR>

<td valign="top" bgcolor="A4A089">



<table border="0" cellpadding=0 cellspacing=0 width="750">
<tr><td>
<img src="images/title_about.gif" width="390" height="106"></td>

<td background="images/shadow.gif"><img src="images/space.gif" width="10" height="1"></td>

<td valign="top" bgcolor="FFFFFF">
<img src="images/space.gif" width="350" height="106"></td></tr>


</tr>

<tr bgcolor="000000">
<td valign="top">



<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/space.gif" width="37" height="1"></td>

<td>
<a href="about.html"
onmouseout="button_off('about'); return true"
onmouseover="button_on('about'); return true">
<img src="images/about_off.gif" width="36" height="23" border="0" name="about"></a></td>

<td>
<a href="news.html"
onmouseout="button_off('news'); return true"
onmouseover="button_on('news'); return true">
<img src="images/news_off.gif" width="38" height="23" border="0" name="news"></a></td>

<td>
<a href="downloads.html"
onmouseout="button_off('downloads'); return true"
onmouseover="button_on('downloads'); return true">
<img src="images/downloads_off.gif" width="68" height="23" border="0" name="downloads"></a></td>

<td>
<a href="blog.html"
onmouseout="button_off('blog'); return true"
onmouseover="button_on('blog'); return true">
<img src="images/blog_off.gif" width="39" height="23" border="0" name="blog"></a></td>

<td>
<a href="contact.html"
onmouseout="button_off('contact'); return true"
onmouseover="button_on('contact'); return true">
<img src="images/contact_off.gif" width="58" height="23" border="0" name="contact"></a></td>

<td>
<a href="index.html"
onmouseout="button_off('homepage'); return true"
onmouseover="button_on('homepage'); return true">
<img src="images/homepage_off.gif" width="61" height="23" border="0" name="homepage"></a></td>




</tr></table>



</td>
<td><img src="images/space.gif" width="10" height="1"></td>
<td><img src="images/space.gif" width="10" height="1"></td>
</tr>




<TR>
<td valign="top" bgcolor="8E8A71" width="390">




<table border="0" cellpadding="0" cellspacing="0" width="320" align="left">
<tr>

<td>
<img src="images/space.gif" width="37" height="1"></td>

<td>


<P><BR>


<P class="subheader">Get to know your hosts</P>

<P align="justify">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas felis. Ut egestas. Donec et massa. Proin libero urna, varius eget, faucibus et, sollicitudin in, massa. Integer <a href="">porta dapibus</a> purus. Nulla faucibus gravida purus. Ut pharetra volutpat justo. Sed faucibus, lectus id eleifend congue, odio felis pharetra nunc, vel bibendum enim eros vitae lacus. Proin dolor erat, pulvinar id, ornare et, cursus id, lorem. Aenean justo risus, posuere ac, venenatis id, pellentesque eu, quam. Praesent pellentesque sollicitudin mi. Cras adipiscing. Etiam semper aliquet leo. Vestibulum euismod varius orci. Etiam id ante a tortor ultricies mollis. Donec commodo dolor at libero.</P>


<P><BR>
<img src="images/space.gif" width="283" height="1">
</td></tr>
</table>








</td>
<td bgcolor="8E8A71"><img src="images/space.gif" width="10" height="1"></td>
<td bgcolor="8E8A71" height="291" valign="top">


<table border="0" cellpadding="0" cellspacing="0" width="320" align="left">
<tr>

<td>
<img src="images/space.gif" width="37" height="1"></td>

<td>


<P><BR>


<P align="justify">
Ut pharetra volutpat justo. Sed faucibus, lectus id eleifend congue, odio felis pharetra nunc, vel bibendum enim eros vitae lacus. Proin dolor erat, pulvinar id, ornare et, cursus id, lorem. Aenean justo risus, posuere ac, venenatis id, pellentesque eu, quam. Praesent pellentesque sollicitudin mi. Cras adipiscing. Etiam semper aliquet leo. Vestibulum euismod varius orci. Etiam id ante a tortor ultricies mollis. Donec commodo dolor at libero.</P>


<P><BR>

</td></tr>
</table>


</td>
</tr>



<TR>
<td valign="top" bgcolor="A4A089" width="390">




<table border="0" cellpadding="0" cellspacing="0" width="320" align="left">
<tr>

<td>
<img src="images/space.gif" width="37" height="1"></td>

<td>


<P><BR>


<P class="subheader">.. and others</P>

<P align="justify">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas felis. Ut egestas. Donec et massa. Proin libero urna, varius eget, faucibus et, sollicitudin in, massa. Integer porta dapibus purus. Nulla faucibus gravida purus. Ut pharetra volutpat justo. Sed faucibus, lectus id eleifend congue, odio felis pharetra nunc, vel bibendum enim eros vitae lacus. Proin dolor erat, pulvinar id, ornare et, cursus id, lorem. Aenean justo risus, posuere ac, venenatis id, pellentesque eu, quam. Praesent pellentesque sollicitudin mi. Cras adipiscing. Etiam semper aliquet leo. Vestibulum euismod varius orci. Etiam id ante a tortor ultricies mollis. Donec commodo dolor at libero.</P>


<P><BR>



<P><BR>


</td></tr>
</table>








</td>

<td background="images/shadow.gif"><img src="images/space.gif" width="10" height="1"></td>
<td valign="top" bgcolor="ffffff">
<img src="images/pic_right.jpg" width="350" height="319"></td>

</tr>





<TR>

<TD valign="top" colspan="3" bgcolor="A4A089" width="750" height="100%">


<!-- BOTTOM TABLE -->
<table border="0" cellpadding=0 cellspacing=0 width="750" height="100%">
<TR><TD width="390">&nbsp;


</td>

<td background="images/shadow.gif" width="10"><img src="images/space.gif" width="10" height="1"></td>

<td valign="top" bgcolor="ffffff" width="350">&nbsp;
</td>

</tr></table>


</td></tr>
</table>


</td>



</tr></table>
</td></tr></table>
</BODY>
</HTML>
 
I'm not going to post the whole code again.... just the initial part after the <body> tag...

Code:
<BODY BGCOLOR="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"> 
<table border="1" cellpadding=0 cellspacing=0 width="100%" height="100%"> 
<tr> 
  <td align="center" valign="middle" bgcolor="D8D5C6"> 
  <table border="1" cellpadding=0 cellspacing=0 width="750" height="100%" bgcolor="ffffff"> 
  <TR> 
       <td valign="top" bgcolor="A4A089"> 
	      <table border="1" cellpadding=0 cellspacing=0 width="750"> 
           <tr> 
            <td> <img src="images/title_about.gif" width="390" height="106"></td> 
            <td background="images/shadow.gif"><img src="images/space.gif" width="10" height="1"></td> 
            <td valign="top" bgcolor="FFFFFF"> <img src="images/space.gif" width="350" height="106"></td> 
          </tr> 
[b]           </tr> [/b]
            <tr bgcolor="000000">
See the bold </tr> get rid of it.


good luck.

grtfercho çB^]\..
"Imagination is more important than Knowledge"A. Einstein
 
THAAAAAAAAAAAAAAAAAAAAAAANK YOU KIND MAN
 
zetpap said:
THAAAAAAAAAAAAAAAAAAAAAAANK YOU KIND MAN

grtfercho, I'm giving a
star.gif
on zetpap's behalf for your helpful post.

Well done.

google.gif
juggle.gif

 
thanks....

grtfercho çB^]\..
"Imagination is more important than Knowledge"A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top