Moving things on my site?

They have: 22 posts

Joined: Nov 2001

I have a poll and a link to my guestbook along with some other things on one side of my site, however there aligned to the left and i want them centered but i cant do it. I have tried everything. If you dont understand what i mean visit my site and look to the right below the big picture and you'll see what i mean. The URL is:
http://sclub7capital.cjb.net/

I really need help with this!

Please visit my site, leave your comments!

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Alright, I looked at your code. What a mess! What are you using to build your sites? All you have to do here is put align=center in the tag of the cell that is holding the poll. If you're using some sort of WYSIWYG to do your site you'll have to tell us which one before we can give you any more help. Is that tripod's online page builder or something? I'll check it out later if I get a chance.

If you want to have ultimate control over the layout of your pages you really ought to learn HTML.

They have: 22 posts

Joined: Nov 2001

Ok i tried changing the HTML myself by changing it to align=centre but it just stayed the same. Between what tags do i do it, there are loads of them! Here is the HTML code i have at the moment for my poll, its VERY long:

S Club 7 Capital Poll Who is your favourite member of S Club 7? Jon Rachel Bradley Hannah Jo Paul Tina Current results Free Web Polls

Now what do i change im really confused about HTML.
Im using Tripod to build my site.

Please visit my site, leave your comments!

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

HTML is really easy to learn. Try looking for tutorials at http://www.htmlgoodies.com http://www.webmonkey.com http://www.w3schools.com - there are tons out there.

Try putting align=center in that first tag - I think that should do the trick. That code really is a big mess.

They have: 22 posts

Joined: Nov 2001

God i cant do anything right! When you sign up for polls and stuff why do they give you a huge code then!
I am trying to learn HTML but i cant get the grip of it Sad

Please visit my site, leave your comments!

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

I took a look at your code, you should try putting the align="center" here (I'll copy a big chunk of code for you so it will be easy to locate):

<img alt="Sunshine" align="" border="" src="http://sclub717.tripod.com//sitebuildercontent/sitebuilderpictures/sunshine_cover_better.jpg" width="130"></div></p></td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td><td width="10"><img alt="" height="30" width="10" src="/imagelib/sitebuilder/layout/spacer.gif"></td><strong><td bgcolor="#000000" width="288"></strong>
                                            <table border="0" cellspacing="0" cellpadding="5">
                                                <tr valign="middle">
'

The line that looks like this:

needs to be changed to: align="center" width="288">

Good luck!

Brian

They have: 22 posts

Joined: Nov 2001

Isn't that the wrong code? I think you have looked at the wrong HTML code om my site, the one i want to change is above on my last post.

Thank you for helping though Smiling

Please visit my site, leave your comments!

openmind's picture

He has: 945 posts

Joined: Aug 2001

Cute_chic,

check out the HTML sites in the programming section of my site. Loads of templates and guides to help you learn HTML...Link is in the sig..

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

I thought you were asking how to move the poll into the center of that black column (below the picture). If so, that should be the correct code. The code I quoted is the current code you have- as I said, I think you need to change the code that looks like this:

to:

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

YOu could do it either way actually. You could center the table cell that is holding the poll as Brian showed you, or you could center the poll table as I showed you - both should have the same result.

Busy's picture

He has: 6,151 posts

Joined: May 2001

align="center" in the tag will align the table only to the center, align="center" in the , or tags will align the contents only

They have: 22 posts

Joined: Nov 2001

Ok well when i go to edit my poll code, it doesnt have the bit you were pointing out to me

I cant find that in my code?

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Yes, but if she's just trying to center that poll she could do it either way and it would work.

That code is probably right before the poll code.

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

Quote: Originally posted by cute_chic51
Ok well when i go to edit my poll code, it doesnt have the bit you were pointing out to me

I cant find that in my code?

Hi, I updated my post above that posted a snippet of your code to bold the appropriate part that you need to update. Take a look, hopefully that will help.

Brian

They have: 22 posts

Joined: Nov 2001

Thanks for highlighting the text, i know what bit to edit, its just just that when i go in to change the HTML code for my poll i dont get that code! Where did you get the one above from? I think thats the code for another picture on my site?

Please visit my site, leave your comments!

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

If ever there was a case for tidy code, yours is it -- you can't find things because the code seems incomprehensible. Use more white space, add hard returns to the code (except within cells that have to be a certain size like in some complex layouts) so you can read it.

Turn:

S Club 7Please take some time out to answer my poll below, thanks! align=center S Club 7 Capital Poll

into:

align="center">


S Club 7


Please take some time out to answer my poll below, thanks!

align=center
S Club 7 Capital Poll

And you can see the bold & italic piece is what you should add and the bold bits are things that are wrong or not necessary.

If you organize your code, and use something like htmlvalidator.com you stand a lot better chance of finding things right away, learning HTML enough to not spend days trying to center something, et cetera.

It's worth it! Really!

Smiling Suzanne

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

If you open the page in a text program and then do a search for "poll", you will see that code a little bit above it.

Brian

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.