|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
<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? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
..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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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?
|
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
..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 |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
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?
|
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
ok. so how would i fix it? and how did you find this?
|
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
> 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? > |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|