Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

Buy Site Supporter Role (remove some ads) | LPF Donations

Links below open in new window

FrozenGate by Avery

HTML Help Please

Joined
Sep 28, 2007
Messages
1,520
Points
0
Right ok, the situation is there is a bug in my HTML script that seams to have randomly appeared for absolutly no reason. I have recoded the entire thing from scratch so it displays the same as the other one yet I still have the same problem.

I made an email signature for work in HTML a while back and I designed it to I could change an image in the signature remotly from my computer by just uploading a new image in place of the other one which automatically updates all computers here.

Heres the code, what seams to be happening is when people reply to an email it moves the entire email and signature of the person they are replying to over to the right hand side of the signature. From what I can see, everything is fine.

Code:
<table border="0">

<tr>
  <td><strong>Regards,<br />
NAME<br />
TITLE<br /></strong><br /><font size="2">Horizon Global Electronics Ltd<br />
**** *<br />
**** ****<br />
**** ******<br />
******<br />
*****<br />
**** ***<br />
****** *******<br /><br/>
Phone:  +44  (0) **** ******<br />
Fax:  +44  (0) **** ******<br />
Email: <a href="mailto:EMAIL@horizonhge.com">EMAIL@horizonhge.com</a><br />
Web: <a href="[url]http://www.horizonhge.com">http://www.horizonhge.com</a></font></td>[/url]
  <td><br /><br /><br /><a href="[url]http://www.horizonhge.com"><img[/url] src="[url]http://download.horizonhge.com/gendir/queens.gif"[/url] alt="Queens Award" width="129" height="206" align=right border="0"></td>
</tr>
<tr>
  <th colspan="2" align=left><br /><a href="[url]http://www.horizonhge.com"><img[/url] src="[url]http://download.horizonhge.com/gendir/horizonbanner.gif"[/url] alt="Horizon Global Electronics" width="468" height="60" border="0"></a><br /><a href="[url]http://www.horizonhge.com"><img[/url] src="[url]http://download.horizonhge.com/gendir/show.gif"[/url] alt="Horizon Global Electronics" width="468" height="26" border="0"></a><br /><font size=2><a href="[url]http://www.horizonhge.com/email_disclaimer.html">http://www.horizonhge.com/email_disclaimer.html</a></font>[/url]


</th>
</tr>
</table>

Tempory solution is setting everyones email to only show the signature on new emails and not on replies but I need to get this fixed ASAP.

Any ideas?

Edit: Fixed the aligning issue but now the images duplicate themselfs under the signature on hotmail and the images don't always show up on all emails.
 





If you could send the HTML source generated in the replied email, or a screen capture, it would be much appreciated. It may be that the email client detects the hotlinking, and instead chooses to send it as an attatchment. You could try using an iFrame instead, to a HTML page, giving you even more flexibility to change the number, colour scheme etc but some email clients or browsers will block this as XSS.
 
Interesting website (horizonhge)

They have a typo on like the first sentence of their home page -_- gg
 
dvdg101 said:
Interesting website (horizonhge)

They have a typo on like the first sentence of their home page -_- gg

woah, thanks for pointing that out.

:)
 
you seem to be pretty obsessed with <br />, is there a reason you're not using just <br> ?? maybe try that.

also, for your alignment issue, maybe try a <div align="center"> ...everything u want aligned </div> instead of using the align= in your img src spots. might fix it.

or just get rid of all the alignment crap and use <center>

good luck,
Kendall
 
sk8er4514 said:
you seem to be pretty obsessed with <br />, is there a reason you're not using just <br> ?? maybe try that.

also, for your alignment issue, maybe try a <div align="center"> ...everything u want aligned </div> instead of using the align= in your img src spots. might fix it.

or just get rid of all the alignment crap and use <center>

good luck,
Kendall

Ugh, <br>? Have you kept up with industry standards at all? <br> is not xhtml valid code. And neither is <center>.

http://www.w3schools.com/

Read, learn it, live it. You will not be taken seriously as a web developer if your sites do not follow these standards and pass their validation tools.

CSS for formatting, html for layout.
 
cexshun said:
Ugh, <br>? Have you kept up with industry standards at all? <br> is not xhtml valid code. And neither is <center>.

http://www.w3schools.com/

Read, learn it, live it. You will not be taken seriously as a web developer if your sites do not follow these standards and pass their validation tools.

CSS for formatting, html for layout.

You say that, yet w3schools' page looks AWFUL at very wide resolutions - everything is crushed up in the left of the page, annoying anyone browsing at 1920 by 1200 or above. By contrast, <center> works perfectly still in all browsers, and is much neater and simple. Neater still would be having an in-line frame to an HTML page containing a pre-rendered image of what you want.
 
cexshun said:
[quote author=sk8er4514 link=1231496334/0#5 date=1231635338]you seem to be pretty obsessed with <br />, is there a reason you're not using just <br> ?? maybe try that.

also, for your alignment issue, maybe try a <div align="center"> ...everything u want aligned </div> instead of using the align= in your img src spots. might fix it.

or just get rid of all the alignment crap and use <center>

good luck,
Kendall

Ugh, <br>? Have you kept up with industry standards at all? <br> is not xhtml valid code. And neither is <center>.

http://www.w3schools.com/

Read, learn it, live it. You will not be taken seriously as a web developer if your sites do not follow these standards and pass their validation tools.

CSS for formatting, html for layout.[/quote]
I'd just like to point out that you're the one asking for help. If you don't want my help, then goodbye.

-Kendall
 
sk8er4514 said:
I'd just like to point out that you're the one asking for help. If you don't want my help, then goodbye.

-Kendall

Actually, lamborgini8 is asking for your help... You're arguing with other people who've replied to the thread.

Anyways, any tag that doesn't have an accompanying closing tag should end with /> so it closes itself... This applies to <br> as well as <hr>, <p> and any other standalone tag. This isn't the cause of the problem. I'm not really sure what is, maybe it has something to do with the table. While we're on the subject of proper standards compliant HTML, you really shouldn't use the <font> tag, rather style="font-size: 2".
 
pseudolobster said:
Actually, lamborgini8 is asking for your help... You're arguing with other people who've replied to the thread.

Anyways, any tag that doesn't have an accompanying closing tag should end with /> so it closes itself... This applies to <br> as well as <hr>, <p> and any other standalone tag. This isn't the cause of the problem. I'm not really sure what is, maybe it has something to do with the table. While we're on the subject of proper standards compliant HTML, you really shouldn't use the <font> tag, rather style="font-size: 2".

Quote for truth! Although <p> does have an end tag </p>. But otherwise, you are correct my good sir.

charlie bruce, why would you use a depreciated <center> tag when the proper way to do it would be using css setting left and right margins to auto? W3schools isn't "crushed" due to proper coding. It's "crushed" because they designed the page to be left justified, although "crushed" implies that the display ratio is off. Regardless of your opinion of their layout, it is still the defacto standard for all things html,xhtml, and css education.

Yeah, that old stuff "works" for the most part. But there are industry standards for a reason. I'd never dream of delivering a finished site to a client that did not, at very least, pass w3c transitional standards. Although 99% do pass strict standards.
 
My reason for saying <center> is it's clearer precicely what is centered and what is not. Personally I believe in functionality over standards for a hacked-together solution such as this, and I don't see any browsers dropping support any time soon. This is only my opinion for a "quick-and-dirty" fix however, and you will find any of my designs I would even consider selling will pass XHTML and CSS strict standards.

Will iFrames work properly in this circumstance? Has Lambourghini tried this yet? It makes more sense than what he is trying currently - an inline frame linked to his site, which he can modify easily there, will do as he wants, and update the numbers etc in the frame. If he really wanted to then he could even make the linked-to page HTML and CSS compliant, to give it that professional touch.


My problem with w3schools is left justification is just plain annoying for anyone reading at large resolutions, everything is forced into the far left of the window, when most sites are using centred justification. with a very large monitor, this means I have to adjust my posture to read the small text on the far left.
 
Sorry guys, I only work on Wednesday and Fridays and I am at college for the rest of the time im not at work hence my slow reply on this.

Trouble is the only way I can get the signature to layout in that way is by using tables so I can align the text, images and sort out fonts individually. Should <br> tags have a closing <br/> on them?

Things I have found however is that CSS is out of the question as its an email signature so I can only use one file as well as the fact it needs to be compatible with Outlook 2004 and 2007. iFrames are a no no as one of the main requirements I was asked to do is make it compatible with as many email services as I can, which pure HTML appears to work on them all, apart from any that have HTML disabled by default that the user hasn't changed.

As for the <center> tags, im not actually sure where this has came into the conversation...

To a few posts above, where is the spelling mistake on the website? I am told there are no mistakes.
 
Terrestiral -> Terrestrial? Finishing with a full stop and new line done properly? Stopping it being such a huge run-on, mangled mess of English (no offence meant, just constructive criticism ;) )? Only a guess. As for the no-iframe issue, easiest way is something like this:

<center> (OR the CSS-valid equivalent, please don't heckle!)
<img src="http://download.horizonhge.com/sig.jpg" alt="THE TEXT-ONLY VERSION OF THE SIGNATURE CONTAINING VITAL DETAILS ONLY HERE" />
</center>

In sig.jpg you simply pre-render the entire signature, with logos, etc as you want it to appear in the signature. As for mailto links, to avoid your original problem, hitmaps on the image might make sense. Remember speed considerations on the image too, as it may well get to be a very big file, and take ages to load, which doesn't look professional.
 
Also there's a misplaced full stop here: "lysers . We buil" and the last sentence could really do with commas. Also that font is tiny, can you make it a bit easier on my eyes? The footer on there is also misaligned, but it may just be a design feature I don't think works... Using Google translate for your alternate languages doesn't really give the right impression either, as they don't really communicate in the same way a human translator would, and they can't translate the text on your button images. Again, not meant nastily, but constructively, though I fully understand the way in which the site has been designed.
 
charlie bruce said:
Terrestiral -> Terrestrial? Finishing with a full stop and new line done properly? Stopping it being such a huge run-on, mangled mess of English (no offence meant, just constructive criticism ;) )? Only a guess. As for the no-iframe issue, easiest way is something like this:

<center> (OR the CSS-valid equivalent, please don't heckle!)
<img src="http://download.horizonhge.com/sig.jpg" alt="THE TEXT-ONLY VERSION OF THE SIGNATURE CONTAINING VITAL DETAILS ONLY HERE" />
</center>

In sig.jpg you simply pre-render the entire signature, with logos, etc as you want it to appear in the signature. As for mailto links, to avoid your original problem, hitmaps on the image might make sense. Remember speed considerations on the image too, as it may well get to be a very big file, and take ages to load, which doesn't look professional.

Im at work now so I will go over it and see what I can do.

As for the website, its not really my responsibility to manage that part. I have access to the back end of it so I can upload images but thats it.
 





Back
Top