IE 6 dont apply width in background url

This is a discussion on "IE 6 dont apply width in background url" within the Web Page Design section. This forum, and the thread "IE 6 dont apply width in background url 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 Feb 1st, 2007, 02:22
New Member
Join Date: Feb 2007
Location: Peru
Age: 27
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
IE 6 dont apply width in background url

hello guys

i am using a menu that use this part of the all code

Code: Select all
#divNav { 
    background: transparent url(bk-nav.jpg) no-repeat top left;
     margin: 0; 
     padding: 0; /* top botom left right*/ 
     height: 80px;
     width: 760px; /**/ 
     border: 1px green solid; /*only for test*/ 
 }
well in FF and Opera works fine if i change as i wish the width value
but in IE no work and always i see the default width of the photo (has a size of 800px), how i can resolve this???

BTW i am using

Code: Select all
<!--[if IE 6]>
<link rel="stylesheet" href="micssmenuIE.css" type="text/css">
<![endif]-->
to avoid problems

thanks for advanced
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 Feb 1st, 2007, 03:53
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE 6 dont apply width in background url

Could you elaborate a little more. I'm confused. A link would be nice, if possible
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Feb 1st, 2007, 06:19
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE 6 dont apply width in background url

Same boat as Ryan, can you post up a link. It is really hard to know what you are talking about without seeing the page. 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
  #4  
Old Feb 1st, 2007, 15:08
New Member
Join Date: Feb 2007
Location: Peru
Age: 27
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE 6 dont apply width in background url

hello

thanks for your reply

the problem is with this link
http://www.alistapart.com/d/hybrid/hybrid-4.html

if you open this link with FF or Opera looks normal and works normal (menu events)
remember that the photo width size is 800px, but for my application i want a size of 760px
so i can change this with the width property width: 760px; /**/ or any number as i wish

here again
Code: Select all
#divNav { 
    background: transparent url(bk-nav.jpg) no-repeat top left; 
    margin: 0; 
    padding: 0; 
    height: 80px; 
    width: 760px; /*width photo - value default was 800px*/ 
    }
i know that the width is really for the conteiner, but i can see how can change the size of the photo

so how i can change the size of the part of the menu??? (orange part charged by default with this)
to see both widths equals?

here
Code: Select all
#nav li.off ul, #nav li.on ul  { /*put the subnav below*/ 
    position: absolute; 
    top: 25px; 
    left: 0; 
    padding-top: 15px; 
    background: #224d6f; 
    height: 28px; 
    width: 700px;     /*740px default */  /*width of the orange part of submenu labels*/ 
    padding-left: 60px; 
 }
lets go, if the link provided was open in IE6
you can see an error in first glance , fixed with this
margin-left: 0; in #nav part

again i can change the size of the submenu part with width: 700px; in
#nav li.off ul, #nav li.on ul section

but i cant change the width in #divNav , always the default 800px of the photo has more preference
that any value of width property

how i can fix this???

again, thanks so much for advanced
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

Tags
background, url

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
Apply transition to a div blkskull JavaScript Forum 0 Feb 26th, 2008 14:00
background image width? charlie019 Web Page Design 2 Aug 6th, 2007 07:31
Can you apply image replacement a ul? rubyfruit Web Page Design 4 Oct 12th, 2006 02:35
apply a style to ALL links EXCEPT... belledumonde Web Page Design 2 Sep 6th, 2006 10:39
Beginning to Apply my skillz... courtjester Classic ASP 7 Apr 5th, 2004 10:18


All times are GMT. The time now is 16:02.


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