Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 21st, 2005, 12:52 AM
Bob
Guest
 
Posts: n/a
Default CSS for drawing line?

Hello,

I am trying to draw a line across a page. The problem is that it is
affecting the text subsequent text. I may be doing something wrong with the
html but I am not sure. You can see the problem at
http://www.usernomics.com/testsite/h...s-design1.html .

The CSS I am using is:

#middle hr.line{
height: 1px;
margin: 0 80px 15px 80px;
}

The html I am using is:

<hr class="line">


I think I may not be closing off the <hr class="line"> because it is
dropping the subsequent line of text a couple of spaces down.

Can anyone see what I might be doing wrong?

Thanks,

Bob


  #2  
Old July 21st, 2005, 12:52 AM
Neal
Guest
 
Posts: n/a
Default Re: CSS for drawing line?

On Fri, 24 Sep 2004 13:16:11 GMT, wrote:
[color=blue]
> Hello,
>
> I am trying to draw a line across a page. The problem is that it is
> affecting the text subsequent text. I may be doing something wrong with
> the
> html but I am not sure. You can see the problem at
> http://www.usernomics.com/testsite/h...s-design1.html .[/color]

I cannot see a problem. Be aware another way to make a horizontal line is:

..book {border-bottom: 1px solid black}
  #3  
Old July 21st, 2005, 12:52 AM
Bob
Guest
 
Posts: n/a
Default Re: CSS for drawing line?


"Neal" <neal413@yahoo.com> wrote in message
news:opset2qndc6v6656@news.individual.net...[color=blue]
> On Fri, 24 Sep 2004 13:16:11 GMT, wrote:
>[color=green]
> > Hello,
> >
> > I am trying to draw a line across a page. The problem is that it is
> > affecting the text subsequent text. I may be doing something wrong with
> > the
> > html but I am not sure. You can see the problem at
> > http://www.usernomics.com/testsite/h...s-design1.html .[/color]
>
> I cannot see a problem. Be aware another way to make a horizontal line is:
>
> .book {border-bottom: 1px solid black}[/color]

Hello Neal,

I tried your suggestion but it did not work. Something odd is going on. The
wrap around text is supposed to be the same height as the image but it drops
down a line or two.

Any ideas on what might be going on?

Thanks a lot,

Bob


  #4  
Old July 21st, 2005, 12:52 AM
boclair
Guest
 
Posts: n/a
Default Re: CSS for drawing line?


"Bob" <ergobob@sonic[no spam].net> wrote in message
news:v6V4d.14934$54.224789@typhoon.sonic.net...[color=blue]
> Hello,
>
> I am trying to draw a line across a page. The problem is that it is
> affecting the text subsequent text. I may be doing something wrong with[/color]
the[color=blue]
> html but I am not sure. You can see the problem at
> http://www.usernomics.com/testsite/h...s-design1.html .[/color]
[color=blue]
>
>
> I think I may not be closing off the <hr class="line"> because it is
> dropping the subsequent line of text a couple of spaces down.
>
> Can anyone see what I might be doing wrong?[/color]

Have you cleared the float on the book images

Louise


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles