Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: White line at top of every page???  (Read 7834 times)

0 Members and 1 Guest are viewing this topic.

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
White line at top of every page???
« 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/

test user: test
test PW: test

Thanks guys!
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #1 on: January 17, 2007, 04:52:28 am »

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

b4uphotos

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • B4U India
Re: White line at top of every page???
« Reply #2 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
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #3 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???
Logged

b4uphotos

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • B4U India
Re: White line at top of every page???
« Reply #4 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
Logged

b4uphotos

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • B4U India
Re: White line at top of every page???
« Reply #5 on: January 17, 2007, 07:01:03 am »

i personally visited ur link again are u asking about this
Quote
Forum     Album list     Last uploads     Last comments     Most viewed     Top rated     My Favorites     Search   

bar on top of ur website
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #6 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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fcordiafreaks.com%2Fnot_website%2Fline.JPG&hash=f6a4b9cf6a30ba71c9c0335986a225b3e74a2827)

Thanks!
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #7 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>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: White line at top of every page???
« Reply #8 on: January 17, 2007, 07:29:25 am »

http://www.cordiafreaks.com/cpg1410/themes/hardwired/style.css :
Change
Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color : #000000;
        margin: 0px;
        background-color:#FFFFFF;
        background-repeat:repeat;
        }
to
Code: [Select]
html, 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
Code: [Select]
{CUSTOM_HEADER}
</head>
and replace with
Code: [Select]
</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.
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #9 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: White line at top of every page???
« Reply #10 on: January 17, 2007, 07:57:58 am »

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

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #11 on: January 17, 2007, 08:16:06 am »

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

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #12 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!):

Code: [Select]
<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">
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: White line at top of every page???
« Reply #13 on: January 17, 2007, 08:38:32 am »

Code: [Select]
<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.
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #14 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>
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #15 on: January 17, 2007, 01:05:35 pm »

anyone?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: White line at top of every page???
« Reply #16 on: January 18, 2007, 07:47:11 am »

just a little confused with the incorporation of php...
No PHP involved at all.

Code: [Select]
<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.

anyone?
This is not a hotline!
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #17 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!
Logged

cordiafreaks

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: White line at top of every page???
« Reply #18 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!  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: White line at top of every page???
« Reply #19 on: January 19, 2007, 07:40:54 am »

I 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.