473,411 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Black as a background colour in internet explorer and safari

I have a black and gray background image - it is basically a completely black background with the word skute on it written in grey. When i view the page in google chrome, firefox and opera the page appears as it should, but in internet explorer and safari the black looks grey and the overall quality/contrast is alot worse. I have tried everything.

thanks in advance.

dee
Nov 5 '12 #1
2 2606
zmbd
5,501 Expert Mod 4TB
Dee,
Would you please post the html/css behind the page? Please remember to format it using the <CODE/> button in the toolbar.
Nov 5 '12 #2
Expand|Select|Wrap|Line Numbers
  1.  
  2. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head runat="server">
  6. <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <style type="text/css">  
  9.         body { margin:0; }  
  10.     </style>
  11.     <title>Limited edition scooter and street wear. Tired of wearing big label, like all the robots? Skute and Sculboi. Different. Dats it.
  12. </title>  
  13. </head>
  14. <body>
  15. <form id="Homepage" runat="server">
  16. <div align="center">
  17. <img id="Image-Maps_homepage" src="Content/themes/base/images/largehomepage.jpg" usemap="#Image-Maps_homepage" border="0" width="592" height="836" alt="Sculboi home page" align="middle" />
  18. <map id="_Image-Maps_homepage" name="Image-Maps_homepage">
  19. <area shape="rect" coords="526,8,576,25" href="http://www.facebook.com/Sculboidesign" target="_Self" alt="Captain Sculboi on Facebook" title="Captain Sculboi on Facebook"    />
  20. <area shape="rect" coords="320,158,411,179" href="ContactUs.aspx" alt="Contact the Sculboi Crew" title="Contact the Sculboi Crew"    />
  21. <area shape="rect" coords="425,158,488,179" href="SculboiCrew.aspx" alt="Check out the Sculboi Crew" title="Check out the Sculboi Crew"    />
  22. <area shape="rect" coords="446,479,554,532" href="SculboiHomePage.aspx" alt="Sculboi limited edition clothing line." title="Sculboi limited edition clothing line."    />
  23. <area shape="rect" coords="449,754,557,808" href="SkuteHomePage.aspx" alt="Skute limited edition clothing line" title="Skute limited edition clothing line"    />
  24. </map>
  25. </div>
  26. </form>
  27. </body>
  28. </html>
  29.  
  30. body 
  31. {
  32. margin: 0px;
  33. padding: 0px;
  34. background-repeat:repeat;
  35. background-color:transparent;
  36. background-image: url("/httpdocs/Content/themes/base/images/transparent_background.jpg");
  37. background-position:center;
  38. }
  39. div
  40. {
  41. background-repeat:repeat;
  42. background-color:black;
  43. z-index:-500;
  44. }
  45.  
  46.  
Nov 6 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ali | last post by:
Hi, I wrote the following code and when I loaded the images as static images my background displayed as black (set at start of code), however, now I've started (trying!) to get my image to move,...
1
by: John D | last post by:
I am trying to change the background colour of either a div or a textarea with javascript, but am having problems. I have passed a hex colour value in the variable hval, and with the following...
6
by: Louise | last post by:
Hi I have written an HTML pages which does not have any colour specifying tags as far I know. When I view this in an Microsoft internet explorer browser it appears with a white background and...
0
by: Yarik | last post by:
Hello, When I open an HTML document by Internet Explorer 6 and then print the document on a color inkjet printer, some of the colors are rendered incorrectly (they appear much darker than they...
4
by: Lachlan Hunt | last post by:
Hi, I'm looking for an interoperable method of determining the current background colour of an element that is set using an external stylesheet. I've tried: elmt.style.backgroundColor; but...
7
by: johnny15 | last post by:
I have used below the following parameters in my stylesheet.This give me a grey background around my tables that contains the sites content. This works fine using Microsoft Internet Explorer but...
2
by: slaterino | last post by:
Hello, I'm hoping someone can help me with a couple of queries. I am in the process of designing a site which I have uploaded to: http://www.cca-ltd.co.uk/New/index.html, but I currently have 2...
0
by: Waqas.L.Khan | last post by:
Hi guys, I have a problem when trying to create an image file. Basically my code takes any file and gets it's system icon using SHGetFileInfo and then saves the file either by converting it into...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
2
by: vinpkl | last post by:
hi all i have two column div structure in which i have applied black background colour to the main div which holds the two columns (left and right divs). In internet explorer 7 the structure...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.