HighDots Forums  

Make a layer stretch 100% of the width

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Make a layer stretch 100% of the width in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill Ray
 
Posts: n/a

Default Make a layer stretch 100% of the width - 07-24-2003 , 05:15 AM






Hey-

I'm trying to make my layer stretch across the top of the page from border
to border. I think I need to include something in the .css file that states
something like

border=0px or something to that effect.

Can anyone refresh my sleep-deprived memory?

BR





Reply With Quote
  #2  
Old   
Joe {RoastHorse}
 
Posts: n/a

Default Re: Make a layer stretch 100% of the width - 07-24-2003 , 06:16 AM






unless you specify a width or margins <div>s take up all the available
width.
maybe the <div> is inside another element?
or the <body> margins are restricting it?
try this:

<style>
body {
margin: 0px;
padding: 0px;
}
</style>

joe





"Bill Ray" <bill (AT) billraydrums (DOT) com_BLAH> wrote

Quote:
Hey-

I'm trying to make my layer stretch across the top of the page from border
to border. I think I need to include something in the .css file that
states
something like

border=0px or something to that effect.

Can anyone refresh my sleep-deprived memory?

BR







Reply With Quote
  #3  
Old   
808s webforumsuser@macromedia.com
 
Posts: n/a

Default Re:Make a layer stretch 100% of the width - 07-24-2003 , 06:27 AM



Width and height =100% will make it strech, border=0 will just make the border invisable.

You can do all this with css, use dreamweavers inbuilt css editor, it explains each setting as well




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.