Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Help with layout | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Knives Koopa Level: 18 Posts: 75/106 EXP: 26532 For next: 3365 Since: 03-21-04 From: Atlanta Since last post: 176 days Last activity: 83 days |
| ||
Ok I'm making a very simple layout, i want it so when the text goes far enough down it scrolls, and then there's a bg behind the scrolling text, just 1 picture, centered and fixed so when you scroll it doesn't move, just the text does. Know what I mean? So can anyone help me with the code? Link to background image: http://antireality.net/hosted/knives/alkaline-trio-ink.jpg (edited by Knives on 05-07-05 11:54 AM) (edited by Knives on 05-07-05 11:54 AM) |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 4379/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Kinda crappy background, but anyway, I know one thing. For the fixed background, you're looking for the CSS "bgproperties = fixed;". | |||
Ramsus Octoballoon Level: 19 Posts: 61/162 EXP: 34651 For next: 1126 Since: 01-24-05 From: United States Since last post: 39 days Last activity: 71 days |
| ||
<div style="width:300px; height: 200px; border: 1px; background: url('background.jpg') center fixed no-repeat; overflow: auto;"> Text. blah blah blah blah. </div> Just edit something like that to your needs. You can also set offsets for the background to get it exactly where you want it. (edited by Ramsus on 05-07-05 12:04 PM) |
|||
Knives Koopa Level: 18 Posts: 84/106 EXP: 26532 For next: 3365 Since: 03-21-04 From: Atlanta Since last post: 176 days Last activity: 83 days |
| ||
Yeah it's not the best of backgrounds...I'll get a better one, thanks! | |||
Dish Spiny Level: 38 Posts: 399/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||
My $0.02: Avoid scrolling layouts. Browsers already come equipped with vertical scrollbars -- making the user have to flip between using that scrollbar and using your personal scrollbar is a pain (I usually just don't even bother to read the cut off portion of people's posts when they make me scroll). A good layout will stretch and work around the post, regardless of the post's size. The layout should fit the post -- not the other way around. |
|||
Knives Koopa Level: 18 Posts: 85/106 EXP: 26532 For next: 3365 Since: 03-21-04 From: Atlanta Since last post: 176 days Last activity: 83 days |
| ||
oh ok... I'm going to go make an image for my layout, but I'll need someone to help make it all fit right... |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Help with layout | | | |