Adding CSS properties for content area


show more Adding CSS properties for content area provides you with in-depth training on Developer. Taught by Chris Converse as part of the Create an Interactive Photo Gallery with jQuery and Dreamweaver show less
please wait ...

Adding CSS properties for content area

Now that we've completed our markup, let's switch over to Design view. In the CSS Styles panel, let's come over to .page_container and let's edit that rule. We're going to come down to Box properties. We're going to set this to 960. We're going to set 0 for all of the padding. For the margin, we're going to set 20 pixels on the top. We're going to set auto for right and left so this will center in the page and, 0 for the bottom. I can click Apply to see the changes take effect and then click OK.

Next, we're going to edit .gallery_credit. This is the upper left-hand corner. This where we're going to have our name. Let's go under the Box settings here, and so for credit we're going to set a width of 425. We're going to set Float left. We're going to set 0 for all the padding. Margin, we're going to set 0 on the top, 0 on the right, 10 on the bottom, and 15 on the left. Click Apply. I can see that change take place. Click OK. Let'...

Adding CSS properties for content area
Video duration: 4m 0s 1h 55m Intermediate

Viewers:

Adding CSS properties for content area provides you with in-depth training on Developer. Taught by Chris Converse as part of the Create an Interactive Photo Gallery with jQuery and Dreamweaver

please wait ...