Forum Moderators: open

Message Too Old, No Replies

Table positioning using Div

Help required.

         

pluckerman

6:30 pm on Jul 11, 2009 (gmt 0)

10+ Year Member



Hi all,

I am having terrible problems positioning a Table (which I am using for a photo slideshow) exactly where I want it.

I've messed around using Div (relative and absolute) to try and get my slideshow where I need it to be, but it always aligns itself on the left hand side of my web page.

I cannot use <CENTER> because I am also using a HTML template to place my slideshow onto, and the table fitting directly in the middle of the page does not work for me at all, as it obstructs other elements of the website.

I hope this all makes sense. I'm a novice with HTML, therefore I also have problems explaining my dilemmas as well as fixing them.

Thanks!

tedster

4:14 am on Jul 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello pluckerman, and welcome to the forums.

One approach to centering an element is to give it a width and then set both the right and left margins to auto.

I'm also not sure you need both a div and a table - that might be making things too complicated.