Click here to Skip to main content
15,887,821 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: MVC5 - Logoff does not work in Chrome Pin
#realJSOP7-Nov-17 2:47
mve#realJSOP7-Nov-17 2:47 
GeneralRe: MVC5 - Logoff does not work in Chrome Pin
Richard Deeming7-Nov-17 2:53
mveRichard Deeming7-Nov-17 2:53 
GeneralRe: MVC5 - Logoff does not work in Chrome Pin
#realJSOP7-Nov-17 2:59
mve#realJSOP7-Nov-17 2:59 
GeneralRe: MVC5 - Logoff does not work in Chrome Pin
Richard Deeming7-Nov-17 3:03
mveRichard Deeming7-Nov-17 3:03 
GeneralRe: MVC5 - Logoff does not work in Chrome Pin
#realJSOP7-Nov-17 3:01
mve#realJSOP7-Nov-17 3:01 
AnswerRe: MVC5 - Logoff does not work in Chrome Pin
aijaj hussain18-Nov-17 20:09
aijaj hussain18-Nov-17 20:09 
QuestionMVC5 checkbox size (RESOLVED - kinda) Pin
#realJSOP1-Nov-17 2:37
mve#realJSOP1-Nov-17 2:37 
AnswerRe: MVC5 checkbox size Pin
Richard Deeming2-Nov-17 5:53
mveRichard Deeming2-Nov-17 5:53 
In Chrome, Edge and IE11, setting the width and height seems to work:
Edit fiddle - JSFiddle[^]

In Firefox, that makes the input occupy a larger area, but leaves the box the same size.

Earlier browser versions also have problems. The simplest option is probably to create a custom checkbox element, as described on MDN:
Advanced styling for HTML forms - Learn web development | MDN[^]

But that can get quite fiddly, between changing the image sizes and the padding and positioning of the sprite.


Another option would be to use the transform[^] property to scale the element up:
Edit fiddle - JSFiddle[^]

But that then causes it to overlap the surrounding content, so you'd have to add margins to push the siblings out of the way:
Edit fiddle - JSFiddle[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: MVC5 checkbox size Pin
#realJSOP2-Nov-17 8:06
mve#realJSOP2-Nov-17 8:06 
AnswerRe: MVC5 checkbox size Pin
#realJSOP3-Nov-17 3:50
mve#realJSOP3-Nov-17 3:50 
SuggestionRe: MVC5 checkbox size Pin
Richard Deeming3-Nov-17 5:07
mveRichard Deeming3-Nov-17 5:07 
GeneralRe: MVC5 checkbox size Pin
#realJSOP3-Nov-17 6:09
mve#realJSOP3-Nov-17 6:09 
GeneralRe: MVC5 checkbox size Pin
Richard Deeming3-Nov-17 10:02
mveRichard Deeming3-Nov-17 10:02 
GeneralRe: MVC5 checkbox size Pin
#realJSOP3-Nov-17 6:12
mve#realJSOP3-Nov-17 6:12 
JokeRe: MVC5 checkbox size Pin
Richard Deeming3-Nov-17 10:03
mveRichard Deeming3-Nov-17 10:03 
GeneralRe: MVC5 checkbox size Pin
#realJSOP7-Nov-17 4:15
mve#realJSOP7-Nov-17 4:15 
Questionusing javascript in a Firefox browser Pin
classy_dog30-Oct-17 10:49
classy_dog30-Oct-17 10:49 
AnswerRe: using javascript in a Firefox browser Pin
Afzaal Ahmad Zeeshan30-Oct-17 11:14
professionalAfzaal Ahmad Zeeshan30-Oct-17 11:14 
AnswerRe: using javascript in a Firefox browser Pin
Nathan Minier31-Oct-17 1:23
professionalNathan Minier31-Oct-17 1:23 
QuestionCreate a web page to connect to unix server Pin
LuckySas30-Oct-17 4:19
LuckySas30-Oct-17 4:19 
AnswerRe: Create a web page to connect to unix server Pin
Richard MacCutchan30-Oct-17 5:36
mveRichard MacCutchan30-Oct-17 5:36 
QuestionMVC5 posting data to controller Pin
#realJSOP28-Oct-17 6:12
mve#realJSOP28-Oct-17 6:12 
AnswerRe: MVC5 posting data to controller Pin
Nathan Minier30-Oct-17 1:23
professionalNathan Minier30-Oct-17 1:23 
Questionpassing id using@url.Action Pin
svknair26-Oct-17 23:59
svknair26-Oct-17 23:59 
AnswerRe: passing id using@url.Action Pin
Nathan Minier27-Oct-17 1:33
professionalNathan Minier27-Oct-17 1:33 

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.