- This topic is empty.
-
AuthorPosts
-
January 31, 2011 at 2:30 am #31440soapParticipant
This happens when you resize the window to the put where it’s smaller than the content, then scroll over. I’ve noticed it on a lot of sites. It’s basically the background ending.
Just asking because if it’s able to be dealt with then I’d like to deal with it. If not, no biggy. :)
Thanks
January 31, 2011 at 8:07 am #63414SAiNTParticipantyet another problem which would never be faced if people were using tables
January 31, 2011 at 8:23 am #63415Chris CoyierKeymasterIt may be caused by using width: 100% on something. That means “as wide as the viewport” and hence why it ends when you scroll.
January 31, 2011 at 11:29 am #63417sliver37MemberYeah very common problem, and no it’s not unavoidable as far as I know.
Just use a min-width on the body tag (or what ever you have 100% width and the problem is occurring on) equal to (or slightly more than) your page wrap/container.
So if you have the usual 960px width site, with the body repeating 100%, add min-width of, say 1000px on the body for example and the problem will go away.
January 31, 2011 at 5:57 pm #63319soapParticipantAh min-width worked. I don’t use width:100% in many cases and definitely not in this one, but it still did the trick. Strange that I never knew that before. I consider myself a seasoned CSSer. :D
Thanks, dudes!
January 31, 2011 at 7:12 pm #63314noahgelmanParticipantyet another problem which could be solved by not using tables
;)January 31, 2011 at 8:33 pm #63290ozeeMemberI must say, never really seen that happen before, but another easy CSS fix is there to help out!
January 31, 2011 at 8:34 pm #63291soapParticipant@SAiNT it wasn’t actually much of a problem. Very easily fixed. I believe that in using tables you will run into many more problems than that.
February 1, 2011 at 4:21 am #63132SAiNTParticipantsoap, there is nothing more natural and friendly than tables in HTML. :o|
February 1, 2011 at 4:38 am #63133jamygoldenMember@SAiNT Pretty much the whole world disagrees with you.
February 1, 2011 at 9:08 am #63135February 4, 2011 at 4:29 am #62891SAiNTParticipantsliver37, lol, is there a DIV-tricks either?!! :))))
jamy_za, Pretty much the whole world disagrees with you
well, i really hope so, because that’s exactly what makes me right about it. ;-)February 4, 2011 at 7:32 pm #62809TheDocMemberJust to sort of clarify to anyone reading this that is still learning:
There is no way you should be using Tables in the layout of any design. Do not do this. It is terrible practice and will ruin you when you need to accomplish site-wide design changes.
Do not use tables for layout.
@SAiNT – this is not the first time I’ve had to clarify something that you’ve stated to be the truth, please don’t flood the forum with anymore ‘table talk’.February 5, 2011 at 6:40 am #62781SAiNTParticipantwill ruin you when you need to accomplish site-wide design changes.
that is a pure nonsense.
consequently, maybe you should stop flooding the forum with your “anti-tables talk”?ChristopherBurton, unfortunately for you guys, i’m not joking :))
thanks for the link btw.February 5, 2011 at 12:05 pm #62729sliver37MemberWhen you have 100+ pages all using tables, and you need to update a certain aspect of it… Well, good luck with that.
We all have our own preferences, but why do you insist on using such archaic methods? (I’m genuinely curious, I want to understand your reasoning, if you don’t mind.)
By the way TheDoc is not only a moderator, but a ridiculously helpful contributer, if he’s flooding the forum with something, it’s generally worth reading. :P
-
AuthorPosts
- The topic ‘Is this unavoidable?’ is closed to new replies.