• Categories

  • Backlog

CSS Woes

So last night I started playing around after thinking how I bought Studio 8 yesterday afternoon, and just messing around with first Fireworks MX then Dreamweaver MX. After makin a basic header banner and started messing around in Dreamweaver. I had in mind a totally centered page, with an 800px header image and the same width body following.


body { background-color: #CCCCCC
}
.unnamed1 {
background-color:#CC0000;
text-align:center;
width: 800px;
}
.helper { text-align:center; }
.unnamed2 {
background-color:#FFFFFF;
width:800px;
height:85%;
}

This bit of code should be able to create a layout with a heather grey background. Then a red heading and the main body of the white, all centered. When the CSS is applied in this way (helper, unnamed1, unnamed2), this layout she work. To my amazement, it works exactly this way in Internet Explorer, but not Firefox.

Technorati Tags: , , Firefox

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: