2 Replies - 2837 Views - Last Post: 10 July 2012 - 09:48 AM Rate Topic: -----

#1 menukadevinda  Icon User is offline

  • D.I.C Regular

Reputation: -7
  • View blog
  • Posts: 470
  • Joined: 14-April 11

some css is not rendering

Posted 08 July 2012 - 12:10 AM

Hi all,

I am prety new and I think this is my first post in .net


I tried to start a asp.net webform web site with visual studio. visual studio genrate webform template and I tried to change site with my php web site css.

what I do know is I copied all css and image folder to visual studio project and run the site.

most of the parts rendered but some css is not.

.BodyBG{
	background-image:url('../images/bg.jpg');
	background-repeat:repeat-X;
	
	}



relevent html is
 <body topmargin="0" class="BodyBG">
somthing like this.

I dont know why this happend. when I try to reder images using <img> tag it works. but not like above using css.

I know this is not .net issu but I am not familer with visual studio envrironment.

thanks in advance..

Is This A Good Question/Topic? 0
  • +

Replies To: some css is not rendering

#2 batesy3k  Icon User is offline

  • D.I.C Regular

Reputation: 41
  • View blog
  • Posts: 299
  • Joined: 10-September 09

Re: some css is not rendering

Posted 10 July 2012 - 08:53 AM

Is the path to your image correct? Try using browser developer tools to help debug your page - generally it's F12 on the keyboard.

They can show you resources that have been loaded.
Was This Post Helpful? 0
  • +
  • -

#3 menukadevinda  Icon User is offline

  • D.I.C Regular

Reputation: -7
  • View blog
  • Posts: 470
  • Joined: 14-April 11

Re: some css is not rendering

Posted 10 July 2012 - 09:48 AM

Hi when I declare it inline, started to work thanks!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1