Symon Moderator

 Virtual Cash: 28710
Joined: 04 Sep 2005 Posts: 11156 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 45950
Joined: 22 May 2005 Posts: 19651
Add Karma
 rated by 162 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Viper Moderator

 Virtual Cash: 1110
Joined: 20 Sep 2005 Posts: 1981
Add Karma
 rated by 4 members
Add Comment
Show Comments
 |
Posted: Tue May 13, 2008 2:25 pm Post subject: |
|
|
| admin (no pm's please) wrote: | | probably as it has head and body tags. Not good for something that is working as a snippet. |
Aye. Take this line out aswell:
| Code: | | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 8370
Joined: 06 May 2006 Posts: 4085 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Tue May 13, 2008 4:11 pm Post subject: |
|
|
This should do it, let me know, may be worth altering the links colors:
_________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28710
Joined: 04 Sep 2005 Posts: 11156 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Wed May 14, 2008 2:36 pm Post subject: |
|
|
Doesnt work nick,
If i just have the images it shows them in all 4 corners, however as soon as i add the text it crashes and you see just the standard light brown screen.
So it seems to be a .css problem _________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 8370
Joined: 06 May 2006 Posts: 4085 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Wed May 14, 2008 3:05 pm Post subject: |
|
|
I got a sneaky feeling it's this playing silly buggers:
img { behavior: url("pngfix.htc"); } _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28710
Joined: 04 Sep 2005 Posts: 11156 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Wed May 14, 2008 5:18 pm Post subject: |
|
|
| Nick(NR) wrote: | I got a sneaky feeling it's this playing silly buggers:
img { behavior: url("pngfix.htc"); } |
What i done was tpo grab an orginal motd.txt , and just add 4 images to the corners, this worked.
However as soon as i try and add anything in the middle that is when it doesnt work.
and that file you just pointed to reads as follows, (but i took that out as well)
www.assiejack.teamhost.co.uk/motd.html
using
www.assiejack.teamhost.co.uk/motd.txt
pngfix.htc
| Code: | <public:component>
<public:attach event="onpropertychange" onevent="propertyChanged()" />
<script>
var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32";
var realSrc;
var transSrc = "trans.gif";
if (supported) fixImage();
function propertyChanged()
{
if (!supported) return;
var pName = event.propertyName;
if (pName != "src") return;
// if not set to transparent
if ( ! new RegExp(transSrc).test(src))
fixImage();
};
function fixImage()
{
// get src
var src = element.src;
// check for real change
if (src == realSrc)
{
element.src = transSrc;
return;
}
if ( ! new RegExp(transSrc).test(src))
{
// backup old src
realSrc = src;
}
// test for png
if ( /\.png$/.test( realSrc.toLowerCase() ) )
{
// set transparent image
element.src = transSrc;
// set filter
element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
}
else
{
// remove filter
element.runtimeStyle.filter = "";
}
}
</script>
</public:component>
|
_________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 8370
Joined: 06 May 2006 Posts: 4085 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Wed May 14, 2008 5:42 pm Post subject: |
|
|
it shouldn't need a png fix, it's not an old browser it's a game that shows png sprays, so it wasn't needed anyways, but all the same will have to finish getting dod and have a bash on your server. _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
Viper Moderator

 Virtual Cash: 1110
Joined: 20 Sep 2005 Posts: 1981
Add Karma
 rated by 4 members
Add Comment
Show Comments
 |
Posted: Wed May 14, 2008 6:21 pm Post subject: |
|
|
| Viper wrote: | Take this line out aswell:
| Code: | | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
|
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28710
Joined: 04 Sep 2005 Posts: 11156 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Wed May 14, 2008 6:35 pm Post subject: |
|
|
| Viper wrote: | | Viper wrote: | Take this line out aswell:
| Code: | | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
|
Funny thing is i left that in and it works for images on 4 corners ? _________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28710
Joined: 04 Sep 2005 Posts: 11156 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Nick(NR) Moderator

 Virtual Cash: 8370
Joined: 06 May 2006 Posts: 4085 Location: Medway, Kent Add Karma
 rated by 30 members
Add Comment
Show Comments
 |
Posted: Thu May 15, 2008 5:00 pm Post subject: |
|
|
Why not use a borderless table with jpgs?
If you wanted text over the pics, then some css to set the pics as bg's would've worked _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |