Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5

Thread: logo bar

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Posts
    8
    Member #
    11016
    I want a logo bar to stick right at the righthand corner of the page but whenever I preview the image is always a bit off the corner. Can anybody help?

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    I assume this is the top right corner. What you can do is use absolute positioning to "stick" the logo div (or any element) to a position on the page.

    Code:
    #logobar { position: absolute; top: 0; right: 0; }
    This puts the div 0px from the top and 0px from the right side... which gives you the top right corner.

  4. #3
    Junior Member
    Join Date
    Aug 2005
    Posts
    8
    Member #
    11016
    Thanx I meant the top left but all I have to do is replace "right" with left right?

  5. #4
    Junior Member
    Join Date
    Aug 2005
    Posts
    8
    Member #
    11016
    How do I input this into a html document?

  6. #5
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Code:
    <div id='logo' style='position: absolute; top: 0; left: 0;'><img src='image.jpg alt='' /></div>
    would be your code and you just need to change the image source to your own file and make the alt property.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:00 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com