Wrox Programmer Forums
|
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 August 13th, 2005, 03:09 PM
Registered User
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginner CSS Help ?

As a beginner with HTML, I could use some help getting started with HTML and CSS. This is what I would like to do for now. I would like to create templates with the appearance of frames, that is, one side of the page (left side) with a different background, along with a list of links, small images, pull down (drop) menus, etc., and the other side of the page (right side), the main part of the page, with a different background, main text, images, more links, pull down (drop) menus, etc.

I'm also interested in having a background that doesn't move when you scroll up/down the page.

What is the easiest way to get started, without having to read hundreds of pages of manuals, and/or many webpages. Thanks.

-- vjamacaddict, G4 iBook, OSX 10.3.9

-- vjamacaddict, G4 iBook, OSX 10.3.9/9.2
-- PowerMac 7300/500, OS 9.1/8.6
 
Old August 14th, 2005, 04:38 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

If you're serious about diving into web development there's no getting around reading hundreds upon hundreds of pages of manuals and tutorials. There's simply too many browser inconsistencies, bugs, features, etc to learn. I've been doing this for eight years and I still fairly regularly discover new things in client-side web development.

That said, the design you're describing also isn't possible in today's browsers without some javascript (at least to get Internet Explorer compatibility).

What you're looking for is fixed positioning, and fixed backgrounds. Luckily there already exists a fantastic project to enable this functionality in Internet Explorer Windows via a JavaScript, the name of this project is "IE7", and it can be found here:
http://dean.edwards.name/ie7

You can Google on the terms "CSS", "fixed", and "positioning" (and/or "backgrounds"), for some decent tutorials.

HTH!

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old August 20th, 2005, 03:06 PM
Authorized User
 
Join Date: Dec 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to DSteven Send a message via MSN to DSteven
Default

if you want the image to not move when the page is scrolled up and down there is a css code that can be used to stop the image from moving. The code is as follows:

<style>body{background:url(URL OF IMAGE GOES HERE OR IF IT IS FISH.GIF) fixed no-repeat}</style>

where is says fixed no-repeat you can also decide where you want the image to go for example if i want the image centered, to stay in the same place and no-repeat then this is what i would do:

<style>body{background:url(URL OF IMAGE GOES HERE OR IF IT IS FISH.GIF) fixed no-repeat center}</style>

other opetions for deciding where to put the image is right bottom, left bottom, left center, right center or top right , left right.

if you want the image to be repeated then you would just put repeat and take out the no.

i hope that helped a bit, if you would like me to go into more depth then please e-mail me at [email protected]

regards steven







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
A beginner who needs need help Jamesbizprocom Beginning PHP 1 June 28th, 2007 11:02 PM
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
List of questions from 100% CSS Beginner horseatingweeds BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 8 December 12th, 2005 04:32 PM
Beginner Stever Access 1 June 9th, 2003 12:27 AM





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