Prevent Text in HTML Modules Getting Cut Off at the Edges

You can exert a lot more control on the look and feel of a web page if you put the text on it in an HTML module rather than typing in directly in a Zone. That's because you can style the text with HTML markup or with CSS styles in an HTML module. There's a tiny little problem with the scheme, though: the text tends to get cut off at the edges. You'll often find the last letter or two in every line partially or completely missing. You can fix the problem by encolsing all the text in the moule inside a padded <div> like this:

<div style="padding: 5px 5px 5px 5px;margin:0px; overflow:visible">

...All the text and HTML goes here...

</div>

It's that easy


Add comment




  Country flag

[b][i][u][quote]
Loading