# Css and Rails

**URL:** <https://www.ruby-forum.com/t/css-and-rails/109859>\
**Category:** Rails\
**Created:** [July 19, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859 "2007-07-19T18:37:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mxruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@mxruby](https://www.ruby-forum.com/u/mxruby)\
**Post date:** [July 19, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859/1 "2007-07-19T18:37:32Z")

</div>

It seems to not make any difference the folowing css code to the rails  
application any suggestion.

ul#categories {  
width: 700px;  
text-align: center;  
padding: 5px;  
background-color: #ececec;  
border: 1px solid #ccc;  
margin-bottom: 20px;  
}

ul#categories li {  
display: inline;  
padding-left: 5px;  
}

---

<div class="post-metadata">

**Author:** ![mxruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@mxruby](https://www.ruby-forum.com/u/mxruby)\
**Post date:** [July 19, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859/2 "2007-07-19T18:55:22Z")

</div>

On Jul 19, 2007, at 11:37 , Ja Tse wrote:

> It seems to not make any difference the folowing css code to the rails  
> application any suggestion.

This is really not a Rails question, but here are some things to check.

- Clear your browser cache.
- Verify that the stylesheet is being loaded
- Verify you have ul elements with id=“categories”

Michael G.  
grzm seespotcode net

---

<div class="post-metadata">

**Author:** ![mxruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@mxruby](https://www.ruby-forum.com/u/mxruby)\
**Post date:** [July 19, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859/3 "2007-07-19T19:06:17Z")

</div>

Hi Michael I am doing a tutorial from Rails made Easy book and I  
followed everything according to the book. And everytime I reach at  
this point nothing  
happen. The rest of the CSS code works but when I add the last 2  
nothing happens. I did verify the ul element and is there.

Do I just clear the history of the browser if I want to clear my browser  
cache ?

And what about loading my browser is loading ?

---

<div class="post-metadata">

**Author:** ![mxruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@mxruby](https://www.ruby-forum.com/u/mxruby)\
**Post date:** [July 19, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859/4 "2007-07-19T19:11:27Z")

</div>

On Jul 19, 2007, at 12:06 , Ja Tse wrote:

> Do I just clear the history of the browser if I want to clear my  
> browser  
> cache ?

Usually browser history and browser cache are different. I suggest  
you look in the documentation for your browser or google.

Michael G.  
grzm seespotcode net

---

<div class="post-metadata">

**Author:** ![mxruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@mxruby](https://www.ruby-forum.com/u/mxruby)\
**Post date:** [July 19, 2007, 7:21pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859/5 "2007-07-19T19:21:47Z")

</div>

Yep works, Thank you.

Why do ~I need to clear it ?

---

<div class="post-metadata">

**Author:** ![mxruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@mxruby](https://www.ruby-forum.com/u/mxruby)\
**Post date:** [July 19, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/css-and-rails/109859/6 "2007-07-19T19:34:29Z")

</div>

On Jul 19, 2007, at 12:21 , Ja Tse wrote:

> Yep works, Thank you.

Great.

> Why do ~I need to clear it ?

Ja Tse,

This is not the appropriate forum to be asking these questions. I’ve  
tried to provide you with tools to solve your issue yourself. I  
suggest you google or perhaps view the archives of the CSS-discuss list.

[http://www.css-discuss.org/](http://www.css-discuss.org/)

If you have a Rails-specific question, please feel free to ask.

Michael G.  
grzm seespotcode net
