Hmm... I need to find out myself. I don't know what is the answer to your question. I'll do some investigation and get back to you if I discover an decent answer. You should email the people at iContact as they probably could help you..
Oh the attachment must not have worked, heres a link:.
Http://www.geocities.com/iansupload/csssource.txt.
Thank you..
This is a rough example, but basically what you're looking for. If you want the same functionality as your current iContact site (the content scrolls, while the rest of the page is fixed), then that will take a little more work. Or, if you don't want the content scrolling, but you want the black strip on the left to go all the way down the page, that, too, will take a little more work (but just a very little)..
By the way, tables are.
Not.
A helpful way to create a good layout. Tables are meant to display tabular data, not lay out your web page...
Well, to start with before even looking at your CSS I found these errors.
Should actually be.
And you shouldn't have your images inside heading tags also, they are for text..
P.
{.
Position: absolute;.
Top: 100px;.
Left: 150px.
P.margin {margin-left: 150px}.
P.margin {margin-top: 100px}.
}.
You have opened up new tags inside of an already open one..
P {.
Position: absolute;.
Top: 100px;.
Left: 150px;.
}.
This would make all your P tags this way..
P.margin {margin-left: 150px}.
P.margin {margin-top: 100px}.
Your giving 2 different attributes to the same tag, you should actually have.
P.margin {.
Margin-left: 150px;.
Margin-top: 100px;.
}.
Hopefully this should get you on your way.
*blog* ahem! joe2torials.
*blog*..
They were originally meant for that purpose but what is the problem for using them to create a perfect layout?.
Most sites you look at use tables for their lay out, they are a perfectly good way to create a layout..
Also, ianlange11 looks to be a beginner, it may not be wise to introduce all the complex tags and doctype/cdata ect that you just used in your code. remember, we all have to build up to these things, one step at a time..
Because they are not.
Meant.
For that, that's why. I see no reason to use tables over semantic markup styled with CSS..
If everyone jumped off a bridge, would you? Using tables to lay out your page is wrong. There's no way around it..
I don't really consider a full Doctype to be "complex", more like required. And, if he/she is a beginner, then there is no time like the present to learn, and he/she might as well learn the correct way...
If it works then what is the real problem with it?.
Yes, in a shot! why is it wrong? give me 1 good reason why it is..
You do not consider it to be complex because you have been doing this for longer, would you like to have everything thrown at you at once when you start something or would you rather do it one step at a time? he/she will learn the correct way, but it will not be easy if you try to learn everything at once is it? you have to take your time with these things and build yourself up..
When I started out I knew nothing about doctypes / xhtml / cdata / css ect, and if when I started deisgning my iContact website I had everything thrown at me at once I would not have kept at it. because I learned step by step it was easy...
You can drive in a screw with a hammer, but that still doesn't make it the right way..
The.
TABLE.
Element was intended to display tabular data, not lay out web pages..
I never said anyone shouldn't learn step-by-step, I think that's the only way to do it. But there is nothing complex about having a full Doctype; every page should have one..
CSS can seem complex when you don't know it, or are first starting out, but who said it would be easy? If it were easy, wouldn't everyone be doing it? If you keep to it, it isn't really that difficult...
Tables are a good way to start out and get warmed up to HTML, but later it's good to start learning CSS positioning it is very efficient compared to tables, and much much less of a hassle than a bunch of nested tables. just my 2 cents..
There is no.
Wrong.
Way to create a website, it doesn't matter wether you use a table, CSS or any other way. there are only peoples personal preferences, you cannot tell people that something is the.
Right.
Way just because you believe it to be. you must let the person create what he wants and however he wants it..
A book can be used for reading, writing in, used under a uneven table and also to kill flys. have you ever heard of multi-purpose? something that has more than one use..
Everypage SHOULD have one I agree, but why bother posting the code if your not even going to explain what it does and why you have put it there? as with the other code..
Also, it is plain to see that he/she is using HTML, so why bother creating XHTML code? just keep it simple, help with the problem at hand, don't give him/her more things to think about. the time for that is when the problem is fixed and he/she feels it is time to move a step further and learn more..
Anyway, this is getting off topic, discussion over!..
Actually, there.
Is.
A wrong way. Tables are.
Not meant to lay out a web page.
YOU CANNOT GET AROUND THAT..
I don't really think that's applicable here. Using tables for layout and using a book to smash flies is a little different..
If he/she wants me to explain the code, I shall do so to the best of my ability..
I see no XHTML in there, just nice, semantic code; all of that is valid HTML 4.01. Besides, the OP did not specify whether the solution should be written in HTML or XHTML, so I wrote it how I chose...
There are many wrong ways to do a website, tables is one way. Besides, using CSS is much more advantageous than using tables. Compare this very basic table layout:.
To this div layout:.
Which uses this CSS:.
As you can see, the markup for the div layout is much cleaner. It is also much more friendlier for search engines and screen readers. And, tables take much longer to render than divs do. The markup is much smaller so the page is smaller to download -> faster download times, less bandwidth used. This is also thanks to the CSS which is stored in an external .css file. It is cached by the browser so it is loaded only once..
There are probably other advantages that I missed too...
Well, you had to be corrected. But yes, let's get back to topic now...
Corrected? Corrected for what? Making a point that you don't agree with..
I have seen you many times around this forum annoying people in the same way, you come on here and tell people that the right way to do things is always the way you believe it to be. Well guess what, your wrong!.
I know that there are many peolpe on this forums that create their layouts using tables, are you going to tell me that all of them are wrong? That they can't build sites correctly? Because I have seen most of the sites and they are great the way they are, wether they are created using CSS or tables, neither way is right and neither way is wrong.... there is only.
Personal preference.
! Both ways work so why must one of them be wrong because you think it is?.
To be honest, this conversation has gone way off track and I apologise to ianlange11 and I'm sorry that he had to see something like this happen in his thread. Now, this conversation is over, I don't care what you have to say because you make no sense at all, and I prefer talking to people WITH a sensible point of view and who have the ability to discuss things in a civilised manner, which frankly you do not..
DISCUSSION TERMINATED!..
OK I am going to use "div layout" though I am not saying tables are wrong or anything, it is just personal preference beside their original purpose and also I think all three of you presented the div layout as a reccomendation..
Http://www.geocities.com/iansupload/csssourcedif.html.
That is what I have right now, which has a problem with the background I am using this:.
Http://www.geocities.com/iansupload/csssourcedif.txt.
I want my background to be the whole thing instead of only where the text is covering it, and I do not want it like I have the frames, which is how the head and nav bar is always their, I want the whole page to scroll, but I think all of you guys knew or picked up on that..
That I do have some questions about such as "-10.5em" or "0 0 0 3em" I do not understand the "em" or the mulitple zeros. This I do not understand either: /*<
