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 > not entered properly?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
not entered properly?

Réponse
 
LinkBack Outils de la discussion
Vieux 10/06/2008, 18h30   #1
future-architect
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut not entered properly?

http://walkfortheglory.com/test
for this table, how come the content in the right is not at the top of the table? how would i get it to stay like that?
  Réponse avec citation
Vieux 10/06/2008, 18h38   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

How come? Because the default vertical alignment in a table cell is middle.
You can simple give that cell a vertical alignment of "top" using the
Property inspector and that's all you need.

--
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
==================


"future-architect" <webforumsuser@macromedia.com> wrote in message
news:g2mdnv$jkt$1@forums.macromedia.com...
> http://walkfortheglory.com/test
> for this table, how come the content in the right is not at the top of the
> table? how would i get it to stay like that?


  Réponse avec citation
Vieux 10/06/2008, 18h48   #3
Virginia Carter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

<td width="60%" valign="top" bgcolor="#FF0000" scope="col"><h1
align="center"><u><br />Homepage</u></h1>

You have "<br />" before "Homepage" which will cause extra space, AND
<h1> has an inherent margin that will also add more space.

You could add this to your css rules:

h1 {margin: 0px;}

And remove that <br /> tag.

future-architect wrote:
> http://walkfortheglory.com/test
> for this table, how come the content in the right is not at the top of the table? how would i get it to stay like that?

  Réponse avec citation
Vieux 10/06/2008, 20h48   #4
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

..oO(Virginia Carter)

><td width="60%" valign="top" bgcolor="#FF0000" scope="col"><h1
>align="center"><u><br />Homepage</u></h1>
>
>You have "<br />" before "Homepage" which will cause extra space, AND
><h1> has an inherent margin that will also add more space.
>
>You could add this to your css rules:
>
>h1 {margin: 0px;}
>
>And remove that <br /> tag.


And the 'u' element. It's a _really_ bad idea to underline anything that
is not a link. It's also bad to not underline links in the normal text.
Just having a different color is not enough for many people to easily
spot the links. Links want to be underlined.

Guidelines for Visualizing Links
http://www.useit.com/alertbox/20040510.html

It would also be a good idea to validate the HTML and fix the errors.

Micha
  Réponse avec citation
Vieux 10/06/2008, 21h14   #5
future-architect
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

ok. thnx. one question: "It would also be a good idea to validate the HTML and fix the errors.". what do you mean by this?
  Réponse avec citation
Vieux 10/06/2008, 21h24   #6
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

..oO(future-architect)

>ok. thnx. one question: "It would also be a good idea to validate the
>HTML and fix the errors.". what do you mean by this?


Your HTML has a lot of structural errors. Use the W3 validator to check:

http://validator.w3.org/check?uri=ht...glory.com/test

Additionally it's not clear whether you want to use HTML or XHTML. Your
current code is a mix of both.

Micha
  Réponse avec citation
Vieux 10/06/2008, 21h43   #7
future-architect
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

wow. ok. so what is the difference between html and xhtml? and are these errors going to affect the way that people view my site? will they view it differently from others?
  Réponse avec citation
Vieux 11/06/2008, 01h17   #8
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

XHTML has a stricter syntax than HTML does. Will mixing the two interfere
with the way your page displays? Probably not. Is it the mark of
non-professionalism? It is, in my opinion. But fixing the issue is very
simple, so why not?

--
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
==================


"future-architect" <webforumsuser@macromedia.com> wrote in message
news:g2mp1s$2m2$1@forums.macromedia.com...
> wow. ok. so what is the difference between html and xhtml? and are these
> errors going to affect the way that people view my site? will they view it
> differently from others?


  Réponse avec citation
Vieux 11/06/2008, 02h24   #9
future-architect
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

ok. so how would i fix it? and how did you find this?
  Réponse avec citation
Vieux 11/06/2008, 03h47   #10
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

Open the page and use FILE | Convert > HTML 4.01 Transitional

Just rummage around the menus....

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"future-architect" <webforumsuser@macromedia.com> wrote in message
news:g2n9g7$j4a$1@forums.macromedia.com...
> ok. so how would i fix it? and how did you find this?


  Réponse avec citation
Vieux 11/06/2008, 14h37   #11
future-architect
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

ok. so when i do the conversion, would it change anything besides the code,
like the looks, or any of the actions? will everything still look the same? and
what does this do, and why would i want to do this?

  Réponse avec citation
Vieux 11/06/2008, 14h46   #12
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

> will everything still look the same?

It should.

> and what does this do


It brings the code on the page and the doctype into agreement.

> and why would i want to do this?


So your page will validate. As a developer, knowing that you always produce
pages that validate gives you a very powerful tool to debug layout issues on
your pages. Your first stop would be at the validator to see if it finds
anything unusual....


--
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
==================


"future-architect" <webforumsuser@macromedia.com> wrote in message
news:g2okf6$4ui$1@forums.macromedia.com...
> ok. so when i do the conversion, would it change anything besides the
> code,
> like the looks, or any of the actions? will everything still look the
> same? and
> what does this do, and why would i want to do this?
>


  Réponse avec citation
Vieux 11/06/2008, 17h01   #13
Gary White
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not entered properly?

On Wed, 11 Jun 2008 13:37:42 +0000 (UTC), "future-architect"
<webforumsuser@macromedia.com> wrote:

>what does this do, and why would i want to do this?


To expand on Murray's comments, web standards set forth a manner in
which a browser should render specific coding. If the code in your
page is not valid, there is no defined manner in which it should be
rendered. That means it is up to the browser to interpret the invalid
code. Different browsers often make different choices in how to do
that. That means you are much more likely to achieve consistent
rendering across different browsers if you have valid code.

Gary
  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 19h47.


É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,15318 seconds with 21 queries