1
ralf57
Need help to fix a theme....
  • 2004/2/4 14:45

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


I need a little help from some experienced user to fix a strange behaviour in a theme.The problem is related to the theme's header.
The starnge is that the header is shown correctly in Firebird but not in IE6 as you can see below:

IE6:
Resized Image







and in Firebird(correctly):







Resized Image







Notice that in IE6 only there is a ugly space between the logo and the silver bar just below.

This is the code:

___________________________________






















________________________________


and these the related .css selectors:

_________________________________

table#okvir
{
background-color: #FFFFFF;
border-right: 1px solid #026CA9;
border-left: 1px solid #026CA9;

td#headerlogo
{
background-color: #ECE9D8;
background-image: url(images/header_bg.gif);
background-repeat:repeat-x;

.navbar
{
background-color: transparent;
background-image: url(images/nav_bar_bg.gif);
}

td#headmenu a
{
background-color: transparent;
color: #6F6635;
padding-left: 4px;
padding-right: 4px;
padding-bottom: 0px;
padding-top: 0px;
border-left: 0px solid #514928;
border-top: 0px solid #514928;
border-bottom: 0px solid #514928;
}
td#headmenu a:hover
{
background-color: #F8F7EF;
color: #B5A966;
}
.menuHead
{
font-size: 10px;
}


__________________________________________________

I hope someone could help me.
Thanks in advance,ralf.

2
SevenD
Re: Need help to fix a theme....
  • 2004/2/4 15:04

  • SevenD

  • Not too shy to talk

  • Posts: 143

  • Since: 2003/7/23



Fix the style.css, unclosed tag in "td#headerlogo" and "table#okvir" selector, "}" .




3
kahumbu
Re: Need help to fix a theme....
  • 2004/2/4 15:09

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


This might be related to the way the browsers display nested tables, or tables placed on top of the other.

Why are you nesting 2 tables inside a one-celled table? From the code you posted, it seems that the outside table is only used to display borders.

You can convert those 3 tables into 1 table with the first row having colspan of 6. Or you can give each nested table a cell of its own.

4
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 15:11

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

SevenD wrote:

Fix the style.css, unclosed tag in "td#headerlogo" and "table#okvir" selector, "}" .





Thank you SevenD for your quick answer but the tags were already closed;i made a copy/paste error writing the post;
so the problem still remains.

5
SevenD
Re: Need help to fix a theme....
  • 2004/2/4 15:43

  • SevenD

  • Not too shy to talk

  • Posts: 143

  • Since: 2003/7/23


Try to rename(in style.css) td#headerlogo selector to .headerlogo and replace :

Quote:








with:

Quote:








Send me style.css and theme.html if the problem still remains.


6
hsalazar
Re: Need help to fix a theme....
  • 2004/2/4 16:14

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


ralf57:

If SevenD's solution hasn't worked, try this: make sure that all the tags that form the table including the header logo are in a single line, that is, take out the carriage returns.

Cheers.

7
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 16:48

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Thank you both,but no result even wiht hsalazar suggest:

@hsalazar:now i have this code(wihtout carriage returns):

___________________________












_________________________________

@SevenD: i've sent you the files as you requested.

8
Mithrandir
Re: Need help to fix a theme....

Isn't it related to the height= setting? IE and Mozilla has different ways of interpreting the height setting AFAIK.

I have also had problems with block header graphics being repeated (well, a line or two of graphics) in IE, but not in Mozilla.

9
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 17:07

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

Mithrandir wrote:
Isn't it related to the height= setting? IE and Mozilla has different ways of interpreting the height setting AFAIK.

I have also had problems with block header graphics being repeated (well, a line or two of graphics) in IE, but not in Mozilla.


Thank you Mithrandir,i've set the height value in html code and .css too but this seems not affect the way the header is shown even if i put an high value(ex.400px).
This sound very strange.


10
robekras
Re: Need help to fix a theme....
  • 2004/2/4 17:45

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


Don't know whether this is something what could help.

I didn't follow the thread in detail, but I just remember of a similar problem I had with table etc.

Especially a difference between Mozilla and IE. The default setting for border-collapse is different between Mozilla and IE (As far as I remember).

It's something with border-collapse in the table class definition.

I have something like table {..... border-collapse: separate}
within my stylesheet. Maybe you do a search for border-collapse and how this effect tables.


Login

Who's Online

300 user(s) are online (183 user(s) are browsing Support Forums)


Members: 0


Guests: 300


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits