Click here to Skip to main content
15,898,134 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHow to Construct the Sidebar Menu Like the one at the left in the Codeproject Pin
sajid.salim.khan23-Sep-10 4:45
sajid.salim.khan23-Sep-10 4:45 
QuestionPROBLEM WITH IE8 AND ABOVE BROWSERS Pin
vallu_hari15-Sep-10 20:08
vallu_hari15-Sep-10 20:08 
AnswerRe: PROBLEM WITH IE8 AND ABOVE BROWSERS Pin
R. Giskard Reventlov15-Sep-10 20:35
R. Giskard Reventlov15-Sep-10 20:35 
AnswerRe: PROBLEM WITH IE8 AND ABOVE BROWSERS Pin
Eduard Keilholz22-Sep-10 1:47
Eduard Keilholz22-Sep-10 1:47 
QuestionConvert XML Google Calendar into RSS feed with feed43.com Pin
mundilev14-Sep-10 11:00
mundilev14-Sep-10 11:00 
QuestionVS2003 error Pin
Ajay Kale New13-Sep-10 17:35
Ajay Kale New13-Sep-10 17:35 
Questionre VS2003 error Pin
Ajay Kale New13-Sep-10 17:34
Ajay Kale New13-Sep-10 17:34 
QuestionCSS Image Sprites in IE7 Pin
hxhl957-Sep-10 14:51
hxhl957-Sep-10 14:51 
Hi everyone,

I've got a few icons I'm using sprites for, however they seem to work in every single browser except IE7. My code's very simple:

<div style="display:inline;margin:0 10px">
<a href="javascript:window.print()" title="Print">
Print Page <div class="useicon" style="background-position:0px 0px"></div>
</a>
</div>


My useicon class:

div.useicon {
display:inline;
height:16px;
width:16px;
background:url('../img/icons.gif') no-repeat 0px 0px;
padding:0 8px
}


Now the problem apparently is the display:inline part of that - the sprites just don't show up as long as that div is inline (if I remove display:inline the sprites show up but the thing is I want everything on the same line). Already tried using span instead of div, unfortunately it appears that as long as the object is inline the sprites won't show up.

Any suggestions?

The padding: 0 8px is there to keep the width at 16px, because some browsers completely collapse the div because it's empty even though I've specified width:16px.

Thanks in advance Smile | :)
AnswerRe: CSS Image Sprites in IE7 Pin
Gerben Jongerius8-Sep-10 1:59
Gerben Jongerius8-Sep-10 1:59 
GeneralRe: CSS Image Sprites in IE7 Pin
hxhl958-Sep-10 12:15
hxhl958-Sep-10 12:15 
AnswerRe: CSS Image Sprites in IE7 Pin
jahangir_ahmad12-Sep-10 3:22
jahangir_ahmad12-Sep-10 3:22 
QuestionSending Online Order To Specific Printer Pin
mrutkunas6-Sep-10 7:22
mrutkunas6-Sep-10 7:22 
AnswerRe: Sending Online Order To Specific Printer Pin
Not Active6-Sep-10 9:21
mentorNot Active6-Sep-10 9:21 
GeneralRe: Sending Online Order To Specific Printer Pin
mrutkunas6-Sep-10 16:33
mrutkunas6-Sep-10 16:33 
GeneralRe: Sending Online Order To Specific Printer Pin
Not Active7-Sep-10 0:42
mentorNot Active7-Sep-10 0:42 
AnswerWhat about email ? Pin
David Mujica7-Sep-10 3:33
David Mujica7-Sep-10 3:33 
AnswerRe: What about email ? Pin
Peter_in_278013-Sep-10 19:16
professionalPeter_in_278013-Sep-10 19:16 
QuestionMobile Browser Detection and Redirection... Pin
thebiostyle6-Sep-10 5:02
thebiostyle6-Sep-10 5:02 
AnswerRe: Mobile Browser Detection and Redirection... Pin
NeverHeardOfMe6-Sep-10 5:34
NeverHeardOfMe6-Sep-10 5:34 
Questionjavascript for url redirection Pin
Nikhil Bhivgade5-Sep-10 22:49
professionalNikhil Bhivgade5-Sep-10 22:49 
AnswerRe: javascript for url redirection Pin
Goutam Patra5-Sep-10 23:16
professionalGoutam Patra5-Sep-10 23:16 
GeneralRe: javascript for url redirection Pin
NeverHeardOfMe6-Sep-10 1:19
NeverHeardOfMe6-Sep-10 1:19 
GeneralRe: javascript for url redirection Pin
Goutam Patra6-Sep-10 1:40
professionalGoutam Patra6-Sep-10 1:40 
GeneralRe: javascript for url redirection Pin
NeverHeardOfMe6-Sep-10 1:43
NeverHeardOfMe6-Sep-10 1:43 
GeneralRe: javascript for url redirection Pin
Goutam Patra6-Sep-10 1:48
professionalGoutam Patra6-Sep-10 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.