/    Sign up×
Community /Pin to ProfileBookmark

add style sheet

I know that this is beginner’s stuff but I am a beginner and I hope that I use the correct speak!!!.

I have a global CSS but I wish to enable a variable number of images to be located into one page, in response to a viewers actions. I think I need a local style sheet rather than a table ????

I have a dynamic site, customers can select a standard kit (each kit has a dedicated KitID in the D? they can then select a dedicated options page for that kit where they can modify the kits contents – this page displays a text description and the price for each option all located in an Access database which contains text, price and an image address.

Currently the kit Option Page displays whatever options are available and the corresponding price – I now wish to display an image of each option on the same page. Is a style sheet the answer – if so I would like absolute guidance on doing it.

FLR

If the page code is needed I can paste it in!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAApr 13.2009 — A stylesheet only styles existing elements. If you're wanting to add elements dynamically, you'll need to use image tags, relate the src of the image to the query and add the image names to the database.
Copy linkTweet thisAlerts:
@Philbert_JoshuApr 16.2009 — By default, a "style.css" file will be used from your theme when no other styles are defined inside the .info file. Adding other styles is as simple as defining a new 'stylesheets' key with its media property and the name of the style sheet. Keep in mind that defining custom styles will prevent the default "style.css" from loading.
×

Success!

Help @Oakside spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...