![]() |
|
|
|||
|
Centring an element on a web page
Hopefully a simple solution.
I'm placing a Flash element (it could be anything really like an image) on a page. How do I get it to centre absolutely? Not just aligned to the top but within the space available so it's equidistant from all edges. Whatever way I do it it just anchors itself to the top of the browser window. Thanks |
|
|||
|
Re: Centring an element on a web page
Example here:
http://alt-web.com/vertical-center.html View page source to see the CSS & HTML code. --Nancy O. Alt-Web Design & Publishing www.alt-web.com "Garry Bradley" <garry.bradley@btinternet.com> wrote in message news:C4AE2BD0.887E%garry.bradley@btinternet.com... > Hopefully a simple solution. > > I'm placing a Flash element (it could be anything really like an image) on a > page. How do I get it to centre absolutely? Not just aligned to the top but > within the space available so it's equidistant from all edges. > > Whatever way I do it it just anchors itself to the top of the browser > window. > > Thanks > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|