Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue with Overflow-x? (ScrollBar?)

Featured Replies

Hello,

 

I have used CSS and HTML to make it so that my paragraph has a scroll bar once it reaches a certain height... It works on the most part, but whenever I have a <table> inside of the paragraph, it doesn't work at all... it messing everything up... It just carrys on down the page and doesn't make a scroll bar appear like it does without the table... Here is my CSS:

 

 

 
#BigBottomBox p{ overflow-x: hidden; width: 
400px; height:auto; max-height: 330px; margin-left: 
50px; line-height: 12px;  color: 
#b6a1a3; font-size: 12px; font-family: 
"shruti"; line-height: 120%;}
 

 

Anyone got any ideas?

Edited by HighDarren

  • Author

You can't nest tables inside a <p> element as it can't contain block-level elements.

 

Use a <div> or a block level element instead, here's an example:

 

Lyndsey.

 

Ah fair enough! Thanks for the help Lyndsey! Ill give it a go once I get home and post back if there are any issues :D

 

Ah fair enough! Thanks for the help Lyndsey! Ill give it a go once I get home and post back if there are any issues :D

 

No worries :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.