unsubscribe

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, January 10, 2008 9:51 PM
To: [email protected]
Subject: UPHPU Digest, Vol 41, Issue 9

Send UPHPU mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://uphpu.org/mailman/listinfo/uphpu
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of UPHPU digest..."


Today's Topics:

   1. broken link in style sheet kills IE 6 (Wade Preston Shearer)
   2. Re: broken link in style sheet kills IE 6 (Jim Anderson)
   3. Re: broken link in style sheet kills IE 6 (Wade Preston Shearer)
   4. weird looping image in <td> (Caleb Call)
   5. Re: weird looping image in <td> (Jonathan Duncan)
   6. RE: weird looping image in <td> (Victor Villa)
   7. Re: weird looping image in <td> (Wade Preston Shearer)
   8. Re: weird looping image in <td> (Caleb Call)


----------------------------------------------------------------------

Message: 1
Date: Thu, 10 Jan 2008 16:42:55 -0700
From: Wade Preston Shearer <[email protected]>
Subject: [UPHPU] broken link in style sheet kills IE 6
To: UPHPU Discuss <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

I have just discovered what appears to be a bug in IE 6 and am curious if
anyone else has experience with it. If a style sheet contains a link to an
image that does not exist, it borks all other images in the same sheet. And
I say "borks" over breaks because it doesn't just break them, it kills the
style declaration altogether. For example, I have a background image set in
one style sheet and then override it in another. Below this override, I have
a link to an image that doesn't exist. So, with the situation described
above, IE is freaking out about the broken link and messing up the other
links. The weird part is that if the override declaration isn't working, I
should still have the original, right? Nope, instead I get no background
image.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url :
http://uphpu.org/pipermail/uphpu/attachments/20080110/592e8e31/smime-0001.bi
n

------------------------------

Message: 2
Date: Thu, 10 Jan 2008 17:04:49 -0700
From: Jim Anderson <[email protected]>
Subject: Re: [UPHPU] broken link in style sheet kills IE 6
To: Wade Preston Shearer <[email protected]>
Cc: UPHPU Discuss <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

may be a silly question but.... are you expressly stating height and width
parameters on the reference that is broken [nonexistent]?


initial thought...


-jim



Wade Preston Shearer wrote:

> I have just discovered what appears to be a bug in IE 6 and am curious 
> if anyone else has experience with it. If a style sheet contains a 
> link to an image that does not exist, it borks all other images in the 
> same sheet. And I say "borks" over breaks because it doesn't just 
> break them, it kills the style declaration altogether. For example, I 
> have a background image set in one style sheet and then override it in 
> another. Below this override, I have a link to an image that doesn't 
> exist. So, with the situation described above, IE is freaking out 
> about the broken link and messing up the other links. The weird part 
> is that if the override declaration isn't working, I should still have 
> the original, right? Nope, instead I get no background image.
> ------------------------------------------------------------------------
>
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net


------------------------------

Message: 3
Date: Thu, 10 Jan 2008 17:06:33 -0700
From: Wade Preston Shearer <[email protected]>
Subject: Re: [UPHPU] broken link in style sheet kills IE 6
To: [email protected]
Cc: UPHPU Discuss <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

> may be a silly question but.... are you expressly stating height and  
> width parameters on the reference that is broken [nonexistent]?

Yes, the div that the image is set as a background of does have a  
width and height defined.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url :
http://uphpu.org/pipermail/uphpu/attachments/20080110/5efd27e2/smime-0001.bi
n

------------------------------

Message: 4
Date: Thu, 10 Jan 2008 20:14:37 -0700
From: Caleb Call <[email protected]>
Subject: [UPHPU] weird looping image in <td>
To: Utah PHP User Group <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

I know this is more of an HTML question but I have an odd problem.  I  
have a "banner" that I am helping a friend out with that is kind of  
looping the image because I have it set as the background of the  
<td>.  What can be done to stop this?  I've tried specifying the  
height of the table and it doesn't do anything till I get above the  
actual size of the image and then it continues the image loop that it  
has began on it's own.  Even if I set the height to much smaller than  
the actual height of the background image I still get this exact same  
result.

You can see what I am talking about at
http://www.cncmedia.net/countdown.html 
  the upper is the problem child and the lower is the exact same image  
but just an image (not set in a table or anything).

Any Help???


-Caleb


------------------------------

Message: 5
Date: Thu, 10 Jan 2008 20:51:26 -0700
From: Jonathan Duncan <[email protected]>
Subject: Re: [UPHPU] weird looping image in <td>
To: Caleb Call <[email protected]>
Cc: Utah PHP User Group <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On 10 Jan 2008, at 20:14, Caleb Call wrote:

> I know this is more of an HTML question but I have an odd problem.   
> I have a "banner" that I am helping a friend out with that is kind  
> of looping the image because I have it set as the background of the  
> <td>.  What can be done to stop this?  I've tried specifying the  
> height of the table and it doesn't do anything till I get above the  
> actual size of the image and then it continues the image loop that  
> it has began on it's own.  Even if I set the height to much smaller  
> than the actual height of the background image I still get this  
> exact same result.
>
> You can see what I am talking about at
http://www.cncmedia.net/countdown.html 
>  the upper is the problem child and the lower is the exact same  
> image but just an image (not set in a table or anything).
>
> Any Help???
>

Viewing the source shows this:

<img src="numbers/background.jpg">

Which is a duplicate of the image background in the td tag above it.   
Remove that and your extra image will be gone.

Is that what you are asking about?


------------------------------

Message: 6
Date: Thu, 10 Jan 2008 20:56:49 -0700
From: "Victor Villa" <[email protected]>
Subject: RE: [UPHPU] weird looping image in <td>
To: "'Jonathan Duncan'" <[email protected]>,  "'Caleb Call'"
        <[email protected]>
Cc: 'Utah PHP User Group' <[email protected]>
Message-ID: <028301c85406$0126dc00$037494...@com>
Content-Type: text/plain;       charset="US-ASCII"

>Which is a duplicate of the image background in the td tag above it.   
>Remove that and your extra image will be gone.

True that, additionally, I changed some stuff around and put things in that
you're going to want in your web page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!-- STEP ONE:  Insert the following line into your <head></head> tag  -->
<script type="text/javascript" src="js/countdown.js"></script> 
<title>W.E.Rock - Countdown to Perris</title>
<base href="http://www.cncmedia.net"; />

<style>
.formatPicture {background: url(/numbers/background.jpg) top left
no-repeat;}
</style>
</head>


<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->
<body onload="getTime()">


<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->
<center>
<table border="0" width="755" height="50" class="formatPicture"><tr><td
align="right" valign="center">
<img height=80 src="numbers/Cc.gif" width=0 name=x>
<img height=80 src="numbers/0c.png" width=18 name=a>
<img height=80 src="numbers/0c.png" width=18 name=b>
<img height=80 src="numbers/Cc.gif" width=18 name=c>
<img height=80 src="numbers/0c.png" width=18 name=y>

<img height=80 src="numbers/0c.png" width=18 name=z>
<img height=80 src="numbers/Cc.gif" width=25 name=cz>
<img height=80 src="numbers/0c.png" width=18 name=d>
<img height=80 src="numbers/0c.png" width=18 name=e>
<img height=80 src="numbers/Cc.gif" width=25 name=f>
<img height=80 src="numbers/0c.png" width=18 name=g>
<img height=80 src="numbers/0c.png" width=18 name=h>
<img height=80 src="numbers/Cc.gif" width=5 name=f>
</td></tr></table>
</center>

</body>
</html>



------------------------------

Message: 7
Date: Thu, 10 Jan 2008 20:57:54 -0700
From: Wade Preston Shearer <[email protected]>
Subject: Re: [UPHPU] weird looping image in <td>
To: Caleb Call <[email protected]>
Cc: Utah PHP User Group <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

> I know this is more of an HTML question but I have an odd problem.   
> I have a "banner" that I am helping a friend out with that is kind  
> of looping the image because I have it set as the background of the  
> <td>.  What can be done to stop this?  I've tried specifying the  
> height of the table and it doesn't do anything till I get above the  
> actual size of the image and then it continues the image loop that  
> it has began on it's own.  Even if I set the height to much smaller  
> than the actual height of the background image I still get this  
> exact same result.

A value of the background property is 'background-repeat', which  
controls whether the image repeats or not. Also, I would recommend  
setting all of style properties within a the style attribute. Thus,  
your block of code would look like this:

<table style="border: 0">
        <tr>
                <td style="background: url('numbers/background.jpg') center
no- 
repeat; width: 755px; height: 50px; text-align: right, vertical-align:  
center">


Also, is there a specific reason that you are using a table for this?  
If there is only one cell in your table, then you are misusing a table.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url :
http://uphpu.org/pipermail/uphpu/attachments/20080110/e850e8ae/smime-0001.bi
n

------------------------------

Message: 8
Date: Thu, 10 Jan 2008 21:53:13 -0700
From: Caleb Call <[email protected]>
Subject: Re: [UPHPU] weird looping image in <td>
To: Wade Preston Shearer <[email protected]>
Cc: Utah PHP User Group <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Perfect, thanks guys.  Using a some css and setting background to not  
repeat did the trick.

This is actually not a web page or anything, this will be set inside a  
table (hence the use of a table) and this is merely the code (the  
reason for my comments on where to place the code).  My friend wanted  
a count down timer to an event using his graphics...so I provided that  
for him :-)

Thanks again for the quick help.

On Jan 10, 2008, at 8:57 PM, Wade Preston Shearer wrote:

>> I know this is more of an HTML question but I have an odd problem.   
>> I have a "banner" that I am helping a friend out with that is kind  
>> of looping the image because I have it set as the background of the  
>> <td>.  What can be done to stop this?  I've tried specifying the  
>> height of the table and it doesn't do anything till I get above the  
>> actual size of the image and then it continues the image loop that  
>> it has began on it's own.  Even if I set the height to much smaller  
>> than the actual height of the background image I still get this  
>> exact same result.
>
> A value of the background property is 'background-repeat', which  
> controls whether the image repeats or not. Also, I would recommend  
> setting all of style properties within a the style attribute. Thus,  
> your block of code would look like this:
>
> <table style="border: 0">
>       <tr>
>               <td style="background: url('numbers/background.jpg') center
no- 
> repeat; width: 755px; height: 50px; text-align: right, vertical- 
> align: center">
>
>
> Also, is there a specific reason that you are using a table for  
> this? If there is only one cell in your table, then you are misusing  
> a table.



------------------------------


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

End of UPHPU Digest, Vol 41, Issue 9
************************************


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to