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

Inserting component on page adds white space.

Status
Not open for further replies.

tommy1957

IS-IT--Management
Jan 24, 2006
4
0
0
NO
Hello. I´m quite new to GoLive.
When I use a component that I have made and put in the Components folder, there is a space of ca. 60px that adds to the bottom of the component when it is added to a page. This happens no matter what I try... Why? I,m using a table as my component.
 
There are a thousand possibilities why this is happening. I'd have to see the code to tell you why.
 
Hello,
Thanks for answering!
This is the code for the component in the Components folder:
code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
<html lang="no" xml:lang="no" xmlns="
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>Etcetera Reklame & Foto</title>
</head>

<body>
<table width="800" border="0" cellspacing="0" cellpadding="0" height="20">
<tr>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/index.html">HJEM</a></font></font></div>
</td>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/om_etcbt/om_etcbt.html">OM ETC/BT</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/Grafisk_design/grafisk_design.html">GRAFISK DESIGN</a></font></font></div>
</td>
<td bgcolor="#ff8d09">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/Trykksak/trykksakmegling.html">TRYKKSAKMEGLING</a></font></font></div>
</td>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/Foto/foto.html">FOTOGRAF</a></font></font></div>
</td>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/trykksenteret_bt/trykksenteret_bt.html">TRYKKSENTERET BT</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/fileflow/fileflow.html">FILEFLOW</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><font color="gray"><a href="../../web-content/kontakt/kontakt.html">KONTAKT</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><a href="../../web-content/Last_ned/last_ned.html">NEDLASTING</a></font></div>
</td>
</tr>
</table>
<p></p>
</body>

</html>
/code

This is the code when the same component is dragged and dropped ona testpage:

code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
<html lang="no" xml:lang="no" xmlns="
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>Untitled Page</title>
</head>

<body>
<div style="position:relative;width:820px;height:200px;margin:auto;-adbe-g:p;">
<div style="position:absolute;top:0px;left:0px;width:800px;height:73px;">
<csobj occur="0" w="800" h="73" t="Component" csref="../web-data/Components/navigasjon.html">
<table width="800" border="0" cellspacing="0" cellpadding="0" height="20">
<tr>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="index.html">HJEM</a></font></font></div>
</td>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="om_etcbt/om_etcbt.html">OM ETC/BT</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><font color="gray"><a href="Grafisk_design/grafisk_design.html">GRAFISK DESIGN</a></font></font></div>
</td>
<td bgcolor="#ff8d09">
<div align="center">
<font size="-2"><font color="gray"><a href="Trykksak/trykksakmegling.html">TRYKKSAKMEGLING</a></font></font></div>
</td>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="Foto/foto.html">FOTOGRAF</a></font></font></div>
</td>
<td bgcolor="#ffa512">
<div align="center">
<font size="-2"><font color="gray"><a href="trykksenteret_bt/trykksenteret_bt.html">TRYKKSENTERET BT</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><font color="gray"><a href="fileflow/fileflow.html">FILEFLOW</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><font color="gray"><a href="kontakt/kontakt.html">KONTAKT</a></font></font></div>
</td>
<td bgcolor="#ffa500">
<div align="center">
<font size="-2"><a href="Last_ned/last_ned.html">NEDLASTING</a></font></div>
</td>
</tr>
</table>
<p></p>
</csobj></div>
</div>
<p></p>
</body>

</html>
/code

Regards

Tommy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top