Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Header Image Clearing In IE!
Old 02-15-2007, 04:13 PM Header Image Clearing In IE!
Novice Talker

Posts: 9
Trades: 0
Hey gang.

I'm having issues with my header. When someone resizes the page small enough, the right image clips below the header. I've fixed the problem in mozilla with min-width, but IE no likey that parameter, so i turn to you. The people.

here is the CSS:

body{
margin-top:0px;
margin-left:0px;
margin-right:0px;
}
#header{
background:url(../graphics/headerbg.jpg) repeat-x;
min-width:700px;
width;
height:200px;
}
#hdrlogo{
float:left;
background:url(../graphics/logoleft.jpg) left no-repeat;
width: 420px;
height:200px;
z-index:10;
}
#hdrright{
overflow:hidden;
top:0px;
float:right;
background:url(../graphics/header_right.jpg) right no-repeat;
width: 196px;
height: 200px;
z-index:5;
}

and the xhtml:


<body>
<div id="header">
<div id="hdrlogo"></div>
<div id="hdrright"></div>
</div>
</body>

I've also messed with the nesting of the logical divisons, but it doesn't work.

HELP!

sammers
samemrs is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-15-2007, 04:49 PM Re: Header Image Clearing In IE!
Novice Talker

Posts: 10
Trades: 0
there should be a number of things you can do.
try white-space: nowrap; as the header div style,
set the positions of the divs, or
put the 2 images in a table
devinb83 is offline
Reply With Quote
View Public Profile
 
Old 02-15-2007, 05:02 PM Re: Header Image Clearing In IE!
Novice Talker

Posts: 9
Trades: 0
I dont want to use a table frankly.
that other stuff didnt work.
samemrs is offline
Reply With Quote
View Public Profile
 
Old 02-15-2007, 06:17 PM Re: Header Image Clearing In IE!
Novice Talker

Posts: 9
Trades: 0
Ah i figured it out. Instead of nesting the images as background with CSS, just slap them directly into the xhtml code. works perfectly.
samemrs is offline
Reply With Quote
View Public Profile
 
Old 02-15-2007, 06:23 PM Re: Header Image Clearing In IE!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes, images will 'hold open' a div when the browser window is reduced.

Another way is to use javascript:
http://www.doxdesk.com/software/js/minmax.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Header Image Clearing In IE!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41137 seconds with 12 queries