| Topic: |
DEVELOP > Dreamweaver |
| User: |
"Gaz-uk" |
| Date: |
17 Feb 2005 10:45:18 AM |
| Object: |
CSS Centre Horizontal and Vertical |
How can i, using CSS position a box both horizontally and vertically in the
centre of the page, always when browser is resized the box still appears in
center of page. Size of box will be 600 x 400 px with a 1 pixel border. Thanks
.
|
|
| User: "spdorsey" |
|
| Title: Re: CSS Centre Horizontal and Vertical |
17 Feb 2005 11:06:01 AM |
|
|
Here's an example - use it all you want. Link is below. the page is still
under construction, but the H and V centering is done and working in all
browsers except MSIE Mac OSX (but who cares about that browser anyway). Also,
I probably won't reply to this post - I never come to these forums, I just saw
that you posted a question I may be able to help with. Best of luck,
-----------------Steve http://www.deepa.com/stage/index.html
.
|
|
|
| User: "jojo" |
|
| Title: Re: CSS Centre Horizontal and Vertical |
17 Feb 2005 11:49:32 AM |
|
|
spdorsey wrote:
I never come to these forums, I just saw
You do sometimes!
--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------
.
|
|
|
|
|
| User: ".....hG" |
|
| Title: Re: CSS Centre Horizontal and Vertical |
17 Feb 2005 10:55:59 AM |
|
|
I think there is still issues with what you are trying to do. you can do it
but it is not supported by all browsers and such.
Have you considered making a table? it should take you less than a minute
that way.
Disclamer:
Before I get the pure CSS and web standards speech, I am just ofering a
suggestion like everyone else is :).
--
....hG
http://www.helmutgranda.com
"Gaz-uk" <webforumsuser@macromedia.com> wrote in message
news:cv2hmu$gpk$1@forums.macromedia.com...
: How can i, using CSS position a box both horizontally and vertically in
the
: centre of the page, always when browser is resized the box still appears
in
: center of page. Size of box will be 600 x 400 px with a 1 pixel border.
Thanks
:
.
|
|
|
| User: "Murray *TMM*" |
|
| Title: Re: CSS Centre Horizontal and Vertical |
17 Feb 2005 12:50:02 PM |
|
|
The table method will fail on pages with valid and complete doctypes,
though....
The only way to REALLY do this is to use frames.
Now see what you made me do? I feel so dirty....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
".....hG" <forums@helmutgranda.com> wrote in message
news:cv2iap$hot$1@forums.macromedia.com...
I think there is still issues with what you are trying to do. you can do it
but it is not supported by all browsers and such.
Have you considered making a table? it should take you less than a minute
that way.
Disclamer:
Before I get the pure CSS and web standards speech, I am just ofering a
suggestion like everyone else is :).
--
...hG
http://www.helmutgranda.com
"Gaz-uk" <webforumsuser@macromedia.com> wrote in message
news:cv2hmu$gpk$1@forums.macromedia.com...
: How can i, using CSS position a box both horizontally and vertically in
the
: centre of the page, always when browser is resized the box still appears
in
: center of page. Size of box will be 600 x 400 px with a 1 pixel border.
Thanks
:
.
|
|
|
|
|

|
Related Articles |
|
|