Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 24th, 2006, 05:02 PM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
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; }



 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:58 AM.


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