Reply
centering layers in dreamweaver
Old 03-01-2008, 05:10 PM centering layers in dreamweaver
Junior Talker

Posts: 4
Name: koenraad
hi, I' m a nerd in dreamweaver and do not know a lot from codes and ccs and so.I'v made my first website in image ready and included a layer in this page within dreamweaver (flash animation)But for some reason my page is going down a bit the moment I include this layer.Can somebody look at this ,and tell me what I didi wrong
my original page is this: http://www.apfunnyjumpers.net
and the new page i would like is this http://www.apfunnyjumpers.net/index2.html

many thanks
Koen
koentje is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-01-2008, 06:34 PM Re: centering layers in dreamweaver
LadynRed's Avatar
Super Moderator

Posts: 6,396
Location: Tennessee
1st lesson - THEY ARE NOT LAYERS! The 'layers' term is a holdover from ancient Netscape. They are DIVS.

If you want to learn to center, read the stickies, -specifically this one:
http://www.webmaster-talk.com/css-fo...r-website.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 07:30 AM Re: centering layers in dreamweaver
Junior Talker

Posts: 4
Name: koenraad
ok ,still this is al new for me ,and it will take me a lot of time to understand some of this htlm code and other codes.I thougt when I choose the tool "draw a layer " (in dreamweaver)the selection it automatic a layer.So I want that this layer or div will stay on his place where i put it in my workspace.when I preview it in my browser the position of the layer has changed.It is the layer 1 in my example.Can somebody give me the correct code for this problem :www.apfunnjumpers.net/proof.html.
many thanks for all off you
koentje is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 07:44 AM Re: centering layers in dreamweaver
Webmaster Talker

Posts: 551
Name: Barry O' Brien
Location: Ireland
The dreamweaver tools makes the layers absolute you need to delete that from the css panel and put everything in a container and set that with:

#container {
margin:0 auto;
width:860px; Change to what ever you want.
bottom:0;
}

Download one of these blank templates I did these in Dreamweaver http://www.dragonstardesign.com/page...templates.html just an example of how to position your layers in Dreamweaver
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 03-02-2008, 08:35 AM Re: centering layers in dreamweaver
Junior Talker

Posts: 4
Name: koenraad
sorry I gave a bad link here is the right one

www.apfunnyjumpers.net/proof.html
koentje is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 08:58 AM Re: centering layers in dreamweaver
Junior Talker

Posts: 4
Name: koenraad
thanks for your speedy reply,but still I don't think I will get it right...I do not understand anny of this yet ...container ans so ..I will have to study this fist i think .I'm 59 years old and just took some lessons in eveningschool for Photoshop.That 's al I know so far.The rest I'v learned by reading some stuff in dreamweaver,but i'm not yet so well that I know something about ccs and html code.
koentje is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 09:55 AM Re: centering layers in dreamweaver
LadynRed's Avatar
Super Moderator

Posts: 6,396
Location: Tennessee
fyi, that bottom:0; is not necessary and is, in fact, completely useless. That sort of thing only works on absolutely or relatively positioned elements.

Koenraad, you need to do some reading up on CSS and HTML - start here: www.w3schools.com
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 12:07 PM Re: centering layers in dreamweaver
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
I would like to take a moment, on the behalf of those who don't speak Geek as their native language. You can tell us to read this and read that, but it may not click. Much like I could go into detail about the difference between 4:4:4 colorspace and 4:2:1 colorspace in video cameras, and you likely have no idea what I'm talking about.

Sometimes we need to have it explained in terms we can understand. Algebra and Geometry were the same for me. I didn't start to "get it" until the end of the course... when my wife broke it down for me.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to centering layers in dreamweaver
 

Thread Tools

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
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.14829 seconds with 13 queries