|
|
|
Next: English possessive and plurals of foreign words
|
| Author |
Message |
External

Since: Aug 05, 2007 Posts: 2
|
(Msg. 1) Posted: Sun Aug 05, 2007 7:20 pm
Post subject: CSS border length and spacing Archived from groups: comp>infosystems>www>authoring>html (more info?)
|
|
|
|
| How do I limit the length of the border on a web page?
Also, how do I specify the white space within a border- above, below
and besides the words enclosed in the border?
Bruce
|
|
|
| Back to top |
|
 |  |
External

Since: Aug 05, 2007 Posts: 2
|
(Msg. 2) Posted: Mon Aug 06, 2007 7:50 am
Post subject: Re: CSS border length and spacing Archived from groups: per prev. post (more info?)
|
|
|
On Aug 6, 4:01 am, Rik <luiheidsgoe... DeleteThis @hotmail.com> wrote:
> On Mon, 06 Aug 2007 04:20:39 +0200, brucegooglegroups
>
> <brucegooglegro... DeleteThis @hotmail.com> wrote:
> > How do I limit the length of the border on a web page?
>
> By limiting the width/height of the container it's a border of?
>
> > Also, how do I specify the white space within a border- above, below
> > and besides the words enclosed in the border?
>
> Padding?
> --
> Rik Wasmus
Hi Rik,
I want to limit the length of the two border horizontal lines:
____________________
Also, how do I adjust the amount of empty space between the two
horizontal lines, the two vertical lines and the words inside the
border?
Thanks.
Bruce l |
|
| Back to top |
|
 |  |
External

Since: Feb 18, 2006 Posts: 187
|
(Msg. 3) Posted: Mon Aug 06, 2007 8:23 am
Post subject: Re: CSS border length and spacing Archived from groups: per prev. post (more info?)
|
|
|
On 8/6/2007 7:50 AM, brucegooglegroups wrote:
> On Aug 6, 4:01 am, Rik <luiheidsgoe... DeleteThis @hotmail.com> wrote:
>> On Mon, 06 Aug 2007 04:20:39 +0200, brucegooglegroups
>>
>> <brucegooglegro... DeleteThis @hotmail.com> wrote:
>>> How do I limit the length of the border on a web page?
>> By limiting the width/height of the container it's a border of?
>>
>>> Also, how do I specify the white space within a border- above, below
>>> and besides the words enclosed in the border?
>> Padding?
>> --
>> Rik Wasmus
>
> Hi Rik,
> I want to limit the length of the two border horizontal lines:
> ____________________
>
> Also, how do I adjust the amount of empty space between the two
> horizontal lines, the two vertical lines and the words inside the
> border?
>
> Thanks.
> Bruce l
>
>
>
If they are truly borders, then they are part of a box. You limit the
size of the box, not the borders. Space within the box is then
determined by the padding properties of the box. See
<http://www.w3.org/TR/REC-CSS1#formatting-model>.
If they are merely horizontal rules created by <hr>, you can set the
width as a property and the spacing as margins:
hr { width: 90%; margin-top: 2em; margin-bottom: 2em }
--
David E. Ross
<http://www.rossde.com/>.
Don't ask "Why is there road rage?" Instead, ask
"Why NOT Road Rage?" or "Why Is There No Such
Thing as Fast Enough?"
<http://www.rossde.com/roadrage.html> |
|
| Back to top |
|
 |  |
External

Since: Aug 08, 2006 Posts: 876
|
(Msg. 4) Posted: Mon Aug 06, 2007 10:01 am
Post subject: Re: CSS border length and spacing Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 06 Aug 2007 04:20:39 +0200, brucegooglegroups
<brucegooglegroups.DeleteThis@hotmail.com> wrote:
> How do I limit the length of the border on a web page?
By limiting the width/height of the container it's a border of?
> Also, how do I specify the white space within a border- above, below
> and besides the words enclosed in the border?
Padding?
--
Rik Wasmus |
|
| Back to top |
|
 |  |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|