leiaah
Jun 15 2005, 12:14 PM
| | I wanted to have a button that changes the skin/theme of my site using css and php. I've already had the php code for switching between two different css but I don't know how to put an image background for each cell using css.
Can anyone help me? Sample codes would be nice.  |
Reply
SystemWisdom
Jun 15 2005, 02:35 PM
Some browsers support the background attribute in <TD> tags, but it is not a part of the standard.. meaning it will not validate under HTML4.01 or XHTML.. But that's not what you're looking for... To do the same with CSS you can use the style attribute combined with the 'background-image' property as in: CODE <table> <tr> <td style="background-image: url(relative_path/my_image.gif)">My Cell</td> </tr> </table>
The code above will validate under both HTML 4.01 and XHTML.. I hope that helps!
Reply
badinfluence
Jun 16 2005, 01:10 AM
hey, i cant answer right now yet..but you can have some reference from this sites.. QUOTE hope, find out some 
Reply
Recent Queries:--
css td background style - 0.67 hr back. (1)
-
css background-image td - 12.11 hr back. (1)
-
how to put image in a cell background - 15.31 hr back. (1)
-
css format cell background - 16.92 hr back. (1)
-
how to make images backgrounds in cells - 21.69 hr back. (1)
-
css background swf - 44.65 hr back. (1)
-
css td background-image - 39.63 hr back. (3)
-
can an image be background of a cell - 56.14 hr back. (1)
-
background image td css - 10.22 hr back. (2)
-
background image in td in css - 57.36 hr back. (1)
-
create cell background image - 59.72 hr back. (2)
-
css mouse hover curve image - 70.02 hr back. (1)
-
css background change without refresh - 80.27 hr back. (1)
-
css backgorund image for one cell only - 82.02 hr back. (1)
Similar Topics
Keywords : cell, background, image, css
- Cascading Windows
How do I make the image? (5)
Image Calling Problem Solved
I was having issues trying to call an image from a folder. (1) Alright so this is for example You'd have a site and the structure is like this.
http://www.url.com/ a folder of images /images/ and some pages in this parent directory. However,
I have another folder so it's http://www.url.com/other/ and this index page needs to call
things from http://www.url.com/images/ and it can't. It won't load. I've had the
call be to CODE <img src="images/" or <img src="../images/" and
<img src="http://www.url.com/images/" It doesn't work. I can't....
Image Anywhere
(2) I want to know how to put an image anywhere in the page using HTML/JavaScript. Please Help.....
Ie 6 Display Problem
unexpected background color (5) Hi guys, I have just tested my site with IE6 and there seems to be some rendering problems:
http://www.rosemarysmediation.com/index.php?page=home All of that aqua color should be black as
you can see in firefox. Any help or suggestions would be greatly appreciated. Cheers /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
Image Not Taking The Right Size In Web Page
An image is correct when designed, but not when put in a website (1) When trying to make a web page with a GIF image on it which runs a coloured bar along the top and a
coloured curve along the side, I come across the weird thing that, when I put the image on a web
site, it does not take in the whole top and does not run from top to bottom completely. The image is
made in Adobe Photoshop at a resolution of 1024X768 pixela and looks correct , ie. the horizontal
bit runs completely from left to righ and the vertical bit completely from topright to bottom right,
yet when put in to the web page, it shows with big margins left and right and to....
How Do I Put A Flash Image In My Website
(10) oke i got flash now and i made this button http://www.crazydesign.trap17.com/coolflashthingy.swf
this button i wanne use for my website now my question is, what do i need to put it online do i need
a special code or something,i'm not experienced with this,i heard something about a special code
u need for it,but i dunno wichi'm just used to using tis QUOTE ....
Selecting Specific Part Of Image And Adding Description
Please help (6) Many of you would have noticed that on flickr, there's feature that you can select some part of
the picture (usually there' a small box) and add description for that part when you upload. Can
someone tell me what kind of feature it is, and how it can be made ? im very keen to learn about
that. I have attached the image below, there' you can see the boxes on the picture.. i want to
learn how to make that feature.. please help me. Thanks. Sami. ....
Hoverbox Image Gallery
a pretty cool way to present Images on a page (1) Hoverbox is an Image Gallery which I found some time ago. The feature I like the most about it is
the effect of the "on-hover" state which changes the image from a small thumbnail size to a
"mid-size" image. Essentially, it doubles the size of the picture when your mouse hovers on it. The
Hoverbox uses CSS for the size change and needs no javascript to perform. In fact, it works the same
without javascript. And... it apparently works in IE. The CSS method used includes 'hiding'
the larger image until the 'on-hover' state is reached. As you know, IE....
How Do You Enlarge An Image?
(8) Hey everyone, I need some help on how to make a small image bigger once you click on it. If you
know ebay, then you know what I'm talking about. There are always sample pictures of the
product that the seller is selling. Once you click on the tiny pictures, the tiny picture becomes
larger. Look below... Also, how do you for example..........click on a link, and the
link automactically takes you like half page down to see a picture? The link will not take you to
another page, it wil just take you to a different part of the same page as the link itself....
Making A Scroll Bar In Flash
with an image and words on it (4) does anybody know how to make a scrollbar for my game page I am making on my site. This whole site
is completely in flash. I know how to make a scrollbar for just words but not when there is an
image on there also. Does anybody know?....
Image Galleries
Which one to choose ? (10) As we all must have noticed that the Fantastico section of our trap17 website admin accounts have 3
options for Picture Galleries. 1... 4Images Gallery 2... Coppermine Photo Gallery 3... Gallery
I would like to use one of these, but i am very confused which one to select. Primary selection
criteria would be The Looks and then safety of image files. also ease of adding images (last) So
what do you think which one should I go for ? Cheers....
Image Refresh
(6) Hi all, Does anyone know if there is any way to refresh only an image in a webpage? I can't use
the meta refresh because that would defeat the purpose of this page. If a link to this page is
needed to see what I mean, let me know. I am using layers and they are dragable by visitors and if I
refresh the whole page, the layers get reset. kvarnerexpress....
Syndicated Image Feeds
Need help setting it up and keywords (0) I'd like to offer some of my digital photos as syndicated image feeds, but when I search on that
term, all I get is porn and lottery sites. Maybe I'm calling this the wrong thing. Here's
what I want to do: Offer "picture of the week" images that people can link to, once, but they
update, automatically every week. I can do them all different ways--in web page templates, as
banners, as puzzles (where they see a small part and have to guess what it is), etc. I tried it
out as a dorky table-based template and it works fine. Here's the link, so you can get ....
Great Background Images
Don't miss them! (1) Here it is: http://home.arcor.de/stefun132/Hintergrund/ ....
Great Background Images
Don't miss them! (2) Here it is: http://home.arcor.de/stefun132/Hintergrund/ ....
Avoid Image Download
(6) Hi guys, I am working on a Web page for a photographic center. They want to show photographs but
they do not want people to be able to download it. Because some of these photographs are propietary.
Is that possbile?. Can anyone tell me how can i manage to do that on a Web? thanks in advanced for
your help!! SAC....
Rollover Image Tutorial
(2) make it so that i have a button, probably an opaque one, and when it is scrolled over it displays
another image, a solid one. I believe this is a javascript command, and I already have all the
images set, i just need to know the coding. Thanks for the help.....
Image Splicer?
(1) Ok, question to everybody? Do you know if Photoshop 7 has an included image splicer?...I used to
have PSP and it had a good one, that generated code for a layout, too. I was kinda
wondering...because if not, I really should find a free one online... Which brings me to my next
question...any good splicer/code generator out there, that's free? I really could use one...it
makes things go so much faster...I mean, doing everything in notepad and all. /biggrin.gif'
border='0' style='vertical-align:middle' alt='biggrin.gif' /> Thanks in advance to all repliers,
th....
Move/delete Image On Webpage Automatically?
(2) Hi, Im creating a website that sells carpets and basically ive created webpages with the picture and
checkboxes underneath the pictures so users can select which carpet they want! Once they submit
the form, we get the order including form details! The problem is that once the user checks the
checkboxes, i want to be able to delete that image from that webpage or move that picture to another
location in the folders i have stored on the server. The reason is becuase evry carpet is unique so
that two people cant order the same carpet! Now wat is the best way 2 d....
For Anyone Who Wants To Have Compact Image Gallery
Click here (4) Mini gallery ....
Image Weaver
free flash gallery component (0) I was surfing and came across this, and I love how it looks, but I still dunno how to use it, lol.
Thought I'll share it for those who do. http://imageweaver.buggedcom.co.uk ....
Couple Of Image Minipulations
(7) Couple of nasty pictures ive made from photos which i took. ....
My First Image
(12) Okay i want an opinon on how my first images i have made look. I used fireworksMX to create them.
First Image 2nd image ....
Image hosting site...
(12) I want to setup a simple web hosting site for something to do, but I dont know where to beguin, does
anyone know where I can find a whole site ready made, something you can just edit to your taste and
use? Thank you, cragllo.....
Looking for cell, background, image, css
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for cell, background, image, css
*MORE FROM TRAP17.COM*
|
advertisement
|
|