CSS DiscussionCSS Discussion

CSS Discussion

You are not logged in.

RSS Feed

#1 2010 Jan 21st 6:02pm
smithaa99
New Member
Posts: 1

Can't get RGBA color box to show up?

My rgba value isn't showing up on the page I'm creating. It's basically a color block with text in it, or it's supposed to be. Can anyone tell me why?

Below is the style sheet I'm currently working on:

@charset "utf-8";
/* Main Index */

*          { margin:0; padding:0 }
body       { font: 14px Arial, Helvetica, sans-serif; background: url(Images/legend-bg-small.jpg) fixed no-repeat; }

#page-wrap { width:500px; margin:0 auto; }
#main-content { float:left background: rgba (154,205,50); padding: 16px; width: 350px; -moz-border-radius: 16px; -webkit-border-radius: 16px; border-radius: 16px; }
#sidebar { float:right; width: 242px ; }

Offline

 

#2 2010 Jan 28th 11:06am
littleBird
CSS Expert
Posts: 237
Website

Re: Can't get RGBA color box to show up?

missing a ; after your float command, which means the background is probably being ignored.


littleBird, big mouth!

Offline

 

Board footer

Here are our fancy Validator and PunBB footer links.