# Rendering the correct UI elements

**URL:** https://forum.kirupa.com/t/rendering-the-correct-ui-elements/639317
**Category:** web dev
**Created:** [January 24, 2019, 7:46pm UTC](https://forum.kirupa.com/t/rendering-the-correct-ui-elements/639317 "2019-01-24T19:46:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![treeeest](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@treeeest](https://forum.kirupa.com/u/treeeest)
#### Post date: [January 24, 2019, 7:46pm UTC](https://forum.kirupa.com/t/rendering-the-correct-ui-elements/639317/1 "2019-01-24T19:46:44Z")

</div>

I am brand new to CSS/HTML/JavaScript and I am having some trouble figuring out how everything connects and works. Right now I have a situation where my selector styles within one page view are being overlooked and my generic cssbutton.css class is taking over the styling of elements on the page. I cannot change the cssbutton.css styles as it will change the styles on every other page as well. I am curious why might my javascript file wont drill in deeper to access the styles I have placed within my planning.css file.

I can add clips of code need be.

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [January 24, 2019, 11:00pm UTC](https://forum.kirupa.com/t/rendering-the-correct-ui-elements/639317/2 "2019-01-24T23:00:50Z")

</div>

If you can share code snippets or a link to the page containing the improperly styled elements, that would be helpful 🙂

Thanks,  
Kirupa
