473,387 Members | 3,801 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,387 software developers and data experts.

Contents Container Background Image not displaying in browser

I am using Visual Studio 2008 to create a vb.net webite and I have created a three column content container however the background image will not display in browser (I have only tested on IE and Firefox). The CSS below actually displays the background image in design view of Visual Studio. I have tried every variation on the path I can think of the get it to display.

Any assistance would be welcomed and appreciated.

Expand|Select|Wrap|Line Numbers
  1. #content-container-BPK-3column 
  2. {
  3.     background:url('/PublicPages/images/bg-three-column-main.png') repeat-y;
  4.     margin-top:3px;
  5.     margin-left:auto;
  6.     margin-right:auto;
  7.     padding:15px;
  8.     width:728px;
  9.     border:1px solid #818181;
  10.     position:relative;
  11.     height: Auto;
  12. }
  13.  
  14. #content-main-BPK-3column 
  15. {
  16.     width:348px;
  17.     float:left;
  18.     text-align: justify;
  19.     height: auto;
  20. }
  21.  
  22. #content-side2-BPK-3column {
  23.     float:right;
  24.     height: 460px;
  25.     width: 162px;
  26. }
  27.  
  28. #content-side1-BPK-3column {
  29.     float:left;
  30.     height: auto;
  31.     text-align: left;
  32.     width: 190px;
  33. }
May 11 '10 #1
3 3053
Dormilich
8,658 Expert Mod 8TB
I think the problem is how browsers read the image URL. relative file paths are followed from the directory the CSS resides in. I’m not sure, though, how your current path is read.
May 11 '10 #2
the same problem is happened with me and i did not found any reason.but if we try to think something,the problem is not of browser but it's machine specific.
when i run the same application on another machine i was little surprised to same that same browser is displaying all images.
if you found any reason why the browser is not able to display images plz post the reply
Sep 19 '10 #3
hi,i am2010 passed out and have a good knowledge of designing web application in asp.net.but i am little bit weak in designing the database.so,can you please suggest me some tips and traps of designing database.
or you can simple tell me,what's your view while designing the database?what should i need to care while designing the database
Sep 19 '10 #4

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

Similar topics

4
by: Mimo Zus | last post by:
I'm hoping that someone can explain what's going on; better yet provide a workaround. I'm designing a centered CSS site based on a 550 pixel wide vertical background image. Onto this background...
5
by: Derek Fountain | last post by:
I have a horizontal navigation bar, which is a single row table containing the right images. It "stretches" itself across the screen using a penultimate td like this: <td width="100%"...
1
by: RJ | last post by:
Hello! I am trying to lay out a left navigation column with a background image, where the left nav column runs the entire scrolled height/length of the page. The float:left column layout works...
3
by: Greg Heilers | last post by:
Hello everyone... If one has a <div> that is completely filled with a background-image; how does one style it so that the image *continues* to fill the <div> top-to-bottom, left-to-right; if...
7
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css...
2
by: Paul W Smith | last post by:
Cam anyone see what is wrong below: Why does the background images not appear???? Paul Smith ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #container {background-color: #fff; color:...
4
by: bissatch | last post by:
Hi, I have launched my new website and having viewing it on the Mac Internet Explorer, have found that it isnt displaying my background-image property. Is this a common bug / occurance? How are...
2
by: Uliana | last post by:
Hi, I cant move image. I have: <fo:block-container absolute-position="absolute" left="0px" top="0px" width="1920px" height="1080px" background-color="transparent" color="transparent">...
5
by: simcom | last post by:
Hi I have seen a few other posts on this forum about this from my seaching, however still cannot find a solution to my issue (probably just me, so if anybody knows where this has been answered...
2
by: thephatp | last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE. I have created a sample page, and I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.