coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: cordiafreaks on January 17, 2007, 04:45:43 AM

Title: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 04:45:43 AM
How do I remove the white line at the top of everypage of my gallery? (it's approx. 7 pixels high)


http://www.cordiafreaks.com/cpg1410/ (http://www.cordiafreaks.com/cpg1410/)

test user: test
test PW: test

Thanks guys!
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 04:52:28 AM
I'm not sure why, but http://www.cordiafreaks.com/cpg1410/ (http://www.cordiafreaks.com/cpg1410/) displays a default template...
But http://www.cordiafreaks.com/cpg1410 (http://www.cordiafreaks.com/cpg1410) displays my design.

well I don't know how to remove the white line from http://www.cordiafreaks.com/cpg1410 (http://www.cordiafreaks.com/cpg1410)

Thanks again...
Title: Re: White line at top of every page???
Post by: b4uphotos on January 17, 2007, 05:58:29 AM
make sure to enter in body tag of your template.html file "topmargin=0 leftmargin=0 rightmargin=0" without quotes if it doesnt work u have to look into your theme's css file
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 06:24:08 AM
ok... tried including the following with NO success:

1. <body> topmargin=0 leftmargin=0 rightmargin=0
2. <body topmargin=0 leftmargin=0 rightmargin=0>
3. <body topmargin="0" leftmargin="0" rightmargin="0">

NONE OF THE ABOVE WORKED!


In my style.css file found the following:

--------------------------------------

body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color : #000000;
        margin: 0px;
        background-color:#FFFFFF;
        background-repeat:repeat;
        }
      

--------------------------------------
Is there something I can do here that will change take away the annoying line???
Title: Re: White line at top of every page???
Post by: b4uphotos on January 17, 2007, 06:58:23 AM
after your body tag of your template.html file check this it is just after your <body> tag

Quote<table width="100%" border="0" cellpadding="20" cellspacing="20">

make the cellpadding and spacing lesser or zero or whichever  u wants
Title: Re: White line at top of every page???
Post by: b4uphotos on January 17, 2007, 07:01:03 AM
i personally visited ur link again are u asking about this
QuoteForum     Album list     Last uploads     Last comments     Most viewed     Top rated     My Favorites     Search   

bar on top of ur website
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 07:06:03 AM
Nah, I'm talking about on the very top of the page... as per my example:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fcordiafreaks.com%2Fnot_website%2Fline.JPG&hash=f6a4b9cf6a30ba71c9c0335986a225b3e74a2827)

Thanks!
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 07:17:56 AM
Here's the current script:


<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
{META}
<link rel="stylesheet" href="themes/hardwired/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>

<body>

{CUSTOM_HEADER}
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top" class="gallery"><div align="right" class="topmenu"> {SYS_MENU}
      </div>
      <br /> <div align="left" class="topmenu">{SUB_MENU}</div>
      <br /> <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
      <br />
      {ADMIN_MENU} {GALLERY}</td>
Title: Re: White line at top of every page???
Post by: Joachim Müller on January 17, 2007, 07:29:25 AM
http://www.cordiafreaks.com/cpg1410/themes/hardwired/style.css :
Changebody {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color : #000000;
        margin: 0px;
        background-color:#FFFFFF;
        background-repeat:repeat;
        }
tohtml, body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color : #000000;
        margin: 0px;
        padding: 0px;
        background-color:#FFFFFF;
        background-repeat:repeat;
        }


Edit http://www.cordiafreaks.com/cpg1410/themes/hardwired/template.html, find{CUSTOM_HEADER}
</head>
and replace with
</head>
{CUSTOM_HEADER}
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="100%"><a href="/"><img src="/images/toplogo.JPG" alt="Return to CordiaFREAKS Main-site" width="340" height="102" border="0"></a></td></tr></table>
You appear to have a strange mix of template files, HTML attributes and CSS.
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 07:54:41 AM
That kindof worked, but has created another on-top...

How can I remove the bottom one and still have the background visable too?

see for yourself: http://www.cordiafreaks.com/cpg1410
Title: Re: White line at top of every page???
Post by: Joachim Müller on January 17, 2007, 07:57:58 AM
You'll have to remove the other one of course.
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 08:16:06 AM
Yeh I will sorry, dumb question... I'll let you know how I go!  :D
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 08:32:10 AM
ok I removed the other one easily, but having difficulty getting the background back... and the white line is now under the logo instead of ontop!

here's the current code (i know it's wrong!):

<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="100%">
<a href="/"><img src="/images/toplogo.JPG" alt="Return to CordiaFREAKS Main-site" width="340" height="102" border="0"></a></td></tr></table>

<table width="100%" bgcolor="#FFFFFF" background="http://cordiafreaks.com/images/mnbck.JPG" cellspacing="0" cellpadding="0" border="0" align="center">
Title: Re: White line at top of every page???
Post by: Joachim Müller on January 17, 2007, 08:38:32 AM
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="100%" style="background-image:url(/images/mnbck.JPG);background-repeat:repeat-x;">
<a href="/"><img src="/images/toplogo.JPG" alt="Return to CordiaFREAKS Main-site" width="340" height="102" border="0"></a></td></tr></table>


Plain HTML, no particular PHP or Coppermine skills needed. I suggest reading some HTML/CSS tutorials.
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 09:01:35 AM
I know a fair bit of html, just a little confused with the incorporation of php...

This is the current code, and I've tried moving the bottom table inside 2nd cell in the top table but the white line remains...

<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="100%" height="102" valign="top" style="background-image:url(/images/mnbck.JPG);background-repeat:repeat-x;">
<a href="/"><img src="/images/toplogo.JPG" alt="Return to CordiaFREAKS Main-site" width="340" height="102" border="0"></a></td></tr></table>
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 17, 2007, 01:05:35 PM
anyone?
Title: Re: White line at top of every page???
Post by: Joachim Müller on January 18, 2007, 07:47:11 AM
Quote from: cordiafreaks on January 17, 2007, 09:01:35 AM
just a little confused with the incorporation of php...
No PHP involved at all.

Quote from: cordiafreaks on January 17, 2007, 09:01:35 AM<td width="100%" height="102" valign="top" style="background-image:url(/images/mnbck.JPG);background-repeat:repeat-x;">
There's no height attribute for the <td> tag.

Quote from: cordiafreaks on January 17, 2007, 01:05:35 PM
anyone?
This is not a hotline!
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 18, 2007, 01:37:14 PM
GauGau, I continuously recieve nothing but rudeness from you! I am trying on my part to do the right thing, I don't understand your arrigance!
Title: Re: White line at top of every page???
Post by: cordiafreaks on January 18, 2007, 01:46:40 PM
I'm not looking for an argument, just trying to understand why this problem is here, I still haven't managed to remove the white line, even with the code you provided... I apologise if my words seemed a little harsh before!

Please help me if you can!  ???
Title: Re: White line at top of every page???
Post by: Joachim Müller on January 19, 2007, 07:40:54 AM
Quote from: cordiafreaks on January 18, 2007, 01:46:40 PMI apologise if my words seemed a little harsh before!
I don't care, I'm out of this thread. I'm just sorry having wasted time trying to help you if you react as you did above. Bye.