Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

[SOLVED] Divs not shown properly in FF and Chrome


Reply

4 Posts   1167 Views

Avatar
quanto

24 February 2011 at 4:03am (Last edited: 24 February 2011 4:43am), Community Member, 81 Posts

I'm an semi-pro web developer and work for the first time with the SilverStripe CMS. Currently i'm building the layout for [url=http://bit.ly/e45CB9]this website[/url].

I have some problems with styling DIV's. The DIV's #row_top, #menubar and .callmeback are not using the defined CSS code. The other DIV's are working well.

What am I doing wrong? When I put the code in a static (non-cms) environment it works.

Avatar
Invader_Zim

24 February 2011 at 5:08am (Last edited: 24 February 2011 5:08am), Community Member, 141 Posts

I only had a quick look in firebug....
Try to replace everything in uppercases with lowercases (eg.: DIV, SPAN with div, span) in your stylelayout.css.

Cheers

Avatar
quanto

24 February 2011 at 5:21am Community Member, 81 Posts

NOOOOO! It worked! It took me 4 hours of bugfixing. With putting everything in lowercase it works! Thanks!

Avatar
Invader_Zim

24 February 2011 at 6:21am Community Member, 141 Posts

Wow, great *throws confetti*

I wasn't sure about that and learned something new as well :-)

Cheers