Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Nested boxes -how can you handle differing page widths?
Old 11-17-2008, 11:29 AM Nested boxes -how can you handle differing page widths?
GighaTec's Avatar
Junior Talker

Posts: 2
Name: Andy Oliver
Trades: 0
Hi

CSS newbie here. I am trying to draw a box on the page that contains the pages content, and within the framing have boxes running across the top of the box that hold the navigation for the site.

I can produce the desired effect with nested boxes, but only for a fixed screen resolution.

I cannot get to grips with how I can scale the nested boxes to fit across the browser window. Main box aye, its a straight percentage, but the smaller boxes? It as if they need to be scaled relative to the main box. Is this possible?

I have attached a simple sketch of what it is I am tring to achieve.

This is really warping my brain - all help gratefully received.

cheers
Attached Images
File Type: jpg boxy.JPG (8.7 KB, 5 views)
GighaTec is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-17-2008, 05:28 PM Re: Nested boxes -how can you handle differing page widths?
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Instead of making little boxes for your navigation inside the main box, try using a list. You can set a percentage on the list, and it should expand with the size of the screen.

Take a look at this tutorial:
http://www.alistapart.com/articles/taminglists/
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 11-18-2008, 06:38 AM Re: Nested boxes -how can you handle differing page widths?
GighaTec's Avatar
Junior Talker

Posts: 2
Name: Andy Oliver
Trades: 0
Thanks for that - I'm away to try it right now!!
GighaTec is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Nested boxes -how can you handle differing page widths?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15528 seconds with 13 queries