Today my husband asked me for some styling help. He doesn’t
know html and css. Sometimes he will need help in his work for changing minor
styles. At that time I will feel like a superhero, I will change the color and
show him some magic with colors :P He will be like, ”Oh baby you are so
talented!!”
I helped him in styling a table. Whatever I do, the styles
didn’t reflect in the page. I was confused. I stopped all my household works , took
his laptop and started debugging. My husband looked at me as if I was diffusing
a bomb. I tried all the combinations of selector, restarted the server,
refreshed page like 100 times but styles didn’t reflect. I checked the css file
in sources tab, styles are available there, but is not rendered in Styles tab.
Finally I found the issue.
It was because of an unwanted { before the style which was
not reflecting in css file. My husband was happy when I found the issue. He praised me again:P
Little he knew that I should have checked for an extra bracket before all the
fuss.
Comments
Post a Comment