- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi all,
This is my first post here, so hi to everyone. I hope someone can help me.
Problem: the atributes I’ve set in the CSS for the main content (#content) is not applied on my page http://thewhitneyvault.ch:
CSS:
#content { width: 650px; float: left; min-height: 600px; padding: 20px 15px 20px 15px; margin: 20px 0px 20px 5px; background: rgb(143, 133, 155); /* The Fallback */ background: rgba(143, 133, 155, 0.8); -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; -moz-box-shadow: 0 0 10px #999; -webkit-box-shadow: 0 0 10px #999; -webkit-traensition: all 0.1s ease-out; border: 5px solid white; }
‘Pages: ‘, ‘next_or_number’ => ‘number’)); ?>
You can also see in chrome, that the css is not applied to the content area:
[img]http://thewhitneyvault.ch/im/css_not_applied.jpg[/img]
Looking forward to your help! Thanks!
Roland
Problem solved thanks to @MartyRomero from twitter…
Had to change "#content" to ".content"
(alternative: I could have changed class="content" to id="conetent" in the html)