vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   CSS in IE? (https://vborg.vbsupport.ru/showthread.php?t=165814)

5th-Level 12-21-2007 09:24 PM

CSS in IE?
 
My CSS doesn't show up in Internet Explorer. Anyone ever had this problem?

My CSS:

ADDITIONAL CSS DEFINITIONS:
Code:

.nav_back {
background-image:url(images/perfect/misc/nav_back.gif);
background-repeat:repeat-x;
width: 877px;
height: 43px;
margin: 0px auto;
}

In Templater:
Code:

<div class="nav_back">
CONTENT
</div>


Freesteyelz 12-21-2007 10:02 PM

Try:

Code:

.nav_back {
  width:877px;
  height:43px;
  margin:0px auto;
  background:url(/images/perfect/misc/nav_back.gif) repeat-x top left;
  }


ChU v2 12-21-2007 10:09 PM

Or

Code:

<div id="nav_back">
CONTENT
</div>


Freesteyelz 12-21-2007 10:11 PM

Wouldn't then ID in CSS be: #nav_back and not .nav_back?

5th-Level 12-21-2007 10:19 PM

both didint work

Freesteyelz 12-21-2007 10:29 PM

Then it's not the CSS. Check to see if you're adding the code in the right style and template. Also, check whether the path to your image is correct and that the image has been uploaded.

5th-Level 12-21-2007 10:33 PM

i have done all 3 of your suggestions still no luck

Freesteyelz 12-21-2007 11:55 PM

I just added the exact code in several templates of mine to test it out. It worked all instances in IE and Firefox. I also added: background:#ffffff to the code to see but it didn't make a difference.

What exactly is not showing up? Is it the image or the block (of 877x43) itself?

5th-Level 12-21-2007 11:57 PM

the whole block

let me screenshot

Firefox
http://tinyimg.us/i/arx1198288881e.png

Internet Explorer
http://tinyimg.us/i/bwy1198288922m.png

--------------- Added [DATE]1198295760[/DATE] at [TIME]1198295760[/TIME] ---------------

FIXED

I had comments such as <!-- BLAH --!> which took it out of IE

yea pretty gay

Freesteyelz 12-22-2007 02:15 AM

Hehe. :D


All times are GMT. The time now is 10:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01102 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete