collapse

* Navigation

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

Author Topic: Is there someone here good with using HTML code that could help me?  (Read 1077 times)

0 Members and 1 Guest are viewing this topic.

Offline bluerose9978

  • Arena Supporter
  • Trade Count: (+450)
  • G3 Rosey Pony
  • *****
  • Posts: 8893
  • Gender: Female
    • View Profile
    • http://www.angelfire.com/oh5/bluerose9978/MLP
With Photobucket changing its rules and deciding to go rogue, I decided to go to Flickr. It's great for hosting pictures that I can use here. But my problem is I'm not good at writing code and I can't figure out how to write the code with Flickr to make my auctions look nice again. Or if there is a better hosting site where I don't have to write code (like Photobucket used to be), please let me know!

Offline Duenia

  • Slaughterhouse II
  • Trade Count: (+15)
  • Lil Cupcake Sister Pony
  • ****
  • Posts: 960
  • Gender: Female
    • View Profile
Re: Is there someone here good with using HTML code that could help me?
« Reply #1 on: August 01, 2017, 07:46:09 AM »
What are you trying to accomplish exactly?

Just getting the HTML code to make an image appear? Or do you need formatting as well?

Your basic just get the image to show up would be this:
Code: [Select]
<img src="IMAGE-URL-HERE" />
« Last Edit: August 01, 2017, 07:48:58 AM by Duenia »

Offline bluerose9978

  • Arena Supporter
  • Trade Count: (+450)
  • G3 Rosey Pony
  • *****
  • Posts: 8893
  • Gender: Female
    • View Profile
    • http://www.angelfire.com/oh5/bluerose9978/MLP
Re: Is there someone here good with using HTML code that could help me?
« Reply #2 on: August 01, 2017, 07:52:12 AM »
What are you trying to accomplish exactly?

Just getting the HTML code to make an image appear? Or do you need formatting as well?

Your basic just get the image to show up would be this:
Code: [Select]
<img src="IMAGE-URL-HERE" />

Yes, just the image and have it centered. Everything I have tried hasn't worked.

Offline Duenia

  • Slaughterhouse II
  • Trade Count: (+15)
  • Lil Cupcake Sister Pony
  • ****
  • Posts: 960
  • Gender: Female
    • View Profile
Re: Is there someone here good with using HTML code that could help me?
« Reply #3 on: August 01, 2017, 07:59:18 AM »
To center your best bet would probably be

Code: [Select]
<img src="IMAGE-URL-HERE" style="margin:0 auto;display:inline-block;" />

But depending on the layout you're placing it into it may not always work. If it doesn't giving the image a width can sometimes make a difference.

Code: [Select]
<img src="IMAGE-URL-HERE" style="margin:0 auto;display:inline-block;width:400px;height:auto;" />

The 400px can be changed to whichever width you need.

Offline bluerose9978

  • Arena Supporter
  • Trade Count: (+450)
  • G3 Rosey Pony
  • *****
  • Posts: 8893
  • Gender: Female
    • View Profile
    • http://www.angelfire.com/oh5/bluerose9978/MLP
Re: Is there someone here good with using HTML code that could help me?
« Reply #4 on: August 01, 2017, 08:17:23 AM »
I'll give it a try in a couple minutes.

EDIT: It worked! Thanks so much! And such an easy code! I looked on the net and it was talking about a bunch of stuff I didn't understand...

As for centering it I just used what I have been using: <p align="center">
« Last Edit: August 01, 2017, 08:30:06 AM by bluerose9978 »

Offline Duenia

  • Slaughterhouse II
  • Trade Count: (+15)
  • Lil Cupcake Sister Pony
  • ****
  • Posts: 960
  • Gender: Female
    • View Profile
Re: Is there someone here good with using HTML code that could help me?
« Reply #5 on: August 01, 2017, 08:34:30 AM »
I'll give it a try in a couple minutes.

EDIT: It worked! Thanks so much! And such an easy code! I looked on the net and it was talking about a bunch of stuff I didn't understand...

As for centering it I just used what I have been using: <p align="center">

Heads up on that one. It may fail at some point. It's deprecated code (meaning it's no longer considered a standard) and support for it is not required.

Offline heathersmoo

  • Trade Count: (+12)
  • Prom Queen Sweetheart Sister Pony
  • ***
  • Posts: 266
  • Gender: Female
  • Send the Goddess of Smoo your unwanted keychains!
    • View Profile
    • SEND ME A KEYCHAIN!
Re: Is there someone here good with using HTML code that could help me?
« Reply #6 on: August 01, 2017, 09:10:11 AM »
And Duenia saves the day!   :newpony: :joy: :cheer: :dance: :party: :green: :hearts: :grouphug: :newpony:

Offline bluerose9978

  • Arena Supporter
  • Trade Count: (+450)
  • G3 Rosey Pony
  • *****
  • Posts: 8893
  • Gender: Female
    • View Profile
    • http://www.angelfire.com/oh5/bluerose9978/MLP
Re: Is there someone here good with using HTML code that could help me?
« Reply #7 on: August 01, 2017, 09:17:38 AM »
I'll give it a try in a couple minutes.

EDIT: It worked! Thanks so much! And such an easy code! I looked on the net and it was talking about a bunch of stuff I didn't understand...

As for centering it I just used what I have been using: <p align="center">

Heads up on that one. It may fail at some point. It's deprecated code (meaning it's no longer considered a standard) and support for it is not required.

Gotcha. Well, when that day comes, I may need help again. I'm sure a lot of the code I use right now isn't supported much anymore and may fail in the future and I will need help again. Gotta love changing times. Thankfully eBay supports it for now.

Offline Duenia

  • Slaughterhouse II
  • Trade Count: (+15)
  • Lil Cupcake Sister Pony
  • ****
  • Posts: 960
  • Gender: Female
    • View Profile
Re: Is there someone here good with using HTML code that could help me?
« Reply #8 on: August 02, 2017, 07:13:14 AM »
I'll give it a try in a couple minutes.

EDIT: It worked! Thanks so much! And such an easy code! I looked on the net and it was talking about a bunch of stuff I didn't understand...

As for centering it I just used what I have been using: <p align="center">

Heads up on that one. It may fail at some point. It's deprecated code (meaning it's no longer considered a standard) and support for it is not required.

Gotcha. Well, when that day comes, I may need help again. I'm sure a lot of the code I use right now isn't supported much anymore and may fail in the future and I will need help again. Gotta love changing times. Thankfully eBay supports it for now.

It's not a matter of whether or not eBay supports it. It's a matter of whether the user's browser supports it (think Internet Explorer, Google Chrome, Firefox etc...). I believe it's still in there for legacy support - but it could also disappear at any time so it may appear correctly for some people viewing your listing - but for others it would appear as if you had never aligned it.

It's one of those things where you have to weigh consistency for your users vs effort you'd like to put in because each browser interprets code differently. That's why occasionally you'll see some sites specify something along the lines of "Please view this website in Firefox (or Chrome)". It just means the site was not built to support IE so you're likely to experience issues.

Offline bluerose9978

  • Arena Supporter
  • Trade Count: (+450)
  • G3 Rosey Pony
  • *****
  • Posts: 8893
  • Gender: Female
    • View Profile
    • http://www.angelfire.com/oh5/bluerose9978/MLP
Re: Is there someone here good with using HTML code that could help me?
« Reply #9 on: August 02, 2017, 07:29:55 AM »
Thanks for the info. But even if the pictures aren't centered it'll look OK just a little strange. So it's not a huge biggie. I actually thought of using 3 pictures in a row so I wouldn't have to center them and I may do that in the future.

Offline Duenia

  • Slaughterhouse II
  • Trade Count: (+15)
  • Lil Cupcake Sister Pony
  • ****
  • Posts: 960
  • Gender: Female
    • View Profile
Re: Is there someone here good with using HTML code that could help me?
« Reply #10 on: August 02, 2017, 07:57:38 AM »
No problem :)

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal