White line at top of every page??? White line at top of every page???
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

White line at top of every page???

Started by cordiafreaks, January 17, 2007, 04:45:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cordiafreaks

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/

test user: test
test PW: test

Thanks guys!

cordiafreaks

I'm not sure why, but http://www.cordiafreaks.com/cpg1410/ displays a default template...
But 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

Thanks again...

b4uphotos

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

cordiafreaks

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???

b4uphotos

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

b4uphotos

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

cordiafreaks

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!

cordiafreaks

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>

Joachim Müller

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.

cordiafreaks

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

Joachim Müller

You'll have to remove the other one of course.

cordiafreaks

Yeh I will sorry, dumb question... I'll let you know how I go!  :D

cordiafreaks

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">

Joachim Müller

<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.

cordiafreaks

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>


Joachim Müller

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!

cordiafreaks

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!

cordiafreaks

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!  ???

Joachim Müller

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.