Reply
Background Image Error using Forms
Old 01-06-2009, 09:03 AM Background Image Error using Forms
Average Talker

Posts: 29
Can someone tell me what happened to the area around the 'Buy Now' button on this page:

http://www.preflopbot.com/purchase.php

It appears that it copied the background image from the top right hand corner.

Thanks,

Jason
bustya is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 01-06-2009, 09:23 AM Re: Background Image Error using Forms
Average Talker

Posts: 29
Here is the CSS code:

#content #sjt div {
margin:1px;
padding:1em 1em 0.2em 1em;
padding-right: 0px;
background:#EBF6FF url(sjt-div-bg.gif) no-repeat right -4px;

Last edited by bustya : 01-06-2009 at 09:36 AM.
bustya is offline
Reply With Quote
View Public Profile
 
Old 01-06-2009, 07:42 PM Re: Background Image Error using Forms
chrishirst's Avatar
Super Moderator

Posts: 19,022
Location: Blackpool. UK
fix the "broken" HTML first

HTML Code:
<html>
<!-- http://www.preflopbot.com/ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-06-2009, 08:43 PM Re: Background Image Error using Forms
Average Talker

Posts: 29
Ty, broken html tag fixed... however the problem is still there.
bustya is offline
Reply With Quote
View Public Profile
 
Old 01-07-2009, 03:54 AM Re: Background Image Error using Forms
chrishirst's Avatar
Super Moderator

Posts: 19,022
Location: Blackpool. UK
you need to get rid of the comment before the DTD as well, it "breaks" the DTD in IE.

split up the background shorthand definition into separate rules.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Background Image Error using Forms
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10572 seconds with 12 queries