The Cellar

The Cellar (http://cellar.org/index.php)
-   The Internet (http://cellar.org/forumdisplay.php?f=8)
-   -   The Horror of Cascading Style Sheets (http://cellar.org/showthread.php?t=1587)

Hubris Boy 05-31-2002 01:56 PM

The Horror of Cascading Style Sheets
 
Brothers and Sisters-

For reasons I still don't fully understand, I find myself in the middle of revamping the website for my girlfriend's synagogue. Strange thing for a nice Episcopalian boy to be doing, I'll grant you, but hey... I'm all about embracing multiculturalism.

Anyway... I can munge HTML and JavaScript with the best of 'em, and I know enough about CSS to be dangerous. Unfortunately, that's not enough for today's exercise. Yes, I have Read The Friendly Manual, but to no avail. So now I come to seek the collective wisdom of the Cellar.

My question is this:

Is it possible to define a box, using the CSS-2 "border" elements, that will have a position other than the default left-edge justified?

Making the box is easy. Something like this:

border-right: 2px solid #6666FF;
border-left: 2px solid #6666FF;
border-top: 2px solid #6666FF;
border-bottom: 2px solid #6666FF;

but is it possible to control the box's horizontal postion? I know I could use absolute positioning, and I will, as a last resort. I was hoping there was some other, less icky solution.

Have any Dwellars ever tried this before? Or, from a safe distance, witnessed anybody else trying this? I would appreciate any thoughts you may have on this subject.


All times are GMT -5. The time now is 04:44 AM.

Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.