| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: May 2005
Posts: 7
![]() | CSS relative height. pulling my hair out here! hello everyone, I am currently attempting to create a template page for a site I'm building for a Uni project. The site is for a custom framing business, so the main content is designed to look like it is inside a frame hanging on a wall. At first it seemed as though it was working fine, as you can see here: http://users.on.net/~longo/forum/ok/default.htm **tested in Safari, Firefox windows/mac, Explorer Windows** ????: NamePros.com http://www.namepros.com/web-design-discussion/92229-css-relative-height-pulling-my-hair.html But then I realised I was using absolute units for the height of the left, right, and content DIVs. I changed it from PX to %, but this caused the left and right frame border to collapse. As you can see here: http://users.on.net/~longo/forum/bad/default.htm Is there a way I can make the left and right DIVs (named #frameLeft and #frameRight in advanced.css) adjust themselves with the height of the main content DIV (#content)? I have tried EVERYTHING i can think of and can't seem to get it to work. It is required that the website be Triple-A compliant with the W3C guidelines, so the design must remain liquid. If someone can figure this one out I will donte my first born son...or thank them kindly, whatever |
| |
| | THREAD STARTER #3 (permalink) |
| New Member Join Date: May 2005
Posts: 7
![]() | thanks for the reply Rowan ![]() Unfortunately my problem goes beyond the 100% height. I actually need the left and right frame border DIVs to extend only as long as the content that appears in the main content DIV: Even if I alter the content so that it is short enough not to need more than 100% of the screen size (and therefore 100% height would work), the design needs to be able to be resized to less than 640x480 and still be completely readable, so it wouldn't be good enough for "them" ::annoyed grunt:: ????: NamePros.com http://www.namepros.com/showthread.php?t=92229 The more tutorials I read, the more I start to loose faith that it can be done! |
| |
| | THREAD STARTER #5 (permalink) |
| New Member Join Date: May 2005
Posts: 7
![]() | nothing would make me happier than to use a row, or absolute positioning of DIVs, but the Uni course I'm doing is about Accessible Interactive Media. My site has to adhere 100% to the W3C gudelines, and tables are most definately out. I would fail if they saw the words TABLE in my design!! ????: NamePros.com http://www.namepros.com/showthread.php?t=92229 it's cool, mate. I really appreciate your help. I think I wil just move forward with the site and maybe try again at the end when I have more time. a-ha! i've got a great solution: http://users.on.net/~longo/forum/woohoo/default.htm much more stable than using images. It even works in Explorer Mac! just about fell off my chair when that happened! |
| |
| | THREAD STARTER #7 (permalink) |
| New Member Join Date: May 2005
Posts: 7
![]() | W3C Web Content Accessibility Guidelines 1.0: CHECKPOINT 5.3 Do not use tables for layout unless the table makes sense when linearized. CHECKPOINT 3.3: Use style sheets to control layout and presentation. Technically it's not completely disallowed, but to have Triple-A compliance you can't use tables for anything other than data. Main problem is the linearisation issues and the fact that they don't transform as gracefully as floating DIVs do. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS: what's the use of it? | lucesei | Programming | 13 | 04-12-2004 08:21 AM |
| CSS Height 100% | web guru | Programming | 1 | 10-16-2003 02:33 PM |