FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

css, gradient background for a whole page

 


Crinoid
Few questions, maybe you can help:
1. I see a lot of gradient background tips and tutorials, but not many of them deal with making gradient background for a whole page, when it is unknown how long this or other page will be. Do you know how to or maybe have a link?

2. I've seen template, using gradient background that consists of two large images, top and bottom, with decorative images being part of them. Instead of using the long narrow single gradient image, repeating.

- When it is reasonable to use the first, the second, and
- when it is better to position a separate decorative images on the page, when use z-index instead of absolute positioning, and when it is better to embed them into a big background image?

I clearly missing something here.
Thanks.

P.S. 3. How to make a gradient inside text box with rounded corners?
Marcuzzo
not sure if this is what you need;

gradient for entire page... IE Only
Code:
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" STYLE=" filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=0, StartColorStr='#2d5842', EndColorStr='#ffffff')">



rounded corners in FF and Opera
Code:
-webkit-border-radius: 6px;    /* for Safari */
-moz-border-radius: 6px;       /* for Firefox */



I do want to add that these are all vendor related...
Crinoid
I saw this border radius as css3 feature: could it be added to the css 2.1 template? If yes, then how this css file should be validated: as css2 or css3?

I'll try IE filter for gradient, thanks!
Related topics

CSS - CSS Tutorial for skin maker
CSS - Sidebar and background fixed, Content scrolling
Gradient Background Tip
Gradient Background Tip
Okay, I'm done trying to use CSS for layout.

CSS Postioning Questions.
Convery my iframe to php
Company website made entirely from Microsoft Publisher!
Constructive Criticism required
Looking to start a CSS based site

What is the best way to make a site?
css + html
do you like my site design ?
Ashens Web Design Questions Thread
Webpage Design Programs
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.