-
CSS, Tables and <hr> tags
The plot thickens...
OK I put my hrs in a table and for some reason (despite setting the width) they all stretch across its entire width.
Any ideas?
Max
-
-
Well, <hr> doesn't belong in a <table> exactly, if that's exactly what you mean. They could go in a <td> within a <tr> within a <table> which is probably what you meant. I mention this just in case and also because for the width of the <hr>, if expressed as a %, to have much meaning within a <td>, the <td>'s width must also be set. If you set an <hr>'s width in absolute units like pixels (not generally a good idea) they should appear that width no matter what, unless you made an error in setting their widths or placed them somewhere that they don't belong.
-
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
Bookmarks