Applellial Posted June 10, 2011 Share Posted June 10, 2011 I'm not exactly sure how to do this with CSS, and I'm having trouble googling about it too because I'm not sure what it's called. What I want to do is have a line going across my div separating different elements of text. Basically, what I am going for is exactly how the DIC comments section is set up on your profile page. Is this a special element or do they use an image? I'd really like to do it without an image, is this possible? Thanks for the help! Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/ Share on other sites More sharing options...
fugix Posted June 10, 2011 Share Posted June 10, 2011 use the <hr> tag, stands for horizontal line Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/#findComment-1227913 Share on other sites More sharing options...
redixx Posted June 14, 2011 Share Posted June 14, 2011 Alternatively you could just use a CSS border on the bottom of an element. div { border-bottom:1px solid #000; } But, ideally you should be using the <hr> tag... that is its purpose. Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/#findComment-1229558 Share on other sites More sharing options...
requinix Posted June 14, 2011 Share Posted June 14, 2011 use the tag, stands for horizontal line *coughhorizontalrule* Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/#findComment-1229564 Share on other sites More sharing options...
cssfreakie Posted June 14, 2011 Share Posted June 14, 2011 use the <hr> tag, stands for horizontal line *coughhorizontalrule* in chinese you pronounce the R as L Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/#findComment-1229568 Share on other sites More sharing options...
fugix Posted June 14, 2011 Share Posted June 14, 2011 use the <hr> tag, stands for horizontal line *coughhorizontalrule* in chinese you pronounce the R as L yeah you're right, horizontal rule lol...not sure where my mind was there Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/#findComment-1229573 Share on other sites More sharing options...
savister Posted June 15, 2011 Share Posted June 15, 2011 Probably a bottom or top border will do. Quote Link to comment https://forums.phpfreaks.com/topic/238950-line-separator/#findComment-1230036 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.