Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 05-30-2005, 01:04 AM Q: DW Layers
zen4thought's Avatar
Novice Talker

Posts: 13
Location: Milwaukee WI
Trades: 0
Hello everyone. I'm working in dreamweaver and have been rebuilding a site from a template. I'm adding a layer from the insert, then layer button. I then reposition the layer on the site where I want it. I have the overflow on scroll.
Now here is where I have two problems.
First is there anyway to set the layer where when I type as it reaches the end of layer it will start on a new line beneath the line above it? What it does now is it still lets me type and type and stretches out the layer and when you preview it it has a bottom scroller going across the page. I just wanted the scroller for vertical scrolling.
Now my second issue I'm having is when I also preview the site, the layer is not in the right position where I dragged it to be.
Is there some type of way I can lock the layer in to not move? And also just have a scroller for vertical use and not horizontal?
I'm still learning slowly html coding, I'm a graphic artist trying to test out new waters, so I'm not quiet good with the coding side yet and using my design skills to keep me afloat.
Although if there is coding involved I follow directions well!
Any input would be of great use. Thank you in advance!
zen4thought is offline
Reply With Quote
View Public Profile Visit zen4thought's homepage!
 
 
Register now for full access!
Old 05-30-2005, 05:02 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,381
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
overflow: auto; and a fixed height and width will give V scroll only (with a correct doctype of course)

with the positioning it sounds like you are setting absolute position which doesn't always work as you expect
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 05-30-2005 at 05:03 AM.. Reason: to kill the unintentional smiley
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-30-2005, 11:48 AM
zen4thought's Avatar
Novice Talker

Posts: 13
Location: Milwaukee WI
Trades: 0
With the overflower the auto worked wonderfully thank you. The layer is still moving around all crazy, what should I change it to besides an absolute position? The code looks like this :

div id="layer 1" style="position:absolute; width: 315px; height: 1136px; z-index: 1; left: 225px; top: 224px; overflow: auto;"

Once again thank you so much!
zen4thought is offline
Reply With Quote
View Public Profile Visit zen4thought's homepage!
 
Old 05-30-2005, 01:06 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,381
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It depends on your layout.
If you are using a "fluid" layout where the various elements can adjust as the browser is resized or different resolutions are used then using position absolute can become a nightmare. If the elements are all absolute and the sizes fixed is a different story.

It sounds like you are trying to use a fluid layout but with the content stating at a fixed point, a look at the original layout would shed more light. But floated spacing divs sound like the best plan to me.

styles;
Code:
#header {
  position:relative;
  height:224px;
  width:100%;
}
#side {
  position:relative;
  width:225px;
  height:822px;
  float:left;
}
#content {
  position:relative;
  width:315px;
  height:1136px;
  float:left;
  overflow:auto;
}
.clearing {
  position:relative;
  clear:both;
}
page
HTML Code:
<div id="header">placeholder for 225 pixel top </div>
<div class="clearing"></div> <!--clearing div to break the float-->
<div id="side">Side place holder  </div>
<div id="content">This is the scrolling area</div>
Didn't test this BTW but it should work.

One point to note is, Don't use spaces in element IDs or names.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Q: DW Layers
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14781 seconds with 12 queries