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.

Table or css for this layout problem

Featured Replies

Hi,

 

I'm figuring out whether to use css or a table to position a cluster of elements - textboxes, dropdowns, and text like the search box on www.coldwellbanker.com

 

Which would you use, why and how?

 

Both routes appear to be fiddly and timeconsuming. or not?....

 

Cheers

Andy

More or less every member on here will tell you to use CSS over tables. Tables in my experience, are usually coded less semantically, are less flexible and are generally considered not the best way of going about doing things. I suggest you look into nesting elements using CSS. It'll be a lot easier for you in the long run.

  • Author

I agree, which is why its bizarre that www.coldwellbanker.com uses a table.

  • Author

Can anyone give me an example.

 

Currently I a div class called cells which are floated left and stack up against each other. Luckily I'm using Visual Studio so I can use the design view to drag and drop the controls into the divs and that's working so far.

 

Did anyone have any other ideas in mind?

I agree, which is why its bizarre that www.coldwellbanker.com uses a table.

 

Thats really just lazy coding , plus it's really badly coded as well - lots of errors

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.