PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > DW8 and IE8 Beta 1
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
DW8 and IE8 Beta 1

Réponse
 
LinkBack Outils de la discussion
Vieux 15/06/2008, 13h42   #1
ukracer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut DW8 and IE8 Beta 1

Can anybody advise me how to make the body tag centre the page in IE8? The
attached code works fine in IE7 and Firefox but displays left aligned in IE8!


Many thanks for any assistance that can be offered

<div align="center">
<table width="700" border="0" cellpadding="0" cellspacing="0">

  Réponse avec citation
Vieux 15/06/2008, 14h08   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW8 and IE8 Beta 1

This would be the wrong way to center anything on the page, really.

The best way would be to use CSS -

<div style="width:700px;margin:0 auto;">
<table style="width:700pxadding:0;border:collapse;" cellspacing="0">

(inline shown for clarity)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ukracer" <webforumsuser@macromedia.com> wrote in message
news:g332nj$qae$1@forums.macromedia.com...
> Can anybody advise me how to make the body tag centre the page in IE8? The
> attached code works fine in IE7 and Firefox but displays left aligned in
> IE8!
>
>
> Many thanks for any assistance that can be offered
>
> <div align="center">
> <table width="700" border="0" cellpadding="0" cellspacing="0">
>


  Réponse avec citation
Vieux 15/06/2008, 15h40   #3
(_seb_)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DW8 and IE8 Beta 1

ukracer wrote:
> Can anybody advise me how to make the body tag centre the page in IE8? The
> attached code works fine in IE7 and Firefox but displays left aligned in IE8!
>
>
> Many thanks for any assistance that can be offered
>
> <div align="center">
> <table width="700" border="0" cellpadding="0" cellspacing="0">
>


you don't need a div to cnter a table!

<table align="center" width="700" border="0" cellpadding="0" cellspacing="0">

works in all browsers

--
seb (@webtrans1.com)

high-end web design: http://webtrans1.com

Sign-up for a free beta test of SiteLander, an ingenious website-builder:
http://webtrans1.com/sitelander/

music: http://myspace.com/popmodelberlin
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h10.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09439 seconds with 11 queries