techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Programming & Webmastering

Reply
 
Thread Tools
Old Jan 7, 2013, 02:30 AM   #1
stinger608
Eligible for custom title
 
stinger608's Avatar
 
Join Date: Nov 2008
Location: Wyoming
Posts: 5,476 (3.31/day)
Thanks: 7,844
Thanked 2,526 Times in 1,774 Posts
Send a message via MSN to stinger608

System Specs

Question about horizontal rule

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.......... I know when someone helps me I am going to pretty much say "Doh"
__________________
#3 Forever A Fan!
Just Because I Don't Care Doesn't Mean I Don't Understand



Check our team Status on Free-DC
stinger608 is offline  
Crunching for Team TPU
Reply With Quote
Old Jan 7, 2013, 03:27 AM   #2
TRWOV
2000 Posts
 
TRWOV's Avatar
 
Join Date: Aug 2011
Location: Mexico
Posts: 2,052 (3.16/day)
Thanks: 791
Thanked 1,065 Times in 553 Posts

System Specs

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;

}
__________________

My other rigs:
OCTANUX - Conroe865PE - QX6800 - 4GB OCZ Platinum EL - HIS HD4670 AGP - SB Audigy 2 ZS - BFG PPU
phenomenal - AM2NF3-VSTA - 965BE - 8GB OCZ Platinum LV - HIS HD3850 AGP - SB X-Fi - Asus PPU - *WIP*
Green Tea - 939A8X-M - FX60 - 4GB OCZ Platinum EL - 7950GT AGP
Re-build - CT-6VTA2 - PIII 600E - 384MB PC133 - Voodoo 5500 AGP - SB16 ISA
BLUELINE - H61M-GE - PDC G645 - 8GB DDR3-1333 - Powercolor HD7750 - 2xTV Wonder 650

Last edited by TRWOV; Jan 7, 2013 at 03:32 AM.
TRWOV is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to TRWOV For This Useful Post:
Old Jan 7, 2013, 03:53 AM   #3
stinger608
Eligible for custom title
 
stinger608's Avatar
 
Join Date: Nov 2008
Location: Wyoming
Posts: 5,476 (3.31/day)
Thanks: 7,844
Thanked 2,526 Times in 1,774 Posts
Send a message via MSN to stinger608

System Specs

Quote:
Originally Posted by TRWOV View Post
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.
__________________
#3 Forever A Fan!
Just Because I Don't Care Doesn't Mean I Don't Understand



Check our team Status on Free-DC
stinger608 is offline  
Crunching for Team TPU
Reply With Quote
Old Jan 16, 2013, 07:09 AM   #4
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,766 (4.18/day)
Thanks: 184
Thanked 10,215 Times in 3,159 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard

System Specs

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
W1zzard is offline  
Reply With Quote
The Following User Says Thank You to W1zzard For This Useful Post:
Old Jan 16, 2013, 06:53 PM   #5
stinger608
Eligible for custom title
 
stinger608's Avatar
 
Join Date: Nov 2008
Location: Wyoming
Posts: 5,476 (3.31/day)
Thanks: 7,844
Thanked 2,526 Times in 1,774 Posts
Send a message via MSN to stinger608

System Specs

Quote:
Originally Posted by W1zzard View Post
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?
__________________
#3 Forever A Fan!
Just Because I Don't Care Doesn't Mean I Don't Understand



Check our team Status on Free-DC
stinger608 is offline  
Crunching for Team TPU
Reply With Quote
Old Jan 16, 2013, 06:56 PM   #6
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,766 (4.18/day)
Thanks: 184
Thanked 10,215 Times in 3,159 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard

System Specs

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
W1zzard is offline  
Reply With Quote
The Following User Says Thank You to W1zzard For This Useful Post:
Old Jan 17, 2013, 07:35 PM   #7
stinger608
Eligible for custom title
 
stinger608's Avatar
 
Join Date: Nov 2008
Location: Wyoming
Posts: 5,476 (3.31/day)
Thanks: 7,844
Thanked 2,526 Times in 1,774 Posts
Send a message via MSN to stinger608

System Specs

Quote:
Originally Posted by W1zzard View Post
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
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.
__________________
#3 Forever A Fan!
Just Because I Don't Care Doesn't Mean I Don't Understand



Check our team Status on Free-DC
stinger608 is offline  
Crunching for Team TPU
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal transparent Lines justtakemymoney General Hardware 8 Aug 10, 2012 07:48 PM
HD 6870 Horizontal Lines Rewt0r AMD / ATI 3 May 14, 2012 01:46 AM
Horizontal yellowish line LCD TV $immond$ Audio, Video & Home Theater 2 Jul 20, 2011 02:09 PM
PC causes horizontal line on LCD TV cly General Hardware 9 Jul 16, 2010 07:15 PM
Horizontal Cases / Media PC TonyStark Cases, Modding & Electronics 5 Aug 19, 2008 04:25 AM


All times are GMT. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts