Click to See Complete Forum and Search --> : What kind of css this site is using?


ssalim
11-11-2007, 11:08 PM
If you go to here:
http://demotemplates.joomlashack.com/elevation/
You'll see the the main site is bordered by a gray-ish and white outer border.
I know this is not an image, but how do you do this, via css? what kind?

Thanks.

Centauri
11-12-2007, 12:26 AM
They have multiple nested divs (horrible way to do it), with different borders :/*Border colors*/
#wrap-a{border: 1px solid #E4E4E4; width:767px;} /*outer border*/
#wrap-b{border: 1px solid #C0C0C0;} /*inner border*/
#wrap-c{border: 3px solid #fff;} /*inside page border*/
#wrap {background:#FFF;}
Just a matter of looking through the css to find it.

ssalim
11-12-2007, 09:09 AM
You mentioned horrible... how/why?

Centauri
11-12-2007, 03:31 PM
"Horrible" in that, with a little thought, some of those divs could be eliminated. A heap of nested divs just to apply some basic styling to each, whilst valid code, isn't very elegant.