Placing Logo on top

This is a discussion on "Placing Logo on top" within the Web Page Design section. This forum, and the thread "Placing Logo on top are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Dec 16th, 2007, 00:57
New Member
Join Date: Nov 2006
Location: Fairview, TN
Age: 20
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Placing Logo on top

If you go to www.xtremetj4x4.com you will see a site I am currently working on. I am using CSS for everything. The header has a logo in it. I want that logo XtremeTJ4x4 to go on top of the image below it. It has transparency. (It is a background image) It is has a height of 80px width of 760. The div its in should only be 44px. It is the same pixels as the menu buttons on there. I have it expanded to show the logo right now. I want to reduce it back. How do I go about getting the logo over the image below. It is in the same header tag.

I could make it just the logo. I could place it on top in an absolute position. I would have to make it where it used the inside position rather than the outside of the website. I don't know the code for that. So any ideas would be useful on it.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 16th, 2007, 09:04
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Placing Logo on top

First, put your "XtremeTJ4x4" logo into its own box. That could be an <img>, or a <div> with a CSS background. It needs its own box so that you can manipulate it independently of the navbar <ul>. Keep this box inside your header <div>.

Now give the header <div> the CSS {position: relative;}. Then, when you use {position: absolute;} on your new box, it will be positioned relative to the header, not the whole page.

Technical explanation: absolute positioning is calculated relative to the nearest positioned ancestor, or relative to the viewport if there is no positioned ancestor. By applying {position: relative;} to the container, you establish a new positioning context.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Placing navbar unitedcraig Web Page Design 5 Jan 31st, 2008 15:27
Logo legendrock Graphics and 3D 16 Jan 21st, 2008 17:24
Placing pictures in rows casho Website Planning 9 Nov 29th, 2007 17:46
Placing tables squirrel Web Page Design 8 Jun 30th, 2006 23:05
logo tuggers Graphics and 3D 0 Jun 3rd, 2005 13:04


All times are GMT. The time now is 19:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42