HighDots Forums  

Newbie Table Help Please

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Newbie Table Help Please in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The Truth Provider. . .
 
Posts: n/a

Default Newbie Table Help Please - 06-05-2004 , 08:26 AM






Hi Everyone,

Can anyone tell me what "code" I have to use/insert to have my table be
aligned exactly at the top of a page or also aligned exactly to the left of
a page. Hopefully I am explaining this properly. Its just that when I
insert a table - there is always a "gap" and I cant "place" the table
precisely where I want it. Its very frustrating!

I am using DW 4 with Win XP pro.

Thanks and best regards
Andy



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Newbie Table Help Please - 06-05-2004 , 08:37 AM






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

"The Truth Provider. . ." <septichater (AT) predictorofdoom (DOT) co.uk> wrote in
message news:c9se6f$msn$1 (AT) newsg1 (DOT) svr.pol.co.uk...
Quote:
Hi Everyone,

Can anyone tell me what "code" I have to use/insert to have my table be
aligned exactly at the top of a page or also aligned exactly to the left
of
a page. Hopefully I am explaining this properly. Its just that when I
insert a table - there is always a "gap" and I cant "place" the table
precisely where I want it. Its very frustrating!

I am using DW 4 with Win XP pro.

Thanks and best regards
Andy





Reply With Quote
  #3  
Old   
The Truth Provider. . .
 
Posts: n/a

Default Re: Newbie Table Help Please - 06-05-2004 , 06:23 PM



Hi Murray,

Thanks for your help. Much appreciated - as a "newbie" - why is it that
there is not a setting within DW (without using CSS) that does not set the
table in the manner that I want. That would make it much easier - but as a
newbie I realise that maybe what I am asking is not available for reasons
that I may not understand.

Thanks again and Best Regards

Andy





Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Newbie Table Help Please - 06-05-2004 , 08:26 PM



This is not a table function - it's a page function. And there is a way to
do it in DW, but not without using CSS. But using CSS is the right way to
do this, and many other things. You won't be a newbie long if you stick
with it....

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

"The Truth Provider. . ." <septichater (AT) predictorofdoom (DOT) co.uk> wrote in
message news:c9th4t$j1a$1 (AT) news5 (DOT) svr.pol.co.uk...
Quote:
Hi Murray,

Thanks for your help. Much appreciated - as a "newbie" - why is it that
there is not a setting within DW (without using CSS) that does not set the
table in the manner that I want. That would make it much easier - but as
a
newbie I realise that maybe what I am asking is not available for reasons
that I may not understand.

Thanks again and Best Regards

Andy







Reply With Quote
  #5  
Old   
The Truth Provider. . .
 
Posts: n/a

Default Re: Newbie Table Help Please - 06-06-2004 , 06:34 AM



Hello again Murray,

Happy to take your advice and thanks again - guess I will search around in
Google for some basic (very basic) CSS tutorials - I can only get better. .
..

Thanks again for your help.

Best Regards
Andy



Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Newbie Table Help Please - 06-06-2004 , 08:13 AM



Andy:

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

"The Truth Provider. . ." <septichater (AT) predictorofdoom (DOT) co.uk> wrote in
message news:c9us0t$krv$1 (AT) news5 (DOT) svr.pol.co.uk...
Quote:
Hello again Murray,

Happy to take your advice and thanks again - guess I will search around in
Google for some basic (very basic) CSS tutorials - I can only get better.
..
.

Thanks again for your help.

Best Regards
Andy





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.