Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on 

Where is this formatting coming from?

Head out to http://countryshowdown.com/app/songwriting_contestant_list.php

I want to move that red box with the countdown to the center of the page. I've tried things like <div align="center"> all to no avail.

I determined that if I could find where the formatting for that red box was originating, perhaps it would be there that I could better manipulate where it was positioned on the page, but I can't find anything.

Hence, my reaching out to the ninjas. Can you see where this red box is coming from? The Javascript itself is just the computations for the date, there's no visual formatting happening.

What do you think?
CSS

Avatar of undefined
Last Comment
Scott Fell
Avatar of Bruce Gust
Bruce Gust
Flag of United States of America image

ASKER

And in case you're wanting to see the style sheet, you can find that at http://www.countryshowdown.com/app/css/style.css
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Bruce Gust
Bruce Gust
Flag of United States of America image

ASKER

That did it!

Thanks!
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Your welcome.  This is very easy to find if you use chrome console or firefox firebug.  You can right click on any element and it shows you exactly what css elements are manipulating the html elements.  

Check out https://developers.google.com/chrome-developer-tools/ or https://getfirebug.com/wiki/index.php/CSS_Panel
CSS
CSS

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo