/    Sign up×
Community /Pin to ProfileBookmark

Horizontal Scrolling

How do i make the website scroll horizontally when the screen size is too small instead of pushing everything together

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@Marcus_MaximusauthorSep 26.2007 — I know its bad programming but it pushes the flash buttons and banner over my image border..can i set up the minimum number of pixels wide the page should be before introducing the horizontal scroll bar
Copy linkTweet thisAlerts:
@Marcus_MaximusauthorSep 26.2007 — Works in Firefox only but not IE

[CODE]<style type="text/css">
html {background:url(images/bg_image.jpg) repeat-y 100% 0;background-color:black;min-width: 1050px; }
body {background:url(images/bg_image.jpg) repeat-y 0 0; margin-bottom:-20px; }
#wrapper
{border:0px solid blue; width:auto; height:auto; margin-left:200px; margin-right:200px; height:auto; background-color:black; padding-bottom:20px;}
#wrapper p, h1, h2, h3, h4, h5, h6
{color:white; margin:24px 50px 10px 20px;}

</style>[/CODE]


I added min-width: 1050px; in the HTML section but it doesn't work in Internet explorer. Is there a way to fix this
Copy linkTweet thisAlerts:
@WebJoelSep 27.2007 — min-width: 1050px;[/QUOTE]
[B]* html>{width:1050px;} [/B] [U]I think[/U], feeds the "min-width" values to only-IE, as "width:[I]foo[/I];", -which it understands and obeys.(???)

It's a 'hack'... compliant browsers are supposed to ignore this... (if I [I]wrot eit corr e ctly[/I], -which I have my doubts over..) ?
×

Success!

Help @Marcus_Maximus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...