Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Is it possible to have CSS buttons with own background?
Reply
 
Thread Tools
Duminas
Something


Member 29

Level 13.21

Mar 2006


Reply With Quote
Old May 24, 2006, 08:55 PM Local time: May 24, 2006, 05:55 PM #1 of 3
1. Anything can be a "default", you just need define a class, define some properties of said class, then apply the class to any object you want to use the stylings therein.

2. This is possible, though you will need to use empty elements, which I am not that big a fan of. Take, for example, this code (all inline styles to shrink the code):
Code:
<div class="button">
   <p style="display: inline; background: url(left.jpg) no-repeat;"></p>
   <p style="display: inline; background: url(repeat.jpg) repeat-y;">Content</p>
   <p style="display: inline; background: url(right.jpg) no-repeat;"></p>
</div>
The "display: inline" style is to make them stack horizontally. <p> will normally not do so, and due to this it must be forced.

3. That's a sans-serif default font. It appears to be Arial, at 10 point size.

Jam it back in, in the dark.


Need help using an FTP client? Look no further! ««
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Is it possible to have CSS buttons with own background?

Forum Jump


All times are GMT -5. The time now is 03:55 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.