473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 45950
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.ind ividual.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@soni c[no spam].net> wrote in message
news:v6******** ***********@typ hoon.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
2721
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 another line, connecting User1's, and User2's current X,Y position. Same thing happens with User2. But User3, and User4 is not drawing, and see the lines drawn individually.
19
4804
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 code will trace these coordinates on the image and draw the line between these two points. Can anyone please help me in writing the javascript code of this problem? Thanks and Regards Atif
2
11257
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 the final line is drawn. How to avoid the series of lines being generated during mouse move event? How to get the rubberband effect when the user moves the mouse? I tried using the ControlPaint.Reversible line but this does not help
3
6927
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 help me point out the wrong place? Thanks very much! void bres_line(int x0,int y0,int x1,int y1,int color) { int dx,dy,h,x,y,numx=1,numy=1,tag=1; if (x0>x1) numx=-1; if (y0>y1) numy=-1; if(numx!=numy) tag=-1;
0
1743
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 text box and then generates an image which shows a Arrow pointer dipicting that percentage on the Arc (or guage). I am dynamically generating the arcs and the pointer using Draw Pie ( and
2
1976
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 is when i'm attempting to draw a line from that usercontrols one of the labels image to the other similar control, the line is getting drawn, but the line is being drawn from the behind of the control, but its not coming on top of the control....
0
1197
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 with loclation of the user control i am drawing line. but it is not generating MouseUp events.
4
3775
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? Thanks, Gidi.
10
14684
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. How can I do this?
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.