SydLexia.com Forum Index
"Stay awhile. Stay... FOREVER!"

  [Edit Profile]  [Search]  [Memberlist]  [Usergroups]  [FAQ]  [Register]
[Who's Online]  [Log in to check your private messages]  [Log in]
Issue with HTML for signature


Reply to topic
Author Message
Mr. Satire
Title: No title necessary.
Joined: Jun 08 2010
Location: Termina Field
PostPosted: Mar 23 2011 08:43 am Reply with quote Back to top

A few hours ago, I tried to 'enhance' my signature by giving it alternate text and tooltip text, and using HTML code as follows:
Code:
<img
style="width: 675px; height: 175px;"
alt="You shouldn't have done that."
title="Get your ugly mouse cursor the fuck off of my lovely signature!"
src="http://img715.imageshack.us/img715/8606/satqn.png">

However, this seems to not work. Anyone wish to help?

Also, I used the Nvu HTML editor to create this code, which works with usual HTML pages.
View user's profileSend private messageSend e-mailVisit poster's website
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Mar 23 2011 08:57 am Reply with quote Back to top

the style attribute isn't valid for the img tag in HTML, as far as I know.

Instead, use:

width="675"
height = "175"

It automatically reads the values as pixels. You only have to specify pixels (or points) when defining a font. Otherwise, it reads the font based on preset relative sizes.
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
Mr. Satire
Title: No title necessary.
Joined: Jun 08 2010
Location: Termina Field
PostPosted: Mar 23 2011 09:06 am Reply with quote Back to top

Okay, tried that to no success.
View user's profileSend private messageSend e-mailVisit poster's website
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Mar 23 2011 09:17 am Reply with quote Back to top

No, no, no. You're doing it wrong. I said get rid of the style attribute and replace it with what I said.

Like THIS:

Code:
<img "width="675" height="175" alt="You shouldn't have done that." title="Get your ugly mouse cursor the fuck off of my lovely signature!" src="http://img715.imageshack.us/img715/8606/satqn.png">
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
Mr. Satire
Title: No title necessary.
Joined: Jun 08 2010
Location: Termina Field
PostPosted: Mar 23 2011 09:20 am Reply with quote Back to top

Well, that worked well. Thanks!
View user's profileSend private messageSend e-mailVisit poster's website
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Mar 23 2011 09:20 am Reply with quote Back to top

Hooray! Enjoy.
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
GPFontaine
Joined: Dec 06 2007
Location: Connecticut
PostPosted: Apr 08 2011 07:55 am Reply with quote Back to top

Syd Lexia wrote:
the style attribute isn't valid for the img tag in HTML, as far as I know.

Instead, use:

width="675"
height = "175"

It automatically reads the values as pixels. You only have to specify pixels (or points) when defining a font. Otherwise, it reads the font based on preset relative sizes.

I missed this, not sure how.

Style is absolutely a valid attribute for the IMG tag.
http://www.w3schools.com/tags/tag_IMG.asp

This forum parses all HTML and removes all tags that it deems "dangerous". Remember, that means tags that were dangerous when this software was created 9 years ago.

As far as I am aware, the Style attribute is not available for any HTML on any tag in PHPBB2. If it were, I assure you I would have exploited the hell out of it.



 
View user's profileSend private messageVisit poster's website
lavalarva
2011 SNES Champ
Joined: Dec 04 2006
PostPosted: Apr 08 2011 01:03 pm Reply with quote Back to top

And now Satire's sig's text is full of gibberish. Smile
View user's profileSend private message
aeonic
Title: Sporadic Poster
Joined: Nov 19 2009
Location: Kissimmee, FL
PostPosted: Apr 08 2011 02:04 pm Reply with quote Back to top

lavalarva wrote:
And now Satire's sig's text is full of gibberish. Smile


A fitting conclusion!


Who likes role-playing games? Me. Way too goddamn much.
 
View user's profileSend private message
Blackout
Title: Captain Oblivious
Joined: Sep 01 2007
Location: That Rainy State
PostPosted: Apr 09 2011 04:41 am Reply with quote Back to top

I've noticed that some forums (like this one) allow what appears to be limited HTML, while others, don't seem to allow any whatsoever.



 
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger
Syd Lexia
Site Admin
Title: Pop Culture Junkie
Joined: Jul 30 2005
Location: Wakefield, MA
PostPosted: Apr 09 2011 09:26 am Reply with quote Back to top

GPFontaine wrote:
As far as I am aware, the Style attribute is not available for any HTML on any tag in PHPBB2. If it were, I assure you I would have exploited the hell out of it.

Actually, wasn't that one of the tags you had me ban? Remember that thread where you put flowers and shit everywhere?
View user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
GPFontaine
Joined: Dec 06 2007
Location: Connecticut
PostPosted: Apr 09 2011 09:35 am Reply with quote Back to top

Syd Lexia wrote:
GPFontaine wrote:
As far as I am aware, the Style attribute is not available for any HTML on any tag in PHPBB2. If it were, I assure you I would have exploited the hell out of it.

Actually, wasn't that one of the tags you had me ban? Remember that thread where you put flowers and shit everywhere?

That was the full style tag.
Code:
<style></style>

Yeah... the RAWR page was fun.

I have not seen the style attribute available for any tags.



 
View user's profileSend private messageVisit poster's website
Mr. Satire
Title: No title necessary.
Joined: Jun 08 2010
Location: Termina Field
PostPosted: Apr 09 2011 09:49 am Reply with quote Back to top

GPFontaine wrote:
Yeah... the RAWR page was fun.

lol, just looked at that thread. Madness.
View user's profileSend private messageSend e-mailVisit poster's website
Blackout
Title: Captain Oblivious
Joined: Sep 01 2007
Location: That Rainy State
PostPosted: Apr 09 2011 04:11 pm Reply with quote Back to top




 
View user's profileSend private messageAIM AddressYahoo MessengerMSN Messenger
Derpalicious
Title: Fueled by Ramen
Joined: Apr 23 2011
Location: Cloud 297
PostPosted: Apr 29 2011 06:50 pm Reply with quote Back to top

I figure this would be as good a thread as any to ask, but, what's the html to use to embed video? Like in Blackout's post?


Image
 
View user's profileSend private message
Sehkmaenzo
Joined: Jun 29 2010
PostPosted: Apr 29 2011 07:57 pm Reply with quote Back to top

You can get the code at youtube, just click on the "embed" button.
Just make sure to choose "use old embed code", the forums don't support the new stuff Smile
View user's profileSend private message
GPFontaine
Joined: Dec 06 2007
Location: Connecticut
PostPosted: Apr 29 2011 08:58 pm Reply with quote Back to top

Indeed... most embed/object code works. However, sometimes you need to hack it if it gets too complicated.



 
View user's profileSend private messageVisit poster's website
Derpalicious
Title: Fueled by Ramen
Joined: Apr 23 2011
Location: Cloud 297
PostPosted: Apr 30 2011 09:51 pm Reply with quote Back to top

Thanks... I'll go test that out on an old post... Smile


Image
 
View user's profileSend private message
Display posts from previous:      
Reply to topic

 
 Jump to: