• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Question about horizontal rule

stinger608

Dedicated TPU Cruncher & Folder
Joined
Nov 11, 2008
Messages
9,641 (2.87/day)
Likes
8,543
Location
Wyoming
System Name Dean Machine
Processor Intel 4790K
Motherboard MSI 1150 Gaming mATX
Cooling Corsair H100i and video card custom loop
Memory 16 gigs Crucial Ballistix Tactical Tracer
Video Card(s) Dual liquid cooled HD7970's (Thanks to Norton!!!)
Storage Crucial M4 256 gig SSD
Display(s) Overlord 27" 2560 x 1440
Case Corsair Air 540
Audio Device(s) On board
Power Supply Seasonic modular 850 watt Platinum
Software Windows 10 Pro
#1
Okay I know that the ["hr"] (without Quotation marks) will give the horizontal rule in the forum posts.

My question is this:

How do I resize the hr?

How do I change the color of the hr?

I know the HTML would look something like this:

Code:
<hr size=5; color=red;>
I have tried several different codes within the TPU forums and I cannot seem to resize the hr or change the color.

Thanks in advance..........:laugh: I know when someone helps me I am going to pretty much say "Doh" :roll:
 
Joined
Aug 11, 2011
Messages
4,335 (1.84/day)
Likes
3,020
Location
Mexico
System Name STEAMBOX | GAMECUBE | EQC (Everyday Quad Core)
Processor i5 4590@3.7Ghz |i7 3770K@4Ghz -|- Athlon 5350@2.52Ghz
Motherboard GA-B85N PHOENIX | Asrock Z77E-ITX | Asus AM1I-A
Cooling Stock | Antec Kuhler 620 | Reeven Vanxie
Memory 2x4GB ADATA XPG 1600Mhz | 2x4GB Kingston 1866Mhz -|- 2x4GB Crucial Ballistix@1920Mhz
Video Card(s) RX 480 Nitro | Sapphire RX 480 w/Accelero Mono Plus | HD 8400 @ 720Mhz (IGP)
Storage LiteON 128GB mSATA+3TB Seagate | Seagate 1TBxSamung 64GB SSD (Intel RST) | Kingston v300 240GB
Display(s) Daewoo 49" 1080p | ASUS PA248Q 1920x1200 IPS
Case Corsair 250D | CoolerMaster Elite 110 | Acteck Fiji
Audio Device(s) Onboard
Power Supply Seasonic SS-660XP2 | Silverstone SFX-450 | 200w mini FLEX PSU
Software Windows 10 64bit
#2
I think you'd need to have access to the site's css files to do that. The hr command just shows an horizontal rule with the parameters specified in the css. Something like:

Code:
hr
{
	height: 1px;
	border: 0;
	color: #000000;
	background-color: #000000;

}
 
Last edited:

stinger608

Dedicated TPU Cruncher & Folder
Joined
Nov 11, 2008
Messages
9,641 (2.87/day)
Likes
8,543
Location
Wyoming
System Name Dean Machine
Processor Intel 4790K
Motherboard MSI 1150 Gaming mATX
Cooling Corsair H100i and video card custom loop
Memory 16 gigs Crucial Ballistix Tactical Tracer
Video Card(s) Dual liquid cooled HD7970's (Thanks to Norton!!!)
Storage Crucial M4 256 gig SSD
Display(s) Overlord 27" 2560 x 1440
Case Corsair Air 540
Audio Device(s) On board
Power Supply Seasonic modular 850 watt Platinum
Software Windows 10 Pro
#3
I think you'd need to have access to the site's css files to do that. The hr command just shows an horizontal rule with the parameters specified in the css. Something like:

Code:
hr
{
	height: 1px;
	border: 0;
	color: #000000;
	background-color: #000000;

}

Mmm, yea I thought there was a way that the person posting could change the color and size of the horizontal rule. Maybe I am wrong. :p
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
17,170 (3.43/day)
Likes
18,147
Processor Core i7-4790K
Memory 16 GB
Video Card(s) GTX 1080
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 7
#4
you use css to style it, possible alternative is just using css border on the container before or after where you want the hr. another option is to use css :before and :after
 

stinger608

Dedicated TPU Cruncher & Folder
Joined
Nov 11, 2008
Messages
9,641 (2.87/day)
Likes
8,543
Location
Wyoming
System Name Dean Machine
Processor Intel 4790K
Motherboard MSI 1150 Gaming mATX
Cooling Corsair H100i and video card custom loop
Memory 16 gigs Crucial Ballistix Tactical Tracer
Video Card(s) Dual liquid cooled HD7970's (Thanks to Norton!!!)
Storage Crucial M4 256 gig SSD
Display(s) Overlord 27" 2560 x 1440
Case Corsair Air 540
Audio Device(s) On board
Power Supply Seasonic modular 850 watt Platinum
Software Windows 10 Pro
#5
you use css to style it, possible alternative is just using css border on the container before or after where you want the hr. another option is to use css :before and :after
That would work within these forums?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
17,170 (3.43/day)
Likes
18,147
Processor Core i7-4790K
Memory 16 GB
Video Card(s) GTX 1080
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 7
#6
no, tpu forums dont allow you to post html

if you are asking how to change the HR here on the forum, you can't.

your best option is to create an image and insert that
 

stinger608

Dedicated TPU Cruncher & Folder
Joined
Nov 11, 2008
Messages
9,641 (2.87/day)
Likes
8,543
Location
Wyoming
System Name Dean Machine
Processor Intel 4790K
Motherboard MSI 1150 Gaming mATX
Cooling Corsair H100i and video card custom loop
Memory 16 gigs Crucial Ballistix Tactical Tracer
Video Card(s) Dual liquid cooled HD7970's (Thanks to Norton!!!)
Storage Crucial M4 256 gig SSD
Display(s) Overlord 27" 2560 x 1440
Case Corsair Air 540
Audio Device(s) On board
Power Supply Seasonic modular 850 watt Platinum
Software Windows 10 Pro
#7
no, tpu forums dont allow you to post html

if you are asking how to change the HR here on the forum, you can't.

your best option is to create an image and insert that
:laugh: Yep that is what I was asking. Thanks for clearing that up man.

I knew how to do it in HTML with CSS and all. :toast: