• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Dan @ Wolfe
#1 Posted : Wednesday, April 9, 2008 3:20:55 PM(UTC)
Dan @ Wolfe

Rank: Member

Joined: 8/8/2007(UTC)
Posts: 298

I'm creating a background image to simulate a left column that extends top to bottom of the web pages. That is working fine. But my question pertains to the Cart.aspx, Checkout.aspx and Reicpt.aspx pages. What or how should i do the css to not use the background image on those pages? or specific pages? Is it something i need to add to those pages or can it be done in the css?


Thanks
Dan
[email protected]
#2 Posted : Friday, April 11, 2008 11:48:09 PM(UTC)
gdelorey@mitcs.com

Rank: Member

Joined: 10/11/2006(UTC)
Posts: 162

Thanks: 1 times
Dan -

You need to first assign a body id or class to these pages, then target those in the CSS to not have a background image. For example, on the checkout page you could assign a body id like this:

Code:
<body id="checkoutPage">


Assuming you were assigning the background image to the body, in your CSS you would say:

Code:
body#checkoutPage {background-image: none;}


You can then assign body id's to the other pages you wish to target, and add them to the same declaration:



Code:
body#checkoutPage, body#cartPage, body#receiptPage {background-image:none;}


Hope that helps!

: Greg
Dan @ Wolfe
#3 Posted : Saturday, April 12, 2008 12:13:20 AM(UTC)
Dan @ Wolfe

Rank: Member

Joined: 8/8/2007(UTC)
Posts: 298

Greg:

Thanks, I will play with that, seems like that would work.

One question. Will i need to but the "body id" in the .aspx page somewhere? If So where would be the proper placement?

Thanks
Dan
Matt@9BallDesign
#4 Posted : Saturday, April 12, 2008 9:47:59 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Dan, the checkout section is using the checkout.master file. You can add an id to the master page.

or you could change the containers id's on the master page to be unique and you style from there.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Dan @ Wolfe
#5 Posted : Saturday, April 12, 2008 1:44:47 PM(UTC)
Dan @ Wolfe

Rank: Member

Joined: 8/8/2007(UTC)
Posts: 298

Matt:

Thanks, that helped, i got it doing what i wanted!
Dan
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012