horizontal lines in a box
am 16.08.2007 22:12:54 von rsimpson505I have defined a box is CSS.
How can I draw a horizontal line inside the box to divide the text
content in two?
(An HR tag breaks the box and cause a page split.)
I have defined a box is CSS.
How can I draw a horizontal line inside the box to divide the text
content in two?
(An HR tag breaks the box and cause a page split.)
Topaz wrote:
> I have defined a box is CSS.
> How can I draw a horizontal line inside the box to divide the text
> content in two?
>
> (An HR tag breaks the box and cause a page split.)
>
Divide the text with two internal block elements and style the first
with a bottom border
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Topaz wrote:
> I have defined a box is CSS.
what do you mean by 'box'?
> How can I draw a horizontal line inside the box to divide the text
> content in two?
>
> (An HR tag breaks the box and cause a page split.)
>
maybe with another div?
or by applying
p {
border-top:1px solid #000;
}
but I don't know want exactly you want to achieve. Please post a URL to
demonstrate your problem.
HTH
bernhard
--
www.daszeichen.ch
remove nixspam to reply
On Aug 16, 4:12 pm, Topaz
> I have defined a box is CSS.
> How can I draw a horizontal line inside the box to divide the text
> content in two?
Don't know about that, but I did see Justin Timberlakes "Dick in a
box" music video and it was pretty funny.
"Topaz" , thinking that the is a box? No? Well...
news:1187295174.396120.35330@57g2000hsv.googlegroups.com...
>I have defined a box is CSS.
A box? How? What exactly is a CSS box?
URL?
> How can I draw a horizontal line inside the box to divide the text
> content in two?
?
?
> (An HR tag breaks the box and cause a page split.)
A page split? HTML has no concept of pages. And if a
splits something
then what you put the
in is probably not a "box".
Hmmm. Guessing. You are trying to put a
into a
Show us a URL as to how a
breaks your box.
Given that you have come in from the dreaded google groups I quite expect to
never to hear from you again. It was fun, however, to try to guess what you
are really asking.
--
Richard.
On 17 aug, 12:15, "rf" , thinking that the is a box? No? Well... Topaz wrote: Your Text here Second part of text
> "Topaz"
>
> news:1187295174.396120.35330@57g2000hsv.googlegroups.com...
>
> >I have defined a box is CSS.
>
> A box? How? What exactly is a CSS box?
>
> URL?
>
> > How can I draw ahorizontalline inside the box to divide the text
> > content in two?
>
>
?
>
>
?
>
> > (An HR tag breaks the box and cause a page split.)
>
> A page split? HTML has no concept of pages. And if a
splits something
> then what you put the
in is probably not a "box".
>
> Hmmm. Guessing. You are trying to put a
into a
>
>
> Show us a URL as to how a
breaks your box.
>
> Given that you have come in from the dreaded google groups I quite expect to
> never to hear from you again. It was fun, however, to try to guess what you
> are really asking.
>
> --
> Richard.
Richard - you issued the challenge, so you are hearing from me (after
a delay, I admit).
You forced me to examine my "definition" - it turns out that a
class="...."> is not the same as
does not. Right?
And Jonathan and Bertrand, on the way to a solution I used input from
you both.
To all, my thanks (even from a Google Groups user :-)
PS What should I use instead of GG? Not OE6 surely?
MFG
Topaz
Re: horizontal lines in a box
am 21.08.2007 13:51:06 von Bernhard Sturm
>
> Richard - you issued the challenge, so you are hearing from me (after
> a delay, I admit).
> You forced me to examine my "definition" - it turns out that a
>
> does not. Right?
A div and a p element is something definitely different. The p-element
is used to structure text (A paragraph is a semantic element with
respect to content). A div can be used as a block element in order to
provide a layout container. I suggest you start to read some good books
about CSS/HTML.
I believe you are trying to incorporate something like this:
The
would then serve as your horizontal separator between the two
paragraphs.
>
> PS What should I use instead of GG? Not OE6 surely?
I use Thunderbird as my News-reader. This is handy enough for me, maybe
others have different choices.
> MFG
does that translates into Mit Freundlichen GrĂ¼ssen? :-)
bernhard
--
www.daszeichen.ch
remove nixspam to reply