ronc0011 Posted July 28, 2015 Share Posted July 28, 2015 I've been trying for 2 hours to set the thickness on an hr tag and no matter what I try the best I can get is something that looks like a box. If I give it something like size: 25em; or height;20px; "whichever you like" the best I can get is something that looks like a box, a vertical line on the right side that is apparently 25 em high with a horizontal line that appears to be maybe 2px high. Is there a way to actually change the thickness of the line/ Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/ Share on other sites More sharing options...
NomadicJosh Posted July 28, 2015 Share Posted July 28, 2015 Check out this stackoverflow post and see if this may help you with your issue: http://stackoverflow.com/questions/4151743/how-i-change-the-thickness-of-my-hr-tag Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517562 Share on other sites More sharing options...
ronc0011 Posted July 28, 2015 Author Share Posted July 28, 2015 I've already read that one ond all the others that show up on the first page of a Google search. they all give the results I described here. So apparently there is no way to actually set the thickness of the line. I even tried just using a underscores in a h1 tag and then styling with margin font-weight, font-size etc. but couldn't actually get reliable cross browser results i.e. centering etc. BTW this is for an Ebay listing which allows HTML in its editing page Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517564 Share on other sites More sharing options...
ronc0011 Posted July 28, 2015 Author Share Posted July 28, 2015 Oh yeah I forgot to mention I'm creating this in my Visual Studio IDE. Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517565 Share on other sites More sharing options...
Solution cyberRobot Posted July 28, 2015 Solution Share Posted July 28, 2015 (edited) Are you able to use CSS? If so, you could try using border. <hr style="border-bottom:10px solid #999;" /> Note that the <hr> tag might not be necessary. You could use it on other tags like the <p> tag. Edited July 28, 2015 by cyberRobot 1 Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517567 Share on other sites More sharing options...
ronc0011 Posted July 28, 2015 Author Share Posted July 28, 2015 Hmm I'll give it a try. We'll see. Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517570 Share on other sites More sharing options...
ronc0011 Posted July 28, 2015 Author Share Posted July 28, 2015 Haa!! That worked !! Great! Who'd a thunk it Thanks I appreciate the input. Quote Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517571 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.