HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 31st, 2000, 02:40 PM
jen jen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 jen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am trying to use CSS to create a frame based layout.

<style type="text/css">
@page{layout:column}
@frame banner{height:20%}
@frame middle{height:80%,layout:row}
@frame toc{parent: middle; width:20%}
@frame main{parent: middle; width: 80%}
h1{flow: banner}
ul.toc{flow: toc; target: main}
body {flow: main}
</style>
<h1>Test</h1>
<ul class=toc>
<li><a href=test.html>First</a>
<li><a href=test.html>Second</a>
</ul>

This should break the screen up into frames and the links should load in the "main" frame, but I am getting a straight html layout with no frames and the links open as a full window. This code is almost exactly out of the W3C and I STILL can't get it to work!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Problems using Style Sheets


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT