Jump to content

petpage help please


pang

Recommended Posts

I am totally new to the html thing, although I have some experience with other kind of coding.

 

The thing is I couldn't do some kind of very basic code, and it is driving me crazy. (I do not want to just copy people template, I want to work everything from scratch.)

 

The problem is

 

background color

So I try <body bgcolor="#FF0000">

and the color won't come. I tried #FF0000 "FF0000" FF0000 "red" and nothing work! When I click the view page, no color come. And when I click save, the code just disappear.

 

Same thing happen with <table bgcolor="#FF0000">

 

 

Table align

I tried to get my table to the middle of the page

The code is <table align="center"> Also not work and disappearing.

Although I can do the <p align="center">

 

Please tell me what I am doing wrong. All the guide I read say this is the correct way, but it just won't work.

Link to comment
Share on other sites

Neopets can be a bit testy when it comes to code. FIrst off for your color issue you probably need to type background out so that it looks like this:

 

<body background-color="name">

 

and if that one doesn't work, try this one:

 

<body style="background-color:lightgrey">

 

I mostly use CSS to style things and position, rather then HTML for everything. It may be beneficial to you to take a look at W3schools. That might help solve your problem. Also there's not really much we can do without the complete UL code posted. When/if you post your code use the <> button in the text editor when making your post and paste the code that way.

Link to comment
Share on other sites

Thank you. I will try that. To tell the truth, I don't really want to go into CSS now, since my HTML knowledge is not that solid. Guess I will look into it before doing anything else.

 

Edit : Nope. Not work. I will readup the CSS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...