HighDots Forums  

Can a layer have a border?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Can a layer have a border? in the Macromedia Dreamweaver forum.



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

Default Can a layer have a border? - 05-25-2004 , 05:20 PM






I'm inserting a layer with an image inside. It is a simple bordered box
[image]. But when I put a layer in the thing moves any which way. Also I would
like to know if a layer can have a border rather than a fill? Are layers always
a pain to work with:

Help!!!
Eia


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

Default Re: Can a layer have a border? - 05-25-2004 , 05:45 PM






Quote:
But when I put a layer in the thing moves any which way
When you put a layer in what?

Quote:
I would
like to know if a layer can have a border rather than a fill?
Certainly it can. Use CSS to specify one. You can see how that looks at my
site -

http://www.great-web-sights.com

where you see a border around the main content area. That's a CSS 1px solid
border.

Quote:
Are layers always
a pain to work with:
As with any other tool, they are all painful until you understand how to
work with them. Read this for a start -

http://www.thepattysite.com/layer_laws.cfm

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

"eia" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I'm inserting a layer with an image inside. It is a simple bordered box
[image]. But when I put a layer in the thing moves any which way. Also I
would
like to know if a layer can have a border rather than a fill? Are layers
always
a pain to work with:

Help!!!
Eia




Reply With Quote
  #3  
Old   
eia
 
Posts: n/a

Default Re: Can a layer have a border? - 05-25-2004 , 06:31 PM



Thanks, the CSS for the border worked great!

I have a table with two columns. On the right side I need text in a box. The
box needs to be centered in that column. I figured I could draw a layer with a
border to make it look like a box and put text in. That isn't a problem. But
its a guessing game as to where the layer will end up when I view it in the
browser. When I drag to my desired place in DreamWeaver it looks fine but when
I view it in the browser it is off to the right or the left or the bottom
or..... It isn't wyzywiggin'

What do I do to stop that?


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

Default Re: Can a layer have a border? - 05-25-2004 , 06:34 PM



Quote:
That isn't a problem.
Oh yes it is! If you are putting the layer into the table (if the <div> tag
of the layer is between <td> tags), it's a big problem.

Show me the code on your page, please.

By the way, attachments are discouraged for this and other Macromedia
forums, and to make matters worse, they do not carry forward from the
webforums into the NNTP forums, which is where most of the people who post
answers are visiting. If you want to broadcast your code so that everyone
can see it, the really only way is a) to paste it into a reply (not great if
there is lots of code), or b) to upload it somewhere and post a URI to 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
==================

"eia" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks, the CSS for the border worked great!

I have a table with two columns. On the right side I need text in a box.
The
box needs to be centered in that column. I figured I could draw a layer
with a
border to make it look like a box and put text in. That isn't a problem.
But
its a guessing game as to where the layer will end up when I view it in
the
browser. When I drag to my desired place in DreamWeaver it looks fine but
when
I view it in the browser it is off to the right or the left or the bottom
or..... It isn't wyzywiggin'

What do I do to stop that?




Reply With Quote
  #5  
Old   
eia
 
Posts: n/a

Default Re: Can a layer have a border? - 05-25-2004 , 07:05 PM



Here is the link to the page. It has already changed but I have not yet
uploaded. They want a green box around text on the right side. Thanks for any
HELP!

http://www.blackwood-systems-b.com/momi_software.htm




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

Default Re: Can a layer have a border? - 05-25-2004 , 07:20 PM



Yep - this isn't going to work at all -

<td scope="row"><p align="center">&nbsp;</p> <blockquote>
<div id="Layer1" style="position:absolute; width:200px;
height:115px; z-index:1"><img src="images/dots.jpg" width="258"
height="310">
<div id="Layer2"

Not only have you used <blockquote> as a layout device, but you have also
put 'layers' into your table cells.

Try changing that code to this -

<td scope="row"><p align="center">&nbsp;</p> <blockquote>
<div id="Layer1" style="position:relative; width:200px;
height:115px; z-index:1"><img src="images/dots.jpg" width="258"
height="310">
<div id="Layer2" style="position:absolute;

and adjust your positioning to suit.

You can read this to get up to speed on layers, too -

http://www.thepattysite.com/layer_laws.cfm

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

"eia" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Here is the link to the page. It has already changed but I have not yet
uploaded. They want a green box around text on the right side. Thanks for
any
HELP!

http://www.blackwood-systems-b.com/momi_software.htm






Reply With Quote
  #7  
Old   
David B
 
Posts: n/a

Default Re: Can a layer have a border? - 05-25-2004 , 07:20 PM



eia wrote:

Quote:
Here is the link to the page. It has already changed but I have not yet
uploaded. They want a green box around text on the right side. Thanks for any
HELP!

http://www.blackwood-systems-b.com/momi_software.htm
1. Figure out the name (class or id) of the layer that encloses this
text. (I can't figure it out with all that bloated code.) If it doesn't
have a class or ID, give it one. For example, if it's <div>, change it
to <div class="menu">, <div id="greenbox">, etc.

2. Go to the top of the page and find this:

<style type="text/css">
<!--
p.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
}
-->
</style>

Change it to this:

<style type="text/css">
<!--
p.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
}
-->
div.menu { border: 1px solid #060; }
</style>

You can change the border width, type and color. For example...

border: 2px dashed #090

3. Tell them you'll get rid of all their code bloat for an extra $50.


Reply With Quote
  #8  
Old   
eia
 
Posts: n/a

Default Re: Can a layer have a border? - 05-25-2004 , 09:44 PM



David:
What bloat would you get rid of? When I delete something it moves or isn't exactly the way they want placement.

Thanks,
Eia

Reply With Quote
  #9  
Old   
eia
 
Posts: n/a

Default Re: Can a layer have a border? - 05-26-2004 , 10:06 AM



Thanks Murray,

I went to the Patty site and read the Laws for layers. Basically no layers in
a table... so in other words, one cannot use layers at all unless the whole
layout is a layer? I did try that before and when it when it printed out layers
and words jumbled over one another. It was fun and easy though to draw boxes
all over the page! I wish they all would just get along. I see why you are a
celebrity. Thanks much, eia


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

Default Re: Can a layer have a border? - 05-26-2004 , 10:09 AM



Quote:
so in other words, one cannot use layers at all unless the whole
layout is a layer?
You are not reading that law properly. No layers *in* tables, is not the
same as no layers *with* tables. It is quite possible to have layers and
tables on the same page.

Try making the change I suggested.

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

"eia" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks Murray,

I went to the Patty site and read the Laws for layers. Basically no
layers in
a table... so in other words, one cannot use layers at all unless the
whole
layout is a layer? I did try that before and when it when it printed out
layers
and words jumbled over one another. It was fun and easy though to draw
boxes
all over the page! I wish they all would just get along. I see why you
are a
celebrity. Thanks much, eia




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.