This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Urgent: Tables





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 Urgent: Tables
lil_pom

2004-08-26, 12:22 pm

Xref: newsfeed-west.nntpserver.com macromedia.dreamweaver:958847

Hey i was wondering how do u make a tabe align with the very top of the
screen...so it doesnt leave any spaces in the browser?
Also how can u make a table expan i.e. it fills the whole screen for both a
800x600 screen browser and a 1024x768 screen browser?

Murray *TMM*

2004-08-26, 12:22 pm

> Also how can u make a table expan i.e. it fills the whole screen for both
> a
> 800x600 screen browser and a 1024x768 screen browser?


Width=100%

> make a tabe align with the very top


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: 0 -10px 0 -10px;
/*/*/margin: 0 0 0 0; /* */
}

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================

"lil_pom" <webforumsuser@macromedia.com> wrote in message
news:cgja15$62b$1@forums.macromedia.com...
> Hey i was wondering how do u make a tabe align with the very top of the
> screen...so it doesnt leave any spaces in the browser?
> Also how can u make a table expan i.e. it fills the whole screen for both
> a
> 800x600 screen browser and a 1024x768 screen browser?
>



lil_pom

2004-08-26, 12:22 pm

how can i make it fill the screen vertically i tried changing the hieght in attributes under browser specific to heith=100% but it didnt work..any ideas??
.: Nadia :.TMM :.

2004-08-26, 12:22 pm

This question is asked multiple times a day :-) doing a forum search would
have revealed many posts in answer to this question. Table height is not
valid html and it depends on which doc type you are using as to which
browser actually do render 100% height... not reliable at all.

Have a look at this page and it will give you a solution:
http://www.apptools.com/examples/tableheight.php

--
Nadia
Team Macromedia Volunteer for Dreamweaver
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
------------------------------------------------





"lil_pom" <webforumsuser@macromedia.com> wrote in message
news:cgjvvh$mso$1@forums.macromedia.com...
> how can i make it fill the screen vertically i tried changing the hieght

in attributes under browser specific to heith=100% but it didnt work..any
ideas??


Sponsored Links


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