|
-
Feb 28th, 2005, 03:58 AM
#1
[RESOLVED] CSS, XHTML: problem with <hr />
i have a problem with displaying a horizontal rule (<hr />).
i am trying to display a <hr /> 35 pixels from the bottom of the page.
HTML Code:
<hr style="position:absolute; bottom:35px;" />
this doesnt seem to work. any ideas on how to do this?
-
Feb 28th, 2005, 09:33 AM
#2
Fanatic Member
Re: CSS, XHTML: problem with <hr />
HTML Code:
<hr style = "position:absolute; left:10px; bottom:35px;" />
I am not sure what isn't working for you. The above works fine for me. The only thing that I added was a left property because if it's not specified the left property isn't defined and appears in the document to the right of the last element. If you are using absolute positioning you should specify top or bottom and left or right.
-
Mar 1st, 2005, 12:20 AM
#3
Re: CSS, XHTML: problem with <hr />
thanks for the help.
i got it to work by adding the left and right properties.
-
Jul 22nd, 2005, 02:51 AM
#4
Hyperactive Member
Re: CSS, XHTML: problem with <hr />
make this thread resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|