Click here to Skip to main content
15,890,512 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Message Pin
Richard MacCutchan19-Mar-12 3:25
mveRichard MacCutchan19-Mar-12 3:25 
JokeRe: Message Pin
ZurdoDev19-Mar-12 4:40
professionalZurdoDev19-Mar-12 4:40 
GeneralRe: Message Pin
Richard MacCutchan19-Mar-12 4:43
mveRichard MacCutchan19-Mar-12 4:43 
GeneralRe: Message Pin
R. Giskard Reventlov19-Mar-12 12:25
R. Giskard Reventlov19-Mar-12 12:25 
GeneralRe: Message Pin
Vasudevan Deepak Kumar21-Mar-12 9:11
Vasudevan Deepak Kumar21-Mar-12 9:11 
Questionabout select gridview row Pin
sk_ko18-Mar-12 21:54
sk_ko18-Mar-12 21:54 
QuestionCSS Question Pin
Roger Wright16-Mar-12 7:55
professionalRoger Wright16-Mar-12 7:55 
AnswerRe: CSS Question Pin
User 171649218-Mar-12 22:30
professionalUser 171649218-Mar-12 22:30 
Roger, use
CSS
margin: auto;
to the body tag this way you let the browser figure out where it should centre positioned irrespective of the browser window size.

Of course, you could also use
CSS
margin-left: auto; 
margin-right: auto;
to the body tag to get the same effect.

[added]

But if a user has scripting turned off, or the css file is not available for whatever reason, neither will help, but you could effect the same by wrapping the whole of the webpage in a table tag
HTML
<table border="0" align="center"> your webpage content </table>


modified 1-Aug-19 21:02pm.

GeneralRe: CSS Question Pin
Roger Wright22-Mar-12 20:10
professionalRoger Wright22-Mar-12 20:10 
GeneralRe: CSS Question Pin
User 171649223-Mar-12 23:31
professionalUser 171649223-Mar-12 23:31 
QuestionBefore I Try This And Confuse Myself, Please Advise.... Pin
Roger Wright15-Mar-12 19:33
professionalRoger Wright15-Mar-12 19:33 
AnswerRe: Before I Try This And Confuse Myself, Please Advise.... Pin
Mohibur Rashid25-Mar-12 18:42
professionalMohibur Rashid25-Mar-12 18:42 
Questioncss variables Pin
benams15-Mar-12 1:19
benams15-Mar-12 1:19 
AnswerRe: css variables Pin
Gregory Gadow15-Mar-12 6:34
Gregory Gadow15-Mar-12 6:34 
AnswerRe: css variables Pin
Not Active15-Mar-12 8:19
mentorNot Active15-Mar-12 8:19 
AnswerRe: css variables Pin
Anurag Gandhi16-Mar-12 3:07
professionalAnurag Gandhi16-Mar-12 3:07 
QuestionHelp with Google Maps Control for ASP.NET Pin
AhmadMF14-Mar-12 2:53
AhmadMF14-Mar-12 2:53 
QuestionPassing Data Between Pages Pin
ASPnoob13-Mar-12 12:27
ASPnoob13-Mar-12 12:27 
AnswerRe: Passing Data Between Pages Pin
Anurag Gandhi14-Mar-12 22:05
professionalAnurag Gandhi14-Mar-12 22:05 
AnswerRe: Passing Data Between Pages Pin
Gregory Gadow15-Mar-12 6:30
Gregory Gadow15-Mar-12 6:30 
QuestionRUBY??? Pin
Member 84329389-Mar-12 22:44
Member 84329389-Mar-12 22:44 
AnswerRe: RUBY??? Pin
Richard MacCutchan9-Mar-12 23:09
mveRichard MacCutchan9-Mar-12 23:09 
AnswerRe: RUBY??? Pin
trinm198712-Mar-12 15:57
trinm198712-Mar-12 15:57 
QuestionSecurity handshake??? Pin
Roshin Narikkot6-Mar-12 0:32
Roshin Narikkot6-Mar-12 0:32 
AnswerRe: Security handshake??? Pin
Mohibur Rashid7-Mar-12 2:10
professionalMohibur Rashid7-Mar-12 2:10 

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.