Forcing vert scrollbar

Homework giving you a headache? Math gives you a migraine? Can't quite figure out how to do something in photoshop? Never fear, the other members of CAA share their expertise in this forum.

Forcing vert scrollbar

Postby Godly Paladin » Fri Feb 08, 2008 11:51 am

I know you're supposed to use this to force a vertical scrollbar,

html { height: 100%; margin-bottom: 1px; }


but I don't know where to put it inside the HTML file. My HTML tag reads:

<html xmlns="http://www.w3.org/1999/xhtml">


Does it go inside the brackets? After? I can't get it to work.
ImageImage
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby Godly Paladin » Fri Feb 08, 2008 11:55 am

Aha! It goes inside your CSS file! Talking out loud works wonders. :lol:
ImageImage
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby Mithrandir » Fri Feb 08, 2008 8:09 pm

Any time you see the curly braces: {} - for online style stuff , you can usually bet that it goes in the CSS. Glad it worked out for you!
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Godly Paladin » Sat Feb 09, 2008 7:11 am

Yeah, I'm new to this so I had no idea.
ImageImage
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 80 guests