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/ 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 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 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. Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517565 Share on other sites More sharing options...
cyberRobot Posted July 28, 2015 Share Posted July 28, 2015 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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/297521-cant-set-thickness/#findComment-1517571 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.