473,322 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

CSS for drawing line?

Bob
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
Jul 20 '05 #1
3 45936
On Fri, 24 Sep 2004 13:16:11 GMT, wrote:
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 .


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

..book {border-bottom: 1px solid black}
Jul 20 '05 #2
Bob

"Neal" <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
On Fri, 24 Sep 2004 13:16:11 GMT, wrote:
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 .


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

.book {border-bottom: 1px solid black}


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
Jul 20 '05 #3

"Bob" <ergobob@sonic[no spam].net> wrote in message
news:v6*******************@typhoon.sonic.net...
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 .

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?


Have you cleared the float on the book images

Louise
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: C. Alexander | last post by:
I'm making a 'whiteboard' application. I'm trying to have 2+ connected users able to draw at the same time. However, if User1 draws a line, when User2 is drawing, on User1 screen, it will draw...
19
by: Atif | last post by:
Hello all, In my html page I want to add an image say of 800x600. Now I want that when ever I am given two coordinates on this image say (x1, y1)=(50, 100) and (x2, y2)=(200, 300), the java script...
2
by: Anand Ganesh | last post by:
Hi All, In my application I am allowing the user to draw a line. But when the user clicks the start point and starts moving the mouse there is a series of line generated. When the mouse is up...
3
by: Evo | last post by:
Below is my code,it passed the compile and link under TC2.0 correctly. But the line it draws is obviously wrong. I think it's somewhere I thought wrong. But I really can't find it out. Can someone...
0
by: SurajPrabhu | last post by:
Hi All, I am tying to build a ASP.net 2.0 based web page which displays a Analog Guage ( 0 to 180 degrees) with an Arrow in the middle. The application accepts the Percentage as input from a...
2
by: rkgarimella9 | last post by:
Friends, i'm facing with a severe problem while coding an windows application. the problem is that i'm using a usercontrol consisting of three labels upon which three images are placed. the problem...
0
by: aseem | last post by:
how to drawline between two user control using mousedown and mouseup events in c#.net I am using radiobutton_MouseDown and radiobutton_MouseUp events the user control are dropped on the panel...
4
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I've windows form, in this form i've a panel. I want to draw lines inside the panel using the panel coordinates( meaing that the left upper corner of the panel is 0,0), how can i do it? ...
10
Mas Juliza Alias
by: Mas Juliza Alias | last post by:
I have a table (MSFlexgrid1) in a form (frmCalculate) containing 2 columns of Depth and Volume data. I want to draw a line graph of Depth Vs Volume in a new form (frmGraph) by using MSChart control....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.