The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Horizontal bar auto change color

View previous topic View next topic Go down

Solved Horizontal bar auto change color

Post by HoeGy48 on August 6th 2017, 10:48 am

Hello,

I'm knida having an annoying issue concerning my horizontal bars which i add in html pages using.
Code:
<hr color="white" />

The first time i made the page it looked like this, which is what i want.


But as soon i want to edit the page, and save it. The color of the horizontal bars auto change to dark grey.


Any idea what the problem could be?
avatar
HoeGy48
Forumember

Posts : 71
Reputation : 1
Language : Dutch

http://www.oriongaming.forumotion.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by Justice™ on August 6th 2017, 11:05 am

You are using an old HTML attribute that is not working in modern browsers. Use this:
Code:
<hr style="color:white"/>
Or even better:
Code:
<hr class="hrw"/>
and
Code:
hr.hrw{
color:white;
}
The color attribute is deprecated. Modern browsers just ignore it.
avatar
Justice™
Forumember

Posts : 517
Reputation : 119
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by HoeGy48 on August 6th 2017, 11:15 am

unfortunalely it doesn't change the color.
avatar
HoeGy48
Forumember

Posts : 71
Reputation : 1
Language : Dutch

http://www.oriongaming.forumotion.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by Justice™ on August 6th 2017, 11:19 am

Hmm, that's strange. Please post the link to the page where you are placing the code.
avatar
Justice™
Forumember

Posts : 517
Reputation : 119
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by HoeGy48 on August 6th 2017, 11:23 am

https://www.orion-gaming.com/h12-clan-roster

Now it's displaying white becuase i used the old HTML attribute you were speaking of, but i need to add all the lines again each time i edit something.
avatar
HoeGy48
Forumember

Posts : 71
Reputation : 1
Language : Dutch

http://www.oriongaming.forumotion.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by HoeGy48 on August 6th 2017, 11:33 am

Looks like the code was in my css already, i didn't realise it. Fixed it now, thanks for the help!
avatar
HoeGy48
Forumember

Posts : 71
Reputation : 1
Language : Dutch

http://www.oriongaming.forumotion.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by Justice™ on August 6th 2017, 11:40 am

Your welcome Wink
avatar
Justice™
Forumember

Posts : 517
Reputation : 119
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Horizontal bar auto change color

Post by APE on August 6th 2017, 12:41 pm


Thank you @Wolfuryo for your help.
@HoeGy48 Please remember to mark you threads as solved when they are done
This can be done in two easy step's just by clicking the Big mark as solved button on the top of your first post and then making a small post just saying solved

Thank you.

APE
Problem solved & topic archived.
Please read our forum rules: ESF General Rules



avatar
APE
Manager
Manager

Male Posts : 10815
Reputation : 1008
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum