Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page layout Frames vs Tables??

Status
Not open for further replies.

mfleming

Technical User
Jul 2, 2003
65
CA
Hello.

I Have a major problem. I want to have a menu that fixed along the top of the page and be able to scroll thru the rest of the page. I have been told that you shouldn't use frames but I can't do it with out it.

I tried using tables but I can't get it to work properly.
My audience is IE 6.0 browsers only.

Check out the page.

All the tables got messed up and it doesn't look proper.

Should I just use frames and be done with it or does someone have a really good site/info on how to create one without it and still conform to.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
This is what I want it to look like:
(removed DOCTYPE)

thanks

Matt
 
Theres something called Div's that can be used to achieve that effect. Realy easily, and still conform to the Doctype.

Try placing 2 DIvs like so:

Code:
<div id="top" class="top">
---Fixed top bar content---
</div>

<div id="restofpage" class="content">
---page content---
<div>

Using a little CSS you can specify the height of the top bar say 15% of the page, and the bottom div's width 85% and make it scrollable.

Very simple to do and it adheres to standards by usaing CSS.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top