This is a discussion on "how to center webpage" within the Web Page Design section. This forum, and the thread "how to center webpage are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
how to center webpage
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
how to center webpage
I don't know much about html, but finally I managed to do it a little bit,
now I still need to center my page in webbrowser the code is:
thanx |
|
|
|
||||
|
Re: how to center webpage
Have a look here: http://creativecoding.webforumz.com/...august/faq/#q2 - How to center your website horizontally. The way that you are using just now will work but wont validate.
|
|
|||
|
Re: how to center webpage
i tried with the div, but still no result, I think the content is badly configurated
|
|
|||
|
Re: how to center webpage
Help ???
|
|
|||
|
Re: how to center webpage
To elaborate on what Marc said: Use css instead of tables by styling divs. For example, you can make two columns like this:
Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: how to center webpage
Center a Website in FrontPage offers basic solution if you need to still rely on tables. You have
|
|
|||
|
Re: how to center webpage
So, what Corey is saying is to put your code like this:
Last Blog Entry: First Post! (Apr 18th, 2008)
|
|
|||
|
Re: how to center webpage
or like this..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: how to center webpage
Which brower you are using?
Last edited by Daniel; Dec 30th, 2007 at 14:17. Reason: No sig until you have 10 posts. |
|
|||
|
Re: how to center webpage
Firefox!
It worked in IE 7 as well!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: how to center webpage
try this:
|
|
|||
|
Re: how to center webpage
I've posted that earlier rrrrutdk!
Does all this thread solved any of your problem?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: how to center webpage
Quote:
|
|
|||
|
Re: how to center webpage
Oh yeah.. I forgot the {text-align: center;} things!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: how to center webpage
Quote:
It will work in IE6 and IE7, providing they are rendering in standards compliant mode. { text-align: center } is only necessary for IE5 (which is dead). |
|
||||
|
Re: how to center webpage
Would you say it is neccessary to code for IE5 now-a-days?
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry Got a Question for Ryan Carson and his Web Design/Development team Carsonified? Jack Franklin - My Blog (It's a Pen in My Mouth BTW)
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
|||
|
Re: how to center webpage
No. In my opinion, it's a complete waste of time. IE5 is dead.
So nowadays, the { text-align: center } hack is unnecessary. |