Forum Moderators: not2easy

Message Too Old, No Replies

Problem with background images

         

gharryh

7:33 pm on Oct 17, 2009 (gmt 0)

10+ Year Member



On <snip> i am building a new website. In its header file there's a table with three cells horizontal.

In the middle and right one there is a background image of the same hight. The middleone show's correct but the right one is still to high. If i try this on a new file it wont work at all.

Any suggestions how to solve this.

[edited by: swa66 at 7:37 pm (utc) on Oct. 17, 2009]
[edit reason] No links, please see ToS and Forum Charter [/edit]

D_Blackwell

7:52 pm on Oct 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld. Yeah, personal links get chopped.

My recommendation is to strip the HTML and CSS down to the problem itself by commenting out extraneous markup unrelated to the problem. If the fix is not found during this process, post the test ready code that replicates the problem and we will look at the options.

Be sure to declare a DTD and validate the markup. Just that will force the fix of many problems.

gharryh

8:04 pm on Oct 17, 2009 (gmt 0)

10+ Year Member



The part of the css file are as follows:
TD.header {
background-image:url('images/bg_military_header.png');
background-repeat: no-repeat;
width: 950;
FONT-SIZE: 0.8em;
MARGIN-BOTTOM: 10px;
}
TD.filler {
background-image:url('images/bg_filler.png');
background-repeat: repeat-x;
FONT-SIZE: 0.8em;
MARGIN-BOTTOM: 10px;
}

The file can be found on
<snip>
I left out the dots

[edited by: swa66 at 9:37 pm (utc) on Oct. 17, 2009]
[edit reason] No specifics leading to your site, it's all considered self promotional [/edit]

D_Blackwell

8:12 pm on Oct 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[The file can be found on
<snip>
I left out the dots

Might as well be a link. It specifically identifies a resource that is going to get chopped again and that I cannot reference.

Refer to post #2. Not enough information.

[edited by: swa66 at 9:38 pm (utc) on Oct. 17, 2009]
[edit reason] removal of quoted specifics [/edit]

gharryh

8:50 pm on Oct 17, 2009 (gmt 0)

10+ Year Member



Second try, the HTML code is like:

<BODY bgcolor="#009933" topmargin="0" leftmargin="0">
<DIV align="left">
<TABLE border="0" height="100%" cellspacing="0" cellpadding="0" width="0" style="border-collapse: collapse">
<TBODY>
<TR>
<TD class=colleft>&nbsp;</TD>
<TD class=header align="right" valign="bottom">&nbsp;

Currently not logged in ¦ Sitemap ¦ Contact ¦&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD class=filler align="right" valign="bottom">&nbsp;</TD>
</TR>
<TR>&nbsp;<TD></TD><TD width="950" height="3" bgcolor="#FFFFFF">&nbsp;</TD><TD>&nbsp;</TD></TR>
</TBODY>
</TABLE>

If this is not enought then i am lost