•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 401,652 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,592 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 21223 | Replies: 4
![]() |
| |
•
•
Join Date: Oct 2003
Location: Franklin, Tennessee
Posts: 185
Reputation:
Rep Power: 5
Solved Threads: 1
the full code for that is:
<td style="background: #ffffff url(graphics.png) left no-repeat;"></td>
If you visit the property table on the w3 website they have a list: http://www.w3.org/TR/CSS21/propidx.html click the individual items on the second column of the background property for samples and a full explanation.
You can omit whatever you want from those values (e.g. the color).
<td style="background: #ffffff url(graphics.png) left no-repeat;"></td>
If you visit the property table on the w3 website they have a list: http://www.w3.org/TR/CSS21/propidx.html click the individual items on the second column of the background property for samples and a full explanation.
You can omit whatever you want from those values (e.g. the color).
•
•
Join Date: Oct 2003
Location: Franklin, Tennessee
Posts: 185
Reputation:
Rep Power: 5
Solved Threads: 1
•
•
•
•
Originally Posted by DaveSW
the full code for that is:
<td style="background: #ffffff url(graphics.png) left no-repeat;"></td>
If you visit the property table on the w3 website they have a list: http://www.w3.org/TR/CSS21/propidx.html click the individual items on the second column of the background property for samples and a full explanation.
You can omit whatever you want from those values (e.g. the color).
That works beautifully! Thanks! I'm placing some nav buttons on top of that background image, and because I've used a drop shadow on it they're off center (but not really..just look it). Within the framework of that data cell is there some way to to position the x factor more precisely so that it looks centered in the main part of the background image?
BuddyB
instead of left you could use:
0px 0px (that's left then top I think)
middle/center (can't remember - check the spec if you want more info on that.)
http://www.w3.org/TR/CSS21/colors.ht...round-position
0px 0px (that's left then top I think)
middle/center (can't remember - check the spec if you want more info on that.)
http://www.w3.org/TR/CSS21/colors.ht...round-position
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple cell cell phones code congress css development div dreamweaver email firefox google checkout google checkout vat gpt guid partition table html html api iphone ipod javascript kernel keynote lg linux macworld mobile news partition phone phones playstation prada ps3 stocks symantec tables technology termination fees touchscreen w3c web wysiwyg xml 500
- html table cell coloring (JSP)
- Extracting data from large SINGLE-table database to MULT-table relational database (MySQL)
- Change left-border of a table cell with javascript (JavaScript / DHTML / AJAX)
- HTML 3.2 table background color (HTML and CSS)
- How do i change scrollers and make my site sutible for all resolutions? (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Rounded Corners?
- Next Thread: creating a pop up window



Hybrid Mode