Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

12. Layout and Positioning: Arranging El... > Let’s take Starbuzz to the next leve...

Let’s take Starbuzz to the next level

Here’s the goal: to turn Starbuzz Coffee into the site on the right. To do that, we need to move the Bean Machine sidebar over to the right so we’ve got a nice two-column page. Well, you’ve done this once already with the lounge, right? So, based on that, here’s what you need to do:

  1. Give the element you’re going to float a unique name using an id. That’s already done.

  2. Make sure the element’s XHTML is just below the element you want it to float under; in this case, the Starbuzz header.

  3. Set a width on the element.

  4. Float the element to the left or the right. It looks like you want to float it right.

Let’s get started. In a few simple steps, we should have the Starbuzz CEO sending a few Chai Teas over on the house.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial