Coding help - why isn't this centered?

11 posts / 0 new
Last post
Nina
Nina's picture
Offline
Last seen: 13 years 1 month ago
Joined: 23/02/2010 - 10:16am
Coding help - why isn't this centered?
I'm pretty confused... I added my page numbers mini-banner yesterday (I was in the Fountain Mall before it fell apart, so I didn't "steal" it :P) and when I look at my shop in the marketplace, it's not centered and makes my shop look disorganized. Take a look - my username's i_hate_backstabbers. http://www.neopets.com/market.phtml?type=list&limit=280 Of course, I do have right before the code for it, and when you click to go into my shop, it is centered as it should be. I thought it might've been the hut I was in, so I went up to the next hut, and it's still happening. I've had the banner in my shop before and never had this problem... What's the deal with it?? Haha. Any help would be appreciated!
Nina
Nina's picture
Offline
Last seen: 13 years 1 month ago
Joined: 23/02/2010 - 10:16am
Whoops, I guess the center html didn't go through! I meant to say that of course, I do have < center > right before it...
saudor
saudor's picture
Offline
Last seen: 1 day 6 hours ago
Joined: 10/06/2007 - 12:30pm
try wrapping that piece of code in a center tag of its own. But i wouldnt worry. It only matters on firefox/good browsers. Most people use IE and the marketplace looks absolutely horrendous in it (everything is compressed into a half column and squished to the left) At least in Internet Explorer 6 (which is default for Windows XP) ----------------------------- [color=purple]Contrary to popular belief, The Irish and I are not married[/color]
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more
mayarend
mayarend's picture
Offline
Last seen: 12 years 1 month ago
Joined: 05/06/2009 - 5:50pm
~ May ~ Looks just fine in my browser (Google Chrome) so I'm guessing it might be the issue Dmitri is talking about, on IE 6?
~ May ~
Soldier
Soldier's picture
Offline
Last seen: 13 years 6 months ago
Joined: 01/08/2009 - 7:47am
After the Number banner.. in put < br > then it should be centered..
______________________________________ [color=#303030]Get protection from Cookie Grabbers: /~Punchback_bob [/color]
Nina
Nina's picture
Offline
Last seen: 13 years 1 month ago
Joined: 23/02/2010 - 10:16am
Coooool, thanks so much guys! It didn't occur to me that it might be a browser issue! You're right, Dmitri. On Safari it's shifted, while on Firefox it's centered. I can only imagine what it's like on IE, haha, haven't used that in ages! Thanks again for solving the puzzle for me :). Edit: Yay, Soldier, that worked!! Now it's perfect in all browsers. Weird that all that was needed was a space. Much appreciated :).
Soldier
Soldier's picture
Offline
Last seen: 13 years 6 months ago
Joined: 01/08/2009 - 7:47am
[quote=Nina]Coooool, thanks so much guys! It didn't occur to me that it might be a browser issue! You're right, Dmitri. On Safari it's shifted, while on Firefox it's centered. I can only imagine what it's like on IE, haha, haven't used that in ages! Thanks again for solving the puzzle for me :). Edit: Yay, Soldier, that worked!! Now it's perfect in all browsers. Weird that all that was needed was a space. Much appreciated :).[/quote] Hahaha. Your welcome, I can just tell what code needs to be where :)
______________________________________ [color=#303030]Get protection from Cookie Grabbers: /~Punchback_bob [/color]
Nina
Nina's picture
Offline
Last seen: 13 years 1 month ago
Joined: 23/02/2010 - 10:16am
[quote=Soldier][quote=Nina]Coooool, thanks so much guys! It didn't occur to me that it might be a browser issue! You're right, Dmitri. On Safari it's shifted, while on Firefox it's centered. I can only imagine what it's like on IE, haha, haven't used that in ages! Thanks again for solving the puzzle for me :). Edit: Yay, Soldier, that worked!! Now it's perfect in all browsers. Weird that all that was needed was a space. Much appreciated :).[/quote] Hahaha. Your welcome, I can just tell what code needs to be where :)[/quote] It's quite a talent. I almost failed programming class in high school sooooo without people like you guys I would be a goner, haha (A).
zixianna
zixianna's picture
Offline
Last seen: 3 months 1 week ago
Joined: 26/03/2010 - 7:44pm
Neo does a lot of screwy things with your HTML as well anyway. Like, NB ads are all in their own little iFrames, so you can do lots of stuff there. But in your hut, everything is in one page, AND tables apparently aren't supported, and CSS, gah! There's little 'work arounds' like this for lots of NeoPets pages, yay!
Soldier
Soldier's picture
Offline
Last seen: 13 years 6 months ago
Joined: 01/08/2009 - 7:47am
[quote=zixianna]Neo does a lot of screwy things with your HTML as well anyway. Like, NB ads are all in their own little iFrames, so you can do lots of stuff there. But in your hut, everything is in one page, AND tables apparently aren't supported, and CSS, gah! There's little 'work arounds' like this for lots of NeoPets pages, yay![/quote] I HATE the CSS block filter. Why can't they just block the Java script/cookie grabber/fake login codes??
______________________________________ [color=#303030]Get protection from Cookie Grabbers: /~Punchback_bob [/color]
saudor
saudor's picture
Offline
Last seen: 1 day 6 hours ago
Joined: 10/06/2007 - 12:30pm
Because it is possible to embed such things into a css file and cause it to act stupid on stupid browsers (i.e. I.E) ----------------------------- [color=purple]Contrary to popular belief, The Irish and I are not married[/color]
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more