SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Absolute Positioning Shaping up using CSS "Build your own website the right way"

    I am stuck on page 151 Absolute Positioning Shaping up using CSS "Build your own website the right way"
    Until page 150 I have been using the same note pad to write the code for the 3 pages. On page 151 where do i write this code for absolute positioning and what do I save it as. As far as I can see this page has some HTML and some CSS
    Can somebody help?

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,540
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Assuming I have the same version of the book as you it says on page 151:

    Add the following to the end of your css file:
    style1.css (excerpt)

    #navigation,#bodycontent,#header{position:absolute}
    So you would just add that to the end of the CSS file you have been working with. I don;t see that there is any room for confusion there unless I'm looking at an older/newer version than you.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •