Website made with Layers Query?

Associate
Joined
6 Feb 2004
Posts
270
Location
Ballymena
I am starting to make a website for my girlfriend using Dreamweaver 8 and i have experimented with 2 methods, first i created it using tables but found it tricky to position images etc exactly where i wanted them but found it very handy because regardless of resolution viewed in i had my main table Centred so the page always was in the middle of the screen, I have learned how to use Layers and it makes designing the site so much easier but the problem i have is when u change resolutions to view the page. 800x600 my page fills the screen perfectly but anything larger 1024x768, 1280x1024 for example i am left with a lot of blank empty space to the right hand side ! Is there any way of setting up my layers to Auto Stretch to fit the screen resolution or even plain and simply centre itself on larger resolutions, If this is possible your feedback would be appreciated.

Many Thanks
 
even though you're using dreamweaver which smells if it gives you the opportunity to change the css in any way stick:

Code:
margin: 0 auto;
in the body/html part of it, otherwise I wouldn't know how because dreamweaver smells bad.
 
i've just been told by a webdesigner to use the latest standards which is CSS & Layers, would you agree? Means i'm gonna have to start learning :) and also start the site over again
 
Bouncy said:
i've just been told by a webdesigner to use the latest standards which is CSS & Layers, would you agree? Means i'm gonna have to start learning :) and also start the site over again
Layers? If your elements are over-lapping each other you're probably doing something wrong ;)

You want to be learning CSS and (X)HTML I guess. I'm sure someone else has some nifty links at hand, but it shouldn't be hard to find the right tutorials with a quick Google, and it's really not that difficult to learn :)
 
Layers are in Dreamweaver terms CSS if you look at the code view you will see all the info looking something like

Code:
#Layer2 {
	position:absolute;
	left:192px;
	top:217px;
	width:259px;
	height:156px;
	z-index:4;
}

This information is contained within the <head></head> tags on each page rather than an external style sheet as proper CSS usually is, what you need to do to get it all centred is to go into code view and put the followng code in your <head></head> tag

Code:
.container {
width: 600px;
margin: 0 auto;
}

and then add the following code just after your <body> tag:

Code:
<div class="container">

Then just before you </body> tag add </div> ie. </div></body>

I'll probably get flamed as i usually do in here, but it should solve your problem without having to re-write your site from scratch.

It's a good idea to pop over to W3C schools and have a read through the CSS stuff to give you a better understanding.
 
Last edited:
Harib0 said:
Layers are in Dreamweaver terms CSS if you look at the code view you will see all the info looking something like

Code:
#Layer2 {
	position:absolute;
	left:192px;
	top:217px;
	width:259px;
	height:156px;
	z-index:4;
}
What is Dreamweaver doing to the internets?! :eek: :(
 
Al Vallario said:
What is Dreamweaver doing to the internets?! :eek: :(
Dreamweaver is a very bad thing.

p.s haribo - pop?:

AgEj.jpg
 
Is it me or have all the "pros" in here woke up one day and though "oh i'll build a website" and gone straight to notepad and started hammering in HTML etc..

Surely you pros must have started off with some kind of web builder program, and then decided that you were going to learn the ins and outs?


RandomTom said:
p.s haribo - pop?:

Tom, I'm a sign maker by trade, the term "pop" is something we/i say when a sign design is lacking something - for it to "pop" it needs to have an element that really catches the eye. for example generally in sign design there is a lot of information to get accross, but one piece of that info is important and needs to be the first thing the eye sees hence it needs to pop. Probbably doesn't make any sense at all lol
 
Harib0 said:
Is it me or have all the "pros" in here woke up one day and though "oh i'll build a website" and gone straight to notepad and started hammering in HTML etc..

Surely you pros must have started off with some kind of web builder program, and then decided that you were going to learn the ins and outs?
Haha, I used to use frontpage about 3 years ago but never took it anywhere, then me and my friend made a website, I designed it and he put it into mark up and put some php in there too, that's when I wanted to learn how it was done. I know that the design view in dreamweaver is good for some but I have a personal disliking for it because I know that doing it the way I know now isn't hard at all, and people should make a bit of an effort lol.
Harib0 said:
Tom, I'm a sign maker by trade, the term "pop" is something we/i say when a sign design is lacking something - for it to "pop" it needs to have an element that really catches the eye. for example generally in sign design there is a lot of information to get accross, but one piece of that info is important and needs to be the first thing the eye sees hence it needs to pop. Probbably doesn't make any sense at all lol
Yeh, haha, you asked in the "design me a sig thread" ages ago to make your sig "pop" I was just wondering if you thought that popped more than your current one, I understand the word meaning. :p
 
Thanks for the code listed will see if i get it to work with my site today and will let you know.

Many Thanks
 
Back
Top Bottom