CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
[Solved] What the expletive am I doing wrong?
Jon_N
Permalink to comment
#
February 2012
I have two tables that I want next to each other (one on the left, one on the right of the page). I finally got it to work in Firefox but It won't work in IE8 or Safari. What am I doing wrong?
link to tables
TheDoc
Permalink to comment
#
February 2012
You have this:
<div width="400" style="float: left;">
It needs to be this:
<div style="width: 400px; float: left;">
Jon_N
Permalink to comment
#
February 2012
That helps. I got them next to each other. But now they are cutting off on the right hand side in IE8 and Safari.
Jon_N
Permalink to comment
#
February 2012
It looks like increasing the padding did it. Thanks
@TheDoc
Add a Comment
link to tables
It needs to be this: