|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
bg image?
i want a bg image in a cell of my table. but i dont want it to repeat. i want it vertically aligned at the top/center.
here is what i have: Code:
<td colspan="11" align="left" valign="top" background="images/home_17.jpg" style="body {background-repeat: no-repeat;background-image: "images/home_17.jpg";}">
__________________
|
#2
|
|||
|
align="center - thats all I see wrong with it
__________________
Quote:
|
#3
|
||
|
thats for the content in the cell. all text is left aligned. but the bg image is centered, well actually it doesnt even need to be centered. just needs to be at the top.
__________________
|
#4
|
||
|
http://www.hitmill.com/html/tables/t...tml#background Google is a wonderful tool
|
#5
|
||
|
blah. google. i figured i would ask pros here haha.
thx mate. ill look at it in the morning.
__________________
|
#6
|
||
|
yep - but you may get answers quicker with google
took 5 hours and 45 min - could have had the answer with in 15 if you googled your self lol every one keeps telling people here to use the search function of the forums - I'm going to start telling people to use google hehehe most of the answers I give here to help out others I had to go google for |
#7
|
||
|
yeah. but i wont start working on the template again till tomorrow. so im in no rush.
but yeah ill start using google, but ill still post so you guys can use your knowledge somewhere
__________________
|
#8
|
|||
|
Re: bg image?
Quote:
Change it to: Code:
<td colspan="11" align="left" valign="top" style="background-repeat: no-repeat; background-image: 'images/home_17.jpg';">
__________________
|
#9
|
||
|
thanks for explaining . very helpful
__________________
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Repeating Image and Static BG in same doc? | EDGE | Web design and Programming | 14 | 11-22-2009 10:47 PM |
BG Image in Table | Guest | phphq.Net Forums | 2 | 11-10-2005 04:53 AM |
new BG | ForSaken | Sigs and Graphics | 9 | 04-23-2005 05:27 AM |
bg | Pinpoint | Sigs and Graphics | 7 | 01-03-2004 09:58 AM |
First BG | Matt. | Sigs and Graphics | 4 | 12-15-2003 05:15 PM |