Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 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 February 6th, 2006, 11:25 AM
Authorized User
 
Join Date: Jan 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sizing Div Box's

Hi, is it ok to use <br> to size div box's prior to adding content?

 
Old February 6th, 2006, 01:12 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Keith,

I don't understand what you're asking. Why would a <br> tag resize a div??

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old February 6th, 2006, 10:58 PM
Authorized User
 
Join Date: Jan 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar, once again thank you for replying. If you could check out my site again at http://tektown.net:86 id appreciate it if you could look at the source code. I found some very cool reads off of your earlier post on 2 and 3 column layouts(Thanks again) I am getting very good with the asp side as I am adding functionality to our knowledge base where I work in tieing forms into access (Great read by the way on db access in the book)However, I am just really struggling with the Layout part thus far but am getting it. Anyways, if you check the source code you will see how i sized my middle and right columns. Should I specify a Height in the #middle section for the column in the <Style> portion of the header?

If I am able to specify the height is there like a standard height you would use for different resolutions like you would consider when setting a width for content?




 
Old February 7th, 2006, 03:08 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Right, I see. You mean the height.

Yeah, this is always a bit problematic. You can use the min-height property for that. Just set a <div> with a min-height and it will never get smaller than that.

Firefox and other browsers understand it, but IE doesn't. However, there are various hacks available to make IE use a min height. Google a bit for min-height and IE and you'll get some useful results.

I don't think there is a recommended height. With a table based design, it wasn't too hard to have one table fill the entire screen. With CSS this is a bit harder, although not impossible.

I am not sure why you're using all the absolute positioning stuff. If you do use i (for the three column layout maybe?) you can still wrap it in the <div> I showed you earlier. That way, the width of the entire page won't get as wide as the browser window, the way you have it now.

For more advanced CSS stuff, check out the CSS forums. Richard York posts a lot about CSS there, and he really knows his stuff. He's the author of Beginning CSS: Cascading Style Sheets for Web Design, a great book about CSS that I can highly recommend.

I am glad you like the database access section of the book. Since that's so important in most web sites these days, it deserved a lot of room in a book about about Dreamweaver and ASP.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Fascination Street by The Cure (Track 7 from the album: Disintegration) What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Sizing Div Width with window resizing javs Javascript 1 March 20th, 2008 01:13 AM
div within a div and inherting the height brettdavis4 CSS Cascading Style Sheets 1 January 23rd, 2007 09:59 AM
IMAGE SIZING glisando Dreamweaver (all versions) 0 January 2nd, 2006 12:11 AM
page sizing Adam H-W HTML Code Clinic 2 November 2nd, 2004 01:36 PM
sizing a form gisvb Dreamweaver (all versions) 2 December 29th, 2003 02:54 PM





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