1
dtauto
cell background missing?
  • 2004/7/9 23:49

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


for some odd reason (i've tried css, double-checking my html, etc.), there's a blank area where my content will eventually go. it's a bit irking actually, as this is my only set back at this point. here's a screenie:

Screenie

for my css code, i have this:
.time {
    
color#000000;
    
font-familyTahoma,Verdana,Sans-serif;
    
font-size10px;
    
font-weightnormal;
    
font-decorationnone;
}
.
dtable {
    
width760px;
    
height100%;
}
.
contenttable {
    
background-image"images/dt_18.gif";
    
height100%;
}


i figured by specifying that i want the content table to carry the background file not only in the css but also in the html, i can't lose. but it doesn't work.

lastly, here's my theme.html... warning: it's a bit long.
<TABLE WIDTH=760 height="100%" BORDER=0 align="center" CELLPADDING=0 CELLSPACING=class="dtable">
    <
TR>
        <
TD ROWSPAN=8 width=2 height=100background="images/dt_01.gif">
            TD>
        <
TD width=5 height=17>
            TD>
        <
TD COLSPAN=6 height=17 width=746 valign="middle" align="left" class="time">
            <
SCRIPT>
            var 
mydate=new Date()
            var 
theYear=mydate.getFullYear()
            var 
day=mydate.getDay()
            var 
month=mydate.getMonth()
            var 
daym=mydate.getDate()
            if (
daym<10)
            
daym="0"+daym
            
var dayarray=new Array("Sun","Mon","Tue","Wed","Thurs","Fri","Sat")
            var 
montharray=new Array("Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec")
            
document.write(dayarray[day]+", "+montharray[month]+" "+daym+", "+theYear)
            SCRIPT>TD>
        <
TD width=5 height=17>
            TD>
        <
TD ROWSPAN=8 width=2 height=100background="images/dt_05.gif">
            TD>
    TR>
    <
TR>
        <
TD COLSPAN=8 width=756 height=5>
            <
IMG SRC="images/dt_06.gif" WIDTH=756 HEIGHT=5 ALT="">TD>
    TR>
    <
TR>
        <
TD COLSPAN=8 width=756 height=118>
            <
IMG SRC="images/dt_07.gif" WIDTH=756 HEIGHT=118 ALT="">TD>
    TR>
    <
TR>
        <
TD COLSPAN=8 width=756 height=21>
            <
IMG SRC="images/dt_08.gif" WIDTH=756 HEIGHT=21 ALT="">TD>
    TR>
    <
TR>
        <
TD width=5 height=27>
            <
IMG SRC="images/dt_09.gif" WIDTH=5 HEIGHT=27 ALT="">TD>
        <
TD COLSPAN=2 width=143 height=27>
            <
IMG SRC="images/dt_10.gif" WIDTH=143 HEIGHT=27 ALT="">TD>
        <
TD COLSPAN=2 width=481 height=27>
            <
IMG SRC="images/dt_11.gif" WIDTH=481 HEIGHT=27 ALT="">TD>
        <
TD COLSPAN=3 width=127 height=27>
            <
IMG SRC="images/dt_12.gif" WIDTH=127 HEIGHT=27 ALT="">TD>
    TR>
    <
TR>
        <
TD ROWSPAN=2 width=5 height=396>
            <
IMG SRC="images/dt_13.gif" WIDTH=5 HEIGHT=396 ALT="">TD>
        <
TD ROWSPAN=2 width=138 height=396>
            <
IMG SRC="images/dt_14.gif" WIDTH=138 HEIGHT=396 ALT="">TD>
        <
TD COLSPAN=2 ROWSPAN=2 width=23 height=396 valign="top" background="images/contentleftborderbg.gif">
            <
IMG SRC="images/dt_15.gif" WIDTH=23 HEIGHT=396 ALT="">TD>
        <
TD COLSPAN=2 width=580 height=6 valign="top">
            <
IMG SRC="images/dt_16.gif" WIDTH=580 HEIGHT=6 ALT="">TD>
        <
TD COLSPAN=2 ROWSPAN=2 width=10 height=396 valign="top" background="images/contentrightborderbg.gif">
            <
IMG SRC="images/dt_17.gif" WIDTH=10 HEIGHT=396 ALT="">TD>
    TR>
    <
TR>
        <
TD COLSPAN=2 width=580 height=100background="images/dt_18.gif" align="left" valign="top" class="contenttable">
            TD>
    TR>
    <
TR>
        <
TD COLSPAN=8 width=756 height=16>
            <
IMG SRC="images/dt_19.gif" WIDTH=756 HEIGHT=16 ALT="">TD>
    TR>
    <
TR>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=5 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=138 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=5 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=18 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=463 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=117 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=5 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=5 HEIGHT=1 ALT="">TD>
        <
TD>
            <
IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT="">TD>
    TR>
TABLE>


perhaps one of you brilliant people could shed a little light on this as it has never happened to me before.

thanks so much in advance, i really appreciate it.

2
tjnemez
Re: cell background missing?
  • 2004/7/9 23:55

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


.contenttable {
background-image: "images/dt_18.gif";
height: 100%;

try this:


.contenttable {
background-image: url("images/dt_18.gif");
height: 100%;

3
dtauto
Re: cell background missing?
  • 2004/7/10 0:06

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


lol, that certainly was a little embarrassing. thanks for the css fix, but sadly, that didn't help with the missing background.

i can tell you this though: when i type any random text, it closes the gap by that much. odd. i used to run into this back in my early early days of web development, but with the advancement of css and seamless tables, i didn't have that struggle anymore.

i've thrown up a quick sampler so you can all see what i'm seeing live.

Live Sample

4
tjnemez
Re: cell background missing?
  • 2004/7/10 1:14

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


what is it thats not showing up?

5
dtauto
Re: cell background missing?
  • 2004/7/10 1:48

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


there's an off-color square right in the middle of my content area, that's actually the background color showing through but there's no reason for it because i have the cell background image set, so i guess i'm not seeing why it's missing that exact area.

6
tjnemez
Re: cell background missing?
  • 2004/7/10 1:58

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


when i right click and select properties it does not indicate there is an image there.

7
tjnemez
Re: cell background missing?
  • 2004/7/10 2:01

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


unlike your other code you have not added

why this should matter i am not sure but you could add this to the cell in question.

8
dtauto
Re: cell background missing?
  • 2004/7/10 2:02

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


perhaps the background itself has shifted down? any way to remedy that?

9
tjnemez
Re: cell background missing?
  • 2004/7/10 2:32

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


do you have a link to the image on your server?

10
dtauto
Re: cell background missing?
  • 2004/7/10 2:34

  • dtauto

  • Just popping in

  • Posts: 56

  • Since: 2004/7/4 0


sure...

Image

Login

Who's Online

349 user(s) are online (244 user(s) are browsing Support Forums)


Members: 0


Guests: 349


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