473,566 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

background picture can't display.

1 New Member
hi,

i am a rookies in ASP.Net(C#). and i am using visual studio 2005
i am creating a webpages.and using CSS, Master page, and Content page
in my CSS ( myStyle.css) i set my background picture as bellow:

Expand|Select|Wrap|Line Numbers
  1. .Column4a
  2. {
  3.     float: right;
  4.     height: 50px;
  5.     font-size: small;
  6.     background-image:url(Images/column1.gif);
  7.     border: solid yellow 1pt;
  8. }
  9.  
at master page( myMaster.page)
<head> tag
[HTML]<link href="myStyle.c ss" rel="stylesheet " type="text/css" />
[/HTML]
and a content page (myContent.page )
it is login secree
and a content page (myHome.page)
it is a blank page for current.

i found several problem in my pages
1.) i added background-image in myCss.css i cannot view the picture in the design at myMaster.page but it can be display while running myContent.page why? is it a problem related to my picture format?

2.) i set several link at myMaster.page it is a hyperlink and linkButton.
once i select any of the linkage, the pictures in myMaster.page will be disappear.

3.) select a hyperlink to other page(myHome click to myContent, without a picture at myMaster.page) it can be go, but i cannot continue to select other page(myHome ) it come out an error.

Problem above is is relevant to my Config file setting?

Please, i really need some guidance from you.
Thank you.

by cccc2046 (CS)
Aug 3 '08 #1
1 1588
acoder
16,027 Recognized Expert Moderator MVP
This is more a .NET problem rather than a CSS one, so I've moved this thread across to the .NET forum for you.

Please remember to use code tags when posting code. It makes the code easier to read. Thanks.

Moderator.
Aug 3 '08 #2

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

Similar topics

23
7699
by: Erik Schulp | last post by:
Hi all, I am using a background image via a stylsheet. I've used this code: background-image:url("/images/tile.gif"); (which I think is correct) The image doesn't show up however, the path, the filename etc etc, everything checks out ok.
8
3743
by: Ron Holmes | last post by:
I want to place a background image on a windows form. Is there a way to prevent the image from Tiling without using an image box resized to the size of the form? I am using Visual Studio 2003 .NET. This is an easy thing to do in VB6.
6
8173
by: Salad | last post by:
Hi: I have a Bill of Lading template from the printer that I saved as a BMP. I created a new report and in the report's picture property told it the BMP file name. It brought the image in just fine. I then placed the fields in the report. Then I previewed the report. The picture resized or something and all of my nice fields were no...
9
2897
by: frizzle | last post by:
Hi there, I have a site where i display all kinds of thumbnails, (all 100 * 100px), the thumbs are links (surprise! ;) ). They link to a page where someone can order the picture. If ordered, a "selected div" is added (via PHP) before the thumbnail. It has to show a small image above the left corner of the thumbnail. Now it works fine in...
1
2861
by: Moridius | last post by:
Hey all. I've encountered a problem fore wich I need a litle help... I have set a reference to a picture on my local disk in a Reports Picture property (I programmaticly set the reference in the Reports "Page" event procedure, because the reference is dynamic and changes with each record that is printed). In this case the argument (a number)...
1
2656
by: simct | last post by:
As part of my learning, I wrote the following codes to display 2 background images side-by-side: <head> <style type="text/css"> .image1 {background-image: url(images/sw1.jpg); background-repeat: no-repeat} .image2 {background-image: url(images/sw2.jpg); background-repeat: no-repeat}
3
8115
by: giladp1 | last post by:
Hi, I noticed that by adding background pictures to my forms the application looks so much more interesting and professional. I want to keep just texture simple backgrounds in order to prevent distractions, but even these make a big diference. I use access 2003 on Win XP I also realize that such pictures cause the application to bloat much....
18
2590
by: LayneMitch | last post by:
Hello. After getting great advice on positioning, I've edited my code and it's looking more stable. Now I need a little assistance with background image placement. Please click on this link: www.ibtestsite.info I've colored the background black and added a background image which is the
11
28621
by: shapper | last post by:
Hello, I am using CSS to apply a background to a header: <h1>Header</h1> h1 {background-color: black;} The problem is that the background color is applied not only to the text but to the full lenght of the h1.
0
7584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8108
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7951
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.