Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   1,000 Directory Submissions   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-06-2007, 09:15 AM   #1 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 349
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
Need help with absolute position overlapping divs

www.missionenvironment.com/test

I want to move the top nav menu above the header picture. I cannot seem to do this with the way the header image is implemented. Should I not use the span to put the image there? Or am I missing something?

CSS: www.missionenvironment.com/screen.css

Thanks
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-06-2007, 09:28 AM   #2 (permalink)
Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,052
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
Just move <div id="navcontainer"> above you header pic. (Just below <div id="container"> and before <H1>)

Should do the trick.

Let me know...

Edit: Be sure to move all the code which appears within "navcontainer" to the new location.
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett

Last edited by StarLab : 11-06-2007 at 09:29 AM. Reason: Additional info
StarLab is online now  
Add Post to del.icio.us
Reply With Quote
Old 11-06-2007, 03:20 PM   #3 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 349
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
Didnt work. Check out the page. The header image just covers up the menu.
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-06-2007, 04:29 PM   #4 (permalink)
Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,052
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
Your use of the <span/> tag messed me up a bit, actually.

So, a couple more things to do:
Quote:
h1 {
background:#44CCFF none repeat scroll 0%;
color:#FFFFFF;
font-family:verdana,arial,sans-serif;
font-size:18px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
height:98px;
line-height:22px;
padding:32px 8px 0pt 0pt;
position:relative;
text-align:right;
width:772px;
}
Delete the "background" line altogether since "h1 span" is taking care of that.
Change:
height:118px;

Quote:
h1 span {
background:transparent url(SitePath/testbanner.jpg) repeat scroll 0%;
height:130px;
left:0pt;
position:absolute;
top:0pt;
width:780px;
}
Change:
top: 15pt;

You can change the new values to suit your own taste.

Hopefully that will work for you this time.
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett

Last edited by StarLab : 11-06-2007 at 04:31 PM. Reason: Removed link to graphic
StarLab is online now  
Add Post to del.icio.us
Reply With Quote
Old 11-06-2007, 08:23 PM   #5 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 349
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
Perfect, thanks.

Do you think the coding for this is the way it should be done? A lot of people get thrown off by the span and I feel like its not the normal way of doing this...
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-06-2007, 08:52 PM   #6 (permalink)
Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,052
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
No problem. Glad I could help.

As far as how you used the <span/> tag, it works and the css validates fine.

I'm likely not the best one to say if it's proper or not. Perhaps others might have something to say on this?

PS: You have an error on XHTML validation. You defined id="open2" twice. Might want to fix that up
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett

Last edited by StarLab : 11-06-2007 at 08:57 PM. Reason: Added PS
StarLab is online now  
Add Post to del.icio.us
Reply With Quote
Old 11-21-2007, 07:07 PM   #7 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 349
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
CSS: www.missionenvironment.com/test/screen.css
URL: www.missionenvironment.com/test

Ok, so the coding before has worked, except the hover effect does not work. I moved the navbar to the footer and it works, so it is not the nav css, but rather the H1 and span messing up my navbar. Any suggestions?
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-22-2007, 06:00 AM   #8 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
The hover effect works just fine in IE 7.
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-22-2007, 09:28 AM   #9 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 349
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
I also fixed this and forgot to delete my post. thanks anyway
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB 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
Overlapping image links Chaky Graphic Design Forum 2 04-13-2008 05:58 PM
Image overlapping a table? tresmom Coding Forum 3 07-11-2007 07:44 PM
Help! Text overlapping txlogopros Web Design Lobby 1 11-28-2006 02:40 PM
Absolute best way to design navigation. newsguy Web Design Lobby 2 11-20-2004 12:37 PM
Netscape absolute path tiger Web Design Lobby 4 10-17-2003 05:21 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:52 PM.
© Copyright 2008 V7 Inc