Go Back   Novahq.net Forum > Computers > Web design and Programming

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-09-2007, 01:08 PM
GeeFuss is offline GeeFuss
GeeFuss's Avatar
Cardiac

Join Date: Aug 2004
Posts: 3,862

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";}">
did i do the style part wrong?
__________________
Reply With Quote
  #2  
Old 08-09-2007, 01:12 PM
EDGE is offline EDGE
EDGE's Avatar

Join Date: Feb 2003
Location: North Carolina
Posts: 7,184

Send a message via ICQ to EDGE Send a message via AIM to EDGE Send a message via Yahoo to EDGE
align="center - thats all I see wrong with it
__________________
Quote:
Voltaire
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets.
Reply With Quote
  #3  
Old 08-09-2007, 03:19 PM
GeeFuss is offline GeeFuss
GeeFuss's Avatar
Cardiac

Join Date: Aug 2004
Posts: 3,862

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.
__________________
Reply With Quote
  #4  
Old 08-09-2007, 06:45 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

http://www.hitmill.com/html/tables/t...tml#background Google is a wonderful tool
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #5  
Old 08-10-2007, 02:18 AM
GeeFuss is offline GeeFuss
GeeFuss's Avatar
Cardiac

Join Date: Aug 2004
Posts: 3,862

blah. google. i figured i would ask pros here haha.

thx mate. ill look at it in the morning.
__________________
Reply With Quote
  #6  
Old 08-10-2007, 08:20 AM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
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
Reply With Quote
  #7  
Old 08-10-2007, 11:17 AM
GeeFuss is offline GeeFuss
GeeFuss's Avatar
Cardiac

Join Date: Aug 2004
Posts: 3,862

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
__________________
Reply With Quote
  #8  
Old 08-10-2007, 11:57 AM
Capers is offline Capers
Registered User

Join Date: Oct 2003
Posts: 158

Re: bg image?

Quote:
Originally posted by Cardiac
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";}">
did i do the style part wrong?
Yup, you've used an inline style yet you've tried to set the css properties of the body tag.

Change it to:


Code:
<td colspan="11" align="left" valign="top"  style="background-repeat: no-repeat; background-image: 'images/home_17.jpg';">
__________________
Reply With Quote
  #9  
Old 08-10-2007, 08:18 PM
GeeFuss is offline GeeFuss
GeeFuss's Avatar
Cardiac

Join Date: Aug 2004
Posts: 3,862

thanks for explaining . very helpful
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 06:20 AM.




Powered by vBulletin®