Wrox Programmer Forums
|
BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design by Richard York; ISBN: 9780764576423
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 24th, 2006, 05:02 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Want Liquid design chapter 11

Anyone help:

Below appears some VB code (VWD Express) with some Css specs.
The app is the Exercise for Chapter 11, page 342.

This works even tho I took a few liberties with author's code
to make it easier to see. I want to make the page liquid.
That is: I design using a 1024 x 768 screen resolution but have to
provide for users who will be using 800 x 600 (or who knows what).

I tried using width = auto but doesn't seem like the right approach.
Has anyone made an effort to get this working regardless of the
user's screen resolution?

Thanks for whatever help or suggestions you might have.

VV


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

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

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link rel="Stylesheet" href="StyleSheet.css" type="text/css" />
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <p >Left Column 1.</p>
            <p class="BigColumn">Big Column 2.</p>
            <p>Inner Column 3.</p>
            <p>Right Column 4.</p>
            <p class="BottomColumn">
            Content of Footer.</p>
        </div>
    </form>
</body>
</html>

-------StyleSheet-------

div * {border-color: white; padding: 5px; background:#999999;
       border-style:solid; color: White; font-weight: 600; margin-left: 0px;
       margin-top: 5px; margin-right: 3px; margin-bottom: 3px;
       border-top: 5px; border-right: 0px; border-bottom: 3px; border-left: 5px;
       float:left; height: 100px; width: 131px; }

 .BigColumn {width:518; }

 .BottomColumn {width:auto; height: 20px; float: none; clear:both;
    vertical-align:text-top; margin-top: -3px; margin-right: 0px;
    margin-bottom: 0px; }








Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 11 Moorish BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 11 June 4th, 2008 04:57 PM
Chap 11 codes from Design or Source tab? cJeffreywang BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 January 2nd, 2008 11:30 AM
chapter 11 figure 11-7 relative positioning pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 November 29th, 2007 06:11 AM
Chapter 11: kiley-s BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 10 March 8th, 2007 08:19 PM
Chapter 11 zaidqais Visual Basic 2005 Basics 0 June 2nd, 2006 04:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.