Hello I've seen this layout in certain websites where the page's <body> width and height are fixed to the actual screen or monitor size and when you scroll 'down' or 'up' only the <div> centered inside the <body> scrolls not the <body> itself.
I dunno if anyone can understand my explanation but I want to implement something like that but do not know how and would really appreciate it if someone could help me out.
I use visual studio 2012 with c#.Hello I've seen this layout in certain websites where the page's <body> width and height are fixed to the actual screen or monitor size and when you scroll 'down' or 'up' only the <div> centered inside the <body> scrolls not the <body> itself.
I dunno if anyone can understand my explanation but I want to implement something like that but do not know how and would really appreciate it if someone could help me out.
I use visual studio 2012 with c#.
Page layout
Page 1 of 13 Replies - 890 Views - Last Post: 25 January 2013 - 11:46 AM
Replies To: Page layout
#2
Re: Page layout
Posted 23 January 2013 - 02:36 AM
If you are talking about an image as body background and content scrolling then you need to use the
Regards,
background-attachment:fixedCSS style for the body tag.
Regards,
#3
Re: Page layout
Posted 25 January 2013 - 11:32 AM
Give us an Example of what you're talking about. It could be what maxrock said, or you could be talking about a scrollable div which would be just setting a height of the div and then setting overflow-y:scroll;
#4
Re: Page layout
Posted 25 January 2013 - 11:46 AM
rgfirefly24, on 25 January 2013 - 11:32 AM, said:
Give us an Example of what you're talking about. It could be what maxrock said, or you could be talking about a scrollable div which would be just setting a height of the div and then setting overflow-y:scroll;
Thank you both for your help, i tried maxrock's solution and apparently that was what i was looking for, so problem solved, thanks alot.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote






|