bluewisp16 Posted December 26, 2011 Posted December 26, 2011 I have some images that I want to center in my pets homepage, but I can only find a code to center the background not just random images. All help is greatly appreciated. Thanks! Quote
Xepha Posted December 26, 2011 Posted December 26, 2011 <style> .mycenter {text-align: center;} </style> <p class="mycenter"><img src="someurl.jpg"></p> That's how I've been doing it for some time now. :) Yay for CSS! Quote
bluewisp16 Posted December 26, 2011 Author Posted December 26, 2011 Hmm. I tried that and this is what it said: Hang On! There's a new rule! You can only embed src files that end in: .jpg .jpeg .gif .bmp .png .midi .wav .mp3 .mid You cannot use any variation of the <src=somelink> tags to embed files that end in -blocked- from this url: -blocked- You may not have used the 'img src' tag, but this applies to all tags that have 'src' in it, such as 'background src'. Quote
Xepha Posted December 26, 2011 Posted December 26, 2011 What's the URL of the image you are trying to display? Quote
bluewisp16 Posted December 26, 2011 Author Posted December 26, 2011 This is what it looks like: <img src="http://api.photoshop.com/v1.0/accounts/5636aa017cf54494923a58dd6e56367b/assets/98db6ce30ce942c39ec37a41d191e996/renditions/1024.jpg?md=1324920820000"> The image shows up fine when I just use that. Quote
Xepha Posted December 26, 2011 Posted December 26, 2011 If you link me to your album, I can get you the right link. But other wise, you should use the "direct link" one, I think. Quote
bluewisp16 Posted December 27, 2011 Author Posted December 27, 2011 Thanks for your help! I think I'll fiddle around with it for a bit and see what happens. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.