SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Nov 2004
    Location
    Florida, USA
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rearranging HTML source order using CSS

    On page 34 of "HTML Utopia" 2nd edition I came across the following interesting quote: "... if you have a newsletter subscription form, or some other lengthy chunk of HTML that won't mean a lot to a search engine, feel free to move its code to the end of your HTML document and use CSS to ensure that it's displayed near the top of the browser window". I could not find in the rest of the book any direct explanation of how to do this rearranging of a HTML source. Can someone direct me to a good example where this is actually done?

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whatever example that is given would need to relate directly to the layout in question, but basically you could use either floats or absolute positioning to place content that falls later in the source at a higher position on the screen (or vice versa).


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
  •