hi there... this is a simple website i designed in a few hours for a friend ... now if i saw it on lcd screen it show page on most left side.. if monitor then its ok.. how can i fix it.. how can show page in center ... weather it is viewed on lcd or whtever...thanx
www.jrs.com.pk
see this...
Page view problemwebsite page is not in center..
Page 1 of 1
6 Replies - 532 Views - Last Post: 26 August 2009 - 04:00 AM
Replies To: Page view problem
#2
Re: Page view problem
Posted 25 August 2009 - 06:08 PM
You need to use CSS to center the content, so this has nothing to do with ASP.NET. Moved to HTML & CSS
#3
Re: Page view problem
Posted 25 August 2009 - 06:11 PM
/*CSS to BODY TAG*/
body{
text-align:center;
}
u mean this thing...
body{
text-align:center;
}
u mean this thing...
#4
Re: Page view problem
Posted 25 August 2009 - 06:11 PM
You can also place the <center></center> tag around code... I often do this for primary content, then use the text-align property to justify the text.
#5
Re: Page view problem
Posted 25 August 2009 - 06:14 PM
ok thanx people for such a fast reply:)
#6
Re: Page view problem
Posted 25 August 2009 - 06:14 PM
#7
Re: Page view problem
Posted 26 August 2009 - 04:00 AM
Try to change
to
<div style="z-index: 101; left: 38px; width: 888px; position: relative; top: -2px; height: 973px; text-align: justify;">
to
<div style="z-index: 101; left:0; width: 888px; position: relative; top: -2px; height: 973px; text-align: justify; margin:0 auto">
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote






|