June 14th, 2013, 04:20 AM
Why is there display none in source?
There is a div that contains the stars like this code inside each hotel box
But when I view source it says
Does anyone know whats going on?
<div class="stars" style=" display:none">
June 14th, 2013, 04:45 AM
I'm guessing you are pulling these <div> etc from a database.
Are you sure you haven't set an inline style when you loop through your data?
June 14th, 2013, 07:14 PM
Originally Posted by Nanomech
No I am not pulling these from database. There is no inline styling in CSS. I was thinking maybe its cche on my computer!
June 14th, 2013, 07:59 PM
June 14th, 2013, 08:03 PM
Originally Posted by richpri
June 26th, 2013, 03:41 AM
I think so your extracting the function from the database
Be conscious about the Inline function