PC Review


Reply
Thread Tools Rate Thread

background image inside table, page not validating

 
 
anon
Guest
Posts: n/a
 
      28th Nov 2005
Hi.

I've got a quick question for you smart folks. I use a background image (just a
color gradient) in a one cell table that I use as my page banner (it is on every
page of my website)

Anyway, when I try to validate my pages they *flunk* because supposedly HTML
4.01 Transitional//EN does not recognise the "background" tag which is inserted
by Frontpage. (as in : background="images/banner2.jpg)

Is there some other tag I should use? I could do a search and replace if I
could figure out what tag is proper but I'm having trouble finding the correct
way to fix this.

Thanks a lot.

 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a
 
      28th Nov 2005
Change it to a style tag:

style="background-image: url('images/banner2.jpg')"


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer




"anon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi.
>
> I've got a quick question for you smart folks. I use a background image
> (just a
> color gradient) in a one cell table that I use as my page banner (it is on
> every
> page of my website)
>
> Anyway, when I try to validate my pages they *flunk* because supposedly
> HTML
> 4.01 Transitional//EN does not recognise the "background" tag which is
> inserted
> by Frontpage. (as in : background="images/banner2.jpg)
>
> Is there some other tag I should use? I could do a search and replace if
> I
> could figure out what tag is proper but I'm having trouble finding the
> correct
> way to fix this.
>
> Thanks a lot.
>



 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      28th Nov 2005
You could try
background-image:url("images/banner2.jpg")
No guarantees, of course

BTW,
There was a missing closing quote in what you wrote - maybe a typo, but just
in case, I thought I would mention it.

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au

anon wrote:
> Hi.
>
> I've got a quick question for you smart folks. I use a background
> image (just a color gradient) in a one cell table that I use as my
> page banner (it is on every page of my website)
>
> Anyway, when I try to validate my pages they *flunk* because
> supposedly HTML
> 4.01 Transitional//EN does not recognise the "background" tag which
> is inserted by Frontpage. (as in : background="images/banner2.jpg)
>
> Is there some other tag I should use? I could do a search and
> replace if I could figure out what tag is proper but I'm having
> trouble finding the correct way to fix this.
>
> Thanks a lot.



 
Reply With Quote
 
anon
Guest
Posts: n/a
 
      28th Nov 2005
In article <e9DV#(E-Mail Removed)>, Steve Easton says...
>
>Change it to a style tag:
>
>style="background-image: url('images/banner2.jpg')"


Thanks to the both of you for your help. I'll try it!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen image inside table of contents !?! =?Utf-8?B?bXNjZXJ0aWZpZWQ=?= Microsoft Word Document Management 6 11th Jun 2006 10:27 AM
Screen image inside table of contents !?! =?Utf-8?B?bXNjZXJ0aWZpZWQ=?= Microsoft Word Document Management 0 9th Jun 2006 12:04 AM
Background image across whole page Lisa A Microsoft Frontpage 7 17th Aug 2005 10:50 AM
Background image in a table...? John Gray Microsoft Frontpage 1 25th Jan 2005 07:03 AM
Unable to place background image inside the cell. JIM Microsoft Frontpage 4 9th Nov 2003 09:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 AM.