- centering a Div ?
- Posted by Piliger on July 29th, 2003
I am fairly illiterate when it comes to Divs and have created one to
put a table with an image in it.
Now I need to center the Div across the page so that it will be
centered on a 1024*768 page as well as an 800*600 page.
Is there a simple tag for this ?
This is the CSS for the Div:
background-color: #FFFFFF;
position: relative;
width: 735px;
margin: auto;
left: auto;
top: auto;
right: auto;
bottom: auto;
z-index: 1;
--
Piliger
- Posted by Richard Watson on July 29th, 2003
Piliger <never@home.com> writes:
Just put that div between:
<div style="width: 100%: text-align: center">
and
</div>
--
Richard Watson
http://www.opencolo.com/
High Value Colocation
- Posted by Piliger on July 29th, 2003
tinnedmeat@doilywood.org.uk wrote.::. >>
screen and inside that, center the table.. ?
I had thought there was a centering tag, but clearly not.
Tks.
--
Piliger
- Posted by Geoff Berrow on July 29th, 2003
Message-ID: <c22b95f37dffe425f0381fcd5a45a126@free.teranews.co m> from
Piliger contained the following:
Well there is <center></center> but I guess it's probably deprecated.
--
Geoff Berrow
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
- Posted by Piliger on July 29th, 2003
jim-usenet@jimdabell.com wrote.::. >>
I went to
http://www.stilleye.com/projects/dhtml/marginfix/
and am using the javascript solution
I'll check out the
alternatives tomorrow.
Muchos.
--
Piliger
- Posted by Richard Watson on July 29th, 2003
Jim Dabell <jim-usenet@jimdabell.com> writes:
Blimey, that's the first time I've been accused of suggesting IE only
stuff.
What was I drinking at the time?
--
Richard Watson
http://www.opencolo.com/
High Value Colocation


