forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Reoplex on May 10, 2005, 01:53:30 am

Title: Problem with theme. Gap between main table and top header.
Post by: Reoplex on May 10, 2005, 01:53:30 am
Hey guys,

I've installed coppermine gallery and so far its what i've been looking for. Anyway, for some reason there is a gap between the top header and the main table. BUT this is only a problem with Internet explorer, with Firefox is looks right.

http://www.roaregg.com/gallery

With Firefox, there is no gap, but try it with Internet explorer and you will see a gap. I've tried everything and i cant get it to work right :(

any help is appreciated. Thank you.
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Joachim Müller on May 10, 2005, 09:58:34 am
Both in IE and FF the page looks absolutely the same to me, see attached screenshots.
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Tranz on May 10, 2005, 02:16:31 pm
Same here. Try clearing your cache.
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Reoplex on May 11, 2005, 03:31:47 am
?  Hmm, on the IE example above, i see a very small blue line that seperates the header from the table  ???
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Tranz on May 11, 2005, 03:39:30 am
oh, ok. I was looking for big white space, not a thin blue line. I see what you are saying now.
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Reoplex on May 11, 2005, 03:43:42 am
Yep. I've tried everything i could think of... editing files, moving things around and nothing :( as you can see on my front page roaregg.com. The top header is connected to the content area. So im thinking that it might have something to do with the table in template.html file.

Any suggestions?
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Joachim Müller on May 11, 2005, 10:42:29 am
Try setting the html attribute "cellspacing" for the table, does the trick for me. Replace
Code: [Select]
<table width="709px" height="100%" cellpadding="20" bgcolor="#85CCFC"
style="
margin-left: 48px;
margin-bottom: 15px;
margin-top: -2px;
">
with
Code: [Select]
<table width="709px" height="100%" cellpadding="20" cellspacing="0" bgcolor="#85CCFC"
style="
margin-left: 48px;
margin-bottom: 15px;
margin-top: -2px;
">
I suggest trying to produce "cleaner" code, it's hard to track browser differences with a mish-mash of html attributes (like bgcolor="#85CCFC") and css both external and inline.

Joachim
Title: Re: Problem with theme. Gap between main table and top header.
Post by: Reoplex on May 12, 2005, 12:47:22 am
 >:( I actually took it out because i was having other problems. :-[

I added it again and it worked  :-\\ Sorry for bothering you guys, i should have thought of that :\'(

Thanks. :)