Click here to Skip to main content
15,891,431 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralIE8 specific bug - Message subjects don't show Pin
Nish Nishant13-Apr-11 4:26
sitebuilderNish Nishant13-Apr-11 4:26 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Chris Maunder13-Apr-11 5:09
cofounderChris Maunder13-Apr-11 5:09 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Nish Nishant13-Apr-11 5:17
sitebuilderNish Nishant13-Apr-11 5:17 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Dan Neely13-Apr-11 8:01
Dan Neely13-Apr-11 8:01 
GeneralRe: IE8 specific bug - Message subjects don't show [modified] Pin
Chris Maunder13-Apr-11 10:30
cofounderChris Maunder13-Apr-11 10:30 
AnswerRe: IE8 specific bug - Message subjects don't show Pin
Luc Pattyn13-Apr-11 10:47
sitebuilderLuc Pattyn13-Apr-11 10:47 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Chris Maunder13-Apr-11 11:52
cofounderChris Maunder13-Apr-11 11:52 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Luc Pattyn13-Apr-11 12:03
sitebuilderLuc Pattyn13-Apr-11 12:03 
The concept is you pack the whole page in some tag, maybe a div (or a span or whatever suits you), with a class that matches the client's web browser (info gotten from useragent); that is the only change to the page, nothing gets doubled. Your web server just has to add the surrounding div/whatever when it serves the page request. So when the useragent indicates the client is using IE7, you would send:
XML
<html><head>...</head><body>
<div class="IE7">                 -- this is a new line, it varies with the browser
normal page content
</div>                            -- this is the other new line
</body></html>


And then there is a single CSS file that has browser-specific style definitions that refer to the surrounding class when necessary. So it could have
li { ... }
div.IE8 li { ... }
div.IE7 li { ... }
div.FF4 li { ... }

if IE8, IE7, and FF4 were the browsers that would need specialized definitions for li.
So in the CSS file there is some doubling up, which is unavoidable if you want to only have one file. (The alternative is to have one master file, and have the others generated, that was described as plan B).

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: IE8 specific bug - Message subjects don't show Pin
Chris Maunder13-Apr-11 12:08
cofounderChris Maunder13-Apr-11 12:08 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Luc Pattyn13-Apr-11 12:16
sitebuilderLuc Pattyn13-Apr-11 12:16 
GeneralRe: IE8 specific bug - Message subjects don't show [modified] Pin
Luc Pattyn13-Apr-11 13:51
sitebuilderLuc Pattyn13-Apr-11 13:51 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Chris Maunder16-Apr-11 11:52
cofounderChris Maunder16-Apr-11 11:52 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Luc Pattyn16-Apr-11 12:04
sitebuilderLuc Pattyn16-Apr-11 12:04 
QuestionRe: IE8 specific bug - Message subjects don't show Pin
Luc Pattyn16-Apr-11 12:47
sitebuilderLuc Pattyn16-Apr-11 12:47 
AnswerRe: IE8 specific bug - Message subjects don't show Pin
Chris Maunder16-Apr-11 14:22
cofounderChris Maunder16-Apr-11 14:22 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
#realJSOP13-Apr-11 8:33
mve#realJSOP13-Apr-11 8:33 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Chris Maunder13-Apr-11 12:09
cofounderChris Maunder13-Apr-11 12:09 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
#realJSOP14-Apr-11 0:21
mve#realJSOP14-Apr-11 0:21 
GeneralRe: IE8 specific bug - Message subjects don't show Pin
Dan Neely14-Apr-11 2:28
Dan Neely14-Apr-11 2:28 
GeneralObservation: Edits in the Q/A Forum Pin
Slacker00713-Apr-11 1:32
professionalSlacker00713-Apr-11 1:32 
GeneralRe: Observation: Edits in the Q/A Forum Pin
#realJSOP13-Apr-11 2:37
mve#realJSOP13-Apr-11 2:37 
GeneralRe: Observation: Edits in the Q/A Forum Pin
Slacker00713-Apr-11 2:41
professionalSlacker00713-Apr-11 2:41 
GeneralRe: Observation: Edits in the Q/A Forum Pin
Chris Maunder13-Apr-11 5:11
cofounderChris Maunder13-Apr-11 5:11 
GeneralRe: Observation: Edits in the Q/A Forum [modified] Pin
Slacker00713-Apr-11 5:20
professionalSlacker00713-Apr-11 5:20 
GeneralRe: Observation: Edits in the Q/A Forum Pin
#realJSOP13-Apr-11 5:43
mve#realJSOP13-Apr-11 5:43 

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.