Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2003
    Posts
    1,155
    Plugin Contributions
    0

    Default CSS - put page content higher in source than horizontal header menu code - how?

    I use templates that use a horizontal header css menu.

    The menu contains a lot of entries. This means that the actual article content is way down the source page. As I understand things, search engines give lower weight to data found lower in the source.

    To help remedy this, would it be possible to somehow have the page content higher in the source but still display the horizontal menu in the header in the browser, above the page content?

    I've seen where you can 'float' left or right, thus allowing you to put content higher in the source and float it 'right', and then put the leftside vertical menu stuff in below the content but float it 'left'. This displays the menu on the left and the content on the right.

    Is it possible to float 'top' or 'bottom' or something like that?

    Any other solutions?

    Many thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    If you view the loaded page source - this is constructed in order of how the page is laid out.

    Do you want to alter how the page displays?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    You can only float left and right. The idea is that elements float up naturally, in the order in which they are presented, to the highest free position.

    To present something last, yet have it appear near the beginning can be done, but needs a high degree of CSS skill, and I'm not sure what the impact of those drop down menus would be.

    I recommend Googling CSS-P or "absolute positioning in CSS"
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Nov 2003
    Posts
    1,155
    Plugin Contributions
    0

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    Thanks so much, looks like CSS-P is the way to go, time to start experimenting, thanks, again

  5. #5
    Join Date
    Nov 2003
    Posts
    1,155
    Plugin Contributions
    0

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    Could this be done using DIVs as well ?

    Many thanks

  6. #6
    Join Date
    Nov 2003
    Posts
    1,155
    Plugin Contributions
    0

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    How about working with 'margin-top' to position things?

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    Quote Originally Posted by DogTags View Post
    Could this be done using DIVs as well ?

    Many thanks
    You would need some form of XHTML in which to hold the things that you were moving around, and DIVs would be a legitimate container. But they can't do the work of moving things for you.

    Quote Originally Posted by DogTags View Post
    How about working with 'margin-top' to position things?
    margin-top can only push elements apart or draw them together, so you would only be able to move elements up to a fixed location is your pages were all exactly the same height. Even then, it would push everything else out of the way to get there, messing up the layout of your pages.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Nov 2003
    Posts
    1,155
    Plugin Contributions
    0

    Default Re: CSS - put page content higher in source than horizontal header menu code - how?

    Many thanks

 

 

Similar Threads

  1. layout changed after installed CSS Horizontal Drop Down Menu (CSS Flyout Header 1.5)
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Feb 2014, 04:02 PM
  2. v151 How to uninstall CSS Horizontal Drop Down Menu (CSS Flyout Header 1.5)
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Feb 2014, 07:39 AM
  3. Source code didn't change the page source
    By wilson_li in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Sep 2011, 02:33 PM
  4. CSS Horizontal Dynamic Menu Error
    By windmill74 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Dec 2008, 11:25 PM
  5. CSS Horizontal Drop Down menu - dropdown menu width...
    By intrium in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Aug 2008, 06:48 PM

Posting Permissions

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