This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > Align table top





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Align table top
Chris J

2004-02-20, 11:30 am

I can't find anyway to have a table align to the exact top of the page.
any suggestions?
thanks,
cj


Chris J

2004-02-20, 3:28 pm

Murray,
Thanks, that was it.
cj
"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:c1577u$r6m$1@forums.macromedia.com...
> Link to an external stylesheet (using DW's CSS editor), or embed a
> stylesheet in your code (between <head> and </head> ) with the following
> style in it (embedded shown for cut-n-paste convenience) (assuming you

want
> zero margins) -
>
> <style type="text/css">
> <!--
> body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px;

margin-left:
> 0px; padding:0px; }
> -->
> </style>
>
> you could also try
>
> body { margin : 0px 0px 0px 0px; padding:0px; }
>
> or
>
> body { margin : 0px; padding:0px; }
>
> as a shorthand method.
>
> This will take care of the margins in IE4+ and NN6. To take care of NN4x,
> you will need to use MODIFY | Page Properties... and set the two right

hand
> margin fields (marginwidth and marginheight) to 0 (DMX and below).
>
> Since you are still using inline margin specs in the body tag, this method
> won't validate (and is not easy to do in DMX2004). To get completely

valid
> code that works for all
> browsers in any version of DW, change your stylesheet as shown below -
>
> body {
> padding: 0;
> margin: -10px 0 0 -10px;
> /*/*/margin: 0 0 0 0; /* */
> }
>
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver MX
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
> ANSWERS
> ==================
> 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
> ==================
>
> "Chris J" <joker@renderforge.com> wrote in message
> news:c1571h$qt4$1@forums.macromedia.com...
>
>



Murray *TMM*

2004-02-20, 3:28 pm

You're welcome!

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

"Chris J" <joker@renderforge.com> wrote in message
news:c15jtt$hi7$1@forums.macromedia.com...
> Murray,
> Thanks, that was it.
> cj
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:c1577u$r6m$1@forums.macromedia.com...
> want
> margin-left:
NN4x,[color=darkred]
> hand
method[color=darkred]
> valid
GET[color=darkred]
page.[color=darkred]
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews