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)
-   -   Images displaying differently in Safari (https://vborg.vbsupport.ru/showthread.php?t=191341)

gfxhelp.com 09-19-2008 05:37 PM

Images displaying differently in Safari
 
1 Attachment(s)
I have a background image which has a gradient and then ends on the color #444444. The background color is #444444 so it blends perfectly. It works in IE6/7/8, FF 2/3, Chrome, etc etc, but when viewing the site in Safari on a mac it has color issues. With Safari on windows it works fine, it's only on a mac.

Anyways, attached is a screenshot of what's happening, it shows a FF and Safari next to each other. Is anyone familiar with this issue and have you found a solution? If you have Safari on a mac and want to see what I mean, my site is http://www.GFX-Help.com .

gfxhelp.com 09-19-2008 05:40 PM

1 Attachment(s)
Sorry, forgot the firefox ss...

Lynne 09-19-2008 05:53 PM

For your container, you should have both a background color and a background-image. Look at the css that vb uses for tcat. Notice how there is an image and a color:
HTML Code:

.tcat
{
    background: #869BBF url(../../images/cstyle/blue/tcat.jpg) repeat-x top left;
    color: #FFFFFF;
    font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

There is both a background color and an image. Try putting your color in the container also.
HTML Code:

.container {background-attachment:fixed;background-image:url(images/bblast/header/bg_top.jpg);
background-position:center top;background-repeat:no-repeat;
background-color: #444444
margin:0;padding:0;}


gfxhelp.com 09-19-2008 11:22 PM

it's an issue of safari rendering the images different than other browsers, the container has no bg color and falls back to the background color specified in the body css. Have a look at www.gfx-help.com/test.html this is a simplified test. I believe the issues is related to the way Safari handles color profiles, but I don't know how to fix it.

Lynne 09-20-2008 03:03 AM

Wow, that is bizarre. I never realized that happened!

The only thing I can think of is to make the bg.jpg image just as wide as the by_top.jpg image - you would make it wider by adding in more of the correct background color. (Did that make sense?)


All times are GMT. The time now is 05:42 AM.

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.01016 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete