Forums
This topic is locked
Centering text over a table
31 Oct 2006 03:20:03 josh Wood posted:
Hi thereI am currently using DWMX and designing a site at:
www.skookumservices.ca/
I decided to go with the use of table and centering so that the page can be easily viewed on all resolutions. But now I am stuck as to how to place texting and imaging over the window ( window as seen at www.skookumservices.ca/home.htm)
I have been doing research and adding a layer does not seem the way to go. Because as I change the resolution on my monitor it moves around. You cannot center it to the page, if I am not mistaken.
any feedback is greatly appreciated.
josh
Replies
Replied 03 Nov 2006 18:37:25
03 Nov 2006 18:37:25 Alan C replied:
your homepage source has about 9 levels of blockquotes in it, you don't need them.
Using css you could put that image in as a background image, centred, then define a css class that had a top margin sufficient to place the text just where you want it. With CSS there are as many ways to do what you want as skinning a cat.
I would ditch the layout table and go CSS, or combine the two. I put together a quick guide to centring content for one of my customers it's here. This is <b>one way</b> of doing it, there are many more.
alanchard.com/guides/css_centre.htm apologies if you think that is blatant advertising, but it's not.
Another site that I am currently working on has a css fluid design, this is at an early stage and will have 'proper' navigation added soon, it's there now so that the search engines can pick it up ready for when the bulk content goes in.
canadalifeandliving.com/pages/index.htm
try picking up the right-hand side of the window and moving it about and watch the text reflow.
There are CSS sites about that will give you the styles for multiple columns etc. Working with CSS is a big investment in terms of time needed to learn it, and I find it more tricky to get things just where I want them, but, that's the way the web is going. We might as well get used to it.
Using css you could put that image in as a background image, centred, then define a css class that had a top margin sufficient to place the text just where you want it. With CSS there are as many ways to do what you want as skinning a cat.
I would ditch the layout table and go CSS, or combine the two. I put together a quick guide to centring content for one of my customers it's here. This is <b>one way</b> of doing it, there are many more.
alanchard.com/guides/css_centre.htm apologies if you think that is blatant advertising, but it's not.
Another site that I am currently working on has a css fluid design, this is at an early stage and will have 'proper' navigation added soon, it's there now so that the search engines can pick it up ready for when the bulk content goes in.
canadalifeandliving.com/pages/index.htm
try picking up the right-hand side of the window and moving it about and watch the text reflow.
There are CSS sites about that will give you the styles for multiple columns etc. Working with CSS is a big investment in terms of time needed to learn it, and I find it more tricky to get things just where I want them, but, that's the way the web is going. We might as well get used to it.
Replied 03 Nov 2006 22:33:21
03 Nov 2006 22:33:21 josh Wood replied:
thanks a lot for your help