PDA

View Full Version : Need Simple 2 column code



NautTboy
Jan 16th, 2009, 12:45 AM
Hi, I'm starting a new website with godaddy.com. I noticed it doesn't accept the old html frame framset command. The last time I did a webpage was all html like 5-10 years ago.

Website only run this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I've tried many CSS layout and it just doesn't work right.

I'm looking for 2 column with a header(banner) code.

Any help is apreciated.

Excavator
Jan 16th, 2009, 01:17 AM
Hello NautTboy,
Two column layouts should not be too difficult. Have a look at this example: http://nopeople.com/CSS/equal_length_columns/index.html

NautTboy
Jan 16th, 2009, 05:02 AM
Wow, it works. Tho not as simple as i thought comparing to frameset. What's the top portion called? The little bar above the header?

Since I dont understand CSS....yet.
HTML frameset doesn't work.....
What are my alternative?

I just the header and left column(menu) fixed/stationary. New page open in right column. I can do that with frameset.

Is table a choice?

Excavator
Jan 16th, 2009, 05:40 AM
Wow, it works. Tho not as simple as i thought comparing to frameset. What's the top portion called? The little bar above the header?


That's just my link, nothing to do with the demo.


Is table a choice
It shouldn't be. Have a look at the link about tables in my sig below.

Try this layout from Steve Nichols http://www.cssplay.co.uk/layouts/body4.html

Major Payne
Jan 16th, 2009, 01:34 PM
Here's alternatives. Pick one you like: CSS Layouts (http://www.code-sucks.com/css%20layouts/fixed-width-css-layouts/)

jerry62704
Jan 16th, 2009, 03:52 PM
You seem very hung up on framesets. If they are not allowed on your server then it's time to move on. Despite the obvious problems with them (SEO for example), what is the advantage you see?

I ask because the most obvious one is the ability to reuse a page section (like a header or a navigation bar or a footer) on multiple pages. This is very easy to achieve without framesets. Just use a php include (which godaddy allows I beleive).

You have the real advantage of write once use many. I, too, use to use framesets and saw the light.

NautTboy
Jan 17th, 2009, 06:09 AM
Try this layout from Steve Nichols http://www.cssplay.co.uk/layouts/body4.html

Yes, I like something like that. Do I just copy his source?


Here's alternatives. Pick one you like: CSS Layouts

it's not a written code, it's css file. I'm learning, i want the code.


You seem very hung up on framesets. If they are not allowed on your server then it's time to move on. Despite the obvious problems with them (SEO for example), what is the advantage you see?

Yes, i want to move on that's why i'm here for help.


I ask because the most obvious one is the ability to reuse a page section (like a header or a navigation bar or a footer) on multiple pages. This is very easy to achieve without framesets. Just use a php include (which godaddy allows I beleive).
You have the real advantage of write once use many. I, too, use to use framesets and saw the light.

Sorry, you lost me here.

NautTboy
Jan 17th, 2009, 06:19 AM
Wow, I copy that source. I overlayed the godaddy ads banner which I like much. I dont know if it's hasn't caught up with me yet, but my site doesn't have that godaddy ads on top anymore. I have a free hosting account from godaddy.

Major Payne
Jan 18th, 2009, 02:39 AM
it's not a written code, it's css file. I'm learning, i want the code.Once you've selected the layout and go look at the example, you get the code from the view source of the example page. Can't be any easier than that!