Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets 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 July 29th, 2008, 12:26 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default CSS Newbie

Hello everyone and thanks for your help in advance. I am new to CSS and am trying to learn through deconstructing sites. I started playing witht he first page of www.microsoft.com to see if I could understand it. I have my first effort at:

http://www.efrec.com/ms4.htm

I am trying to figure out two pieces. First, the lower gradient appears to ride up over the top gradient and I'm not exactly sure why since I have the style specified as lower left. Second, I am trying to figure out how to get the white background div to display in the middle of the page. Any help would be greatly appreciated.

 
Old July 29th, 2008, 12:40 PM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hi, welcome to the forum! :)

I really think you shuld choose another page to learn from because you won't learn the right things there...

[EDIT]
I forgot the forum can't handle complex URLs. Lets see if this works then. You have to copy-paste...
[EDIT 2]
It didn't work so I removed it. :D
 
Old July 29th, 2008, 12:47 PM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Oh darn. Here goes then.

http://nailie.notlong.com
http://owied.notlong.com
http://iechahh.notlong.com

--
http://yupapa.com
 
Old July 29th, 2008, 01:48 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the response. I see what you mean based on the links sent. Can you pleae give me some idea as to the "correct" way to get the same effect?

 
Old July 29th, 2008, 02:21 PM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

The white box is centered. Except in MSIE that doesn't understand centering with auto margins when in Quirks Mode. You need to use a doctype and one that triggers Standards Mode (AKA Strict Mode) at that. You can read all about this gruesome business here.

http://hsivonen.iki.fi/doctype/

As for the lower background image, isn't that because the page is so much shorter than MS's? The image is rather high, more than half the available space on my 1024*768 screen with a maximized browser window. I didn't look too close, but that's the first thing that hits me.


--
http://yupapa.com




Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS HELP:! CSS EXPANDIBLE BACKGROUND FOR TITLE phpuser2000 CSS Cascading Style Sheets 2 December 19th, 2007 12:36 AM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
Newbie to CSS maxfox44 CSS Cascading Style Sheets 1 August 29th, 2005 12:19 AM
Styles.CSS and ASP.NET Newbie Questions sstory ASP.NET 1.0 and 1.1 Basics 4 September 29th, 2004 06:30 AM
CSS Newbie reviewer needed jminatel HTML Code Clinic 0 July 20th, 2004 03:35 PM





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