467,163 Members | 949 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,163 developers. It's quick & easy.

prevent horizontal scrolling

I have an application that sends HTML emails. The HTML is basically a
template that I provide, but part of the HTML is supplied by the
user. Sometimes the user inadvertently supplies HTML which cause the
the email recipient to have to scroll horizontally to see it. Is
there any tag that I can use in my template to enclose the user HTML
to make sure that doesn't happen? I've tried enclosing it in <table
width="100%"but that doesn't prevent the problem.
Feb 6 '08 #1
  • viewed: 5280
Share:
1 Reply
On 2008-02-06, Jason <Ja************@gmail.comwrote:
I have an application that sends HTML emails. The HTML is basically a
template that I provide, but part of the HTML is supplied by the
user. Sometimes the user inadvertently supplies HTML which cause the
the email recipient to have to scroll horizontally to see it. Is
there any tag that I can use in my template to enclose the user HTML
to make sure that doesn't happen? I've tried enclosing it in <table
width="100%"but that doesn't prevent the problem.
In general, no, apart from a rule like body { overflow: hidden }. Then
they wouldn't be able to scroll, but the missing content would just be
clipped, which would be even worse.
Feb 6 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by mr_burns | last post: by
2 posts views Thread by Just D. | last post: by
14 posts views Thread by Dave | last post: by
reply views Thread by Just D. | last post: by
2 posts views Thread by Eduard | last post: by
2 posts views Thread by seajays@hotmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.