Warning: session_start() [function.session-start]: open(/tmp/sess_1ecc938157eba53d623e02a3e73167cf, O_RDWR) failed: Read-only file system (30) in /home/seoblog1/public_html/wp-content/plugins/comments-captcha.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/seoblog1/public_html/wp-content/plugins/comments-captcha.php:2) in /home/seoblog1/public_html/wp-content/plugins/comments-captcha.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/seoblog1/public_html/wp-content/plugins/comments-captcha.php:2) in /home/seoblog1/public_html/wp-content/plugins/comments-captcha.php on line 2
Long URLs Break Layout «

Long URLs Break Layout

:

Long URLs Break Layout

While setting up a site to display a news RSS feed and I found that Tables don’t handle extra long URLs very well. They stretch the TD cell and break your design. So much for doing markup with tables.

With your markup in CSS you can handle it a bit better.

Here is a long URL that overflows into the right column.

http://www.prweb.com/zingpr.php/UHJvZi1JbnNlLVNpbmctU3F1YS1NYWduLVplc

Here is the same long URL with “overflow: hidden;” applied to the link.

http://www.prweb.com/zingpr.php/UHJvZi1JbnNlLVNpbmctU3F1YS1NYWduLVplc

Even if you layout is using fixed width tables for markup this long URL would cause the TD cell to expand it and it would break your page.

Long URLs Break Layout

Long URLs Break Layout <-- Click to go to the top of the page.

Comments are closed.




Warning: Unknown: open(/tmp/sess_1ecc938157eba53d623e02a3e73167cf, O_RDWR) failed: Read-only file system (30) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0