navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

CSS Background Shadow...

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> CSS Background Shadow...
Page: [1]
 
Nicole

 

Posts: 2845
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
CSS Background Shadow... - 5/30/2006 7:25:54   
I've been reading this thread and following Tailslide's advice but I'm afraid I just don't get it!

Here's what I'm working on:

http://www.users.on.net/~nicoleoz/Test/index.asp

...I can do the side shadows okay, but when it comes to the top one, I just can't seem to make it line up with the sides, and also appear at the very top of the screen, i.e. no white at the top.

Help!!!

_____________________________

:)
Nicole

 

Posts: 2845
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS Background Shadow... - 5/30/2006 7:55:15   
Okay, I've progressed to this:

http://www.users.on.net/~nicoleoz/Test/index1.asp

...which is looking okay in IE but not in Firefox, so something is obviously wrong.

Also, the background colour of #9baabf is coming out slightly different as a background colour to how it's appearing in the images i've created in paint shop pro. They're .png images but I'm not sure that's the reason?

Nicole

_____________________________

:)

(in reply to Nicole)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: CSS Background Shadow... - 5/30/2006 9:28:42   
Well the background colour maybe explained by this thread
http://www.frontpagewebmaster.com/m-320953/tm.htm

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Nicole)
Tailslide

 

Posts: 6267
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: CSS Background Shadow... - 5/30/2006 11:29:54   
Hi

I would do this the other way around actually.

Have the thin sliver of main background image repeating on the body then stick the top shadow bit on the container or a header div or something within the body element anyway.




_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
Nicole

 

Posts: 2845
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS Background Shadow... - 5/30/2006 17:31:28   
Thanks for the link jaybee, totally over my head all that image stuff. I'll have to really read up on it or perhaps just using a .jpg would be better?

Tail, I previously had the images the way you said you'd do it, and the white center part of the image was appearing at the top of the screen.

_____________________________

:)

(in reply to Tailslide)
Tailslide

 

Posts: 6267
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: CSS Background Shadow... - 5/30/2006 17:50:51   
zero the padding and margins on the body element and the top shadow will move up to cover the top bit of the body background.

It looks like there's a slight mismatch on the topshadow background with the body background - you might need to do a bit of trimming or resizing to get them to line up 100%.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Nicole

 

Posts: 2845
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS Background Shadow... - 5/31/2006 3:09:46   
I started again afresh this morning, only after getting completely frustrated in the first hour, calmed myself down (2 cups of coffee), and found a site with exactly what I want and studied their code and css.

I copied their images and studied the dimensions and made my own "top", "middle" and "bottom" images and then added them to my test page. That was about 1pm. Since then until now, about 5pm, I've pulled every hair out of my head (not a good look) because whenever I added anything in the middle div, the bottom background image was repeating instead of the middle one.

Hope I'm not confusing anyone.

But about 5 minutes ago I've just opened my "middle" image in paint shop pro, and discovered that I'd saved the image called "bottom" twice, and actually called it "middle" (so I had the bottom image saved as "middle") which is why it was repeating.

So all has calmed down in my household again, a 1 minute check to see that I'd saved the images properly, or in other words saving the images properly in the first place could've saved 4 hours and me having to go out and buy a wig!

Nicole


p.s. the end result is this: http://www.users.on.net/~nicoleoz/Test/index4.asp

_____________________________

:)

(in reply to Tailslide)
Tailslide

 

Posts: 6267
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: CSS Background Shadow... - 5/31/2006 3:45:33   
Excellent job!

The amount of times that stuff won't work and I'll be looking for some "clever" reason why not only to realise 2 hours later that I'd missed off a semi-colon or whatever!

Who needs sanity?!?

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> CSS Background Shadow...
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts