LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2011, 05:19 PM   #1
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Rep: Reputation: 31
CSS background in IE sticks out a few pixels.


On:
http://www.taggboxx.com/sigbox/sigbox.php

There is a picture, id='backPic' name='backPic' that is on a div background (#sigcard).

It works on FF and Chrome, but in IE, the background color stick a few pixels out below the jpg. Any idea why this is?
 
Old 08-16-2011, 06:29 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
You didn't set the doctype. Therefore, this might be the problem:

http://www.quirksmode.org/css/box.html

Also: which versions of IE?

Last edited by dugan; 08-16-2011 at 06:31 PM.
 
1 members found this post helpful.
Old 08-17-2011, 12:37 PM   #3
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Original Poster
Rep: Reputation: 31
not a mistake i should be making. i've got a poor attitude when it comes to windows programs, as if it's their fault and not mine.

thanks.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[HTML/CSS/Javascript] Moving background image dickgregory Programming 2 06-10-2011 06:57 PM
CSS formatted textarea fails w/ transparent background bluegospel Programming 2 04-19-2011 11:03 AM
CSS - Is there a way to put several lines of HTML into one line using CSS? Chronothread Programming 12 01-05-2011 06:06 AM
Strange mouse resolution ? 2 pixels by 2 pixels Creak Linux - General 8 04-18-2004 07:17 PM
Setting Background color using CSS patpawlowski Programming 3 02-25-2004 01:27 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration